[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:13688] Re: ITP: hotplug



早瀬です。

At Tue, 13 Feb 2001 02:23:20 +0900,
Fumitoshi UKAI wrote:
> 
> At Sun, 11 Feb 2001 23:57:47 +0900,
> HAYASE Shigenori <shayase@xxxxxxxxxxxxxxx> wrote:

> >   lintian で,
> >     W: hotplug: script-not-executable ./etc/hotplug/hotplug.functions
> >     N:
> >     N:   This file starts with the #! sequence that marks interpreted scripts,
> >     N:   but it is not executable.
> >     N:
> >   と注意されますが,このファイルは,/sbin/hotplug から
> >     . /etc/hotplug/hotplug.functions
> >   で呼び出されるので,実行属性は必要無いです。
> 
> そういう使い方だけなら #!/bin/bash は必要ないのでは?

まあ,そうなんですが,upstream のファイルがそうなってるので,
そのままにしました。でも,warning が出るのは気持ち悪いので,
次回には #!/bin/bash の前に空行を入れておきます。

> > 気になっていることが一つあります。
> > /sbin/hotplug は /usr が mount されてから実行されるので,
> > policy 的には /usr/sbin/hotplug にすべきでしょうか?
> > kernel は /proc/sys/kernel/hotplug に記述された実行ファイルを呼び出すので,
> > これを書き換えれば対応できるのですが,どのタイミングで書き換えるのがよいか
> > 見当がつきません。
> >   postinst ?
> >   /etc/init.d/hotplug start ?
> > どう対処すれば良いか,ご意見をお聞かせ下さい。
> 
> うーん どのあたりで /usr が必要になってるのかによるかも…

/etc/init.d/hotplug start が走ったあとに /sbin/hotplug が
機能するようになるので,hotplug が有効になる時には,既に
/usr が mount されているとして良いと思います。
(/etc/ini.d のスクリプトが走るのは,/usr が mount された後ですよね。)

> > それから,
> > debian.org へは鵜飼さんに sponsor になって頂くということで
> > お願いしてしまっていいですか?
> 
> ITPはどちらから出すことにしますか?

debian.org のメール全く読んでいないので,鵜飼さんから出して頂けると
助かります。よろしくお願い致します。

-- 
早瀬 茂規 (shayase@xxxxxxxxxxxxxxx)