[pkg-wpa-devel] Bug#487489: /sbin/wpa_cli: wpa_cli unusable after reboot, possibly insserv related

Sven Joachim svenjoac at gmx.de
Fri Jul 18 08:10:44 UTC 2008


On 2008-06-25 19:09 +0200, Petter Reinholdtsen wrote:

> [Andrei Popescu]
>> Attached
>
> Thank you.  Reading the boot sequence, I see nothing obviously wrong
> with it.  When exactly is the network interfaces configured?  It need
> to be done by init.d/networking, and not by udev events, because
> /var/run/ is not writable when udev is executed.
>
> The only issue that can be problematic, is this one from rcS.d/:
>
>> S14networking
>> S15mountnfs.sh
>> S15shorewall
>> S16mountnfs-bootclean.sh

And there's also S13bootmisc.sh which leads to /var/run being cleaned by
S16mountnfs-bootclean.sh, see #491059.  This could mess up things quite
badly, especially if /etc/network/run is a symlink to /var/run.

Andrei, can you please run the commands

sed -i -e 's/local/remote/' /etc/init.d/bootmisc.sh
insserv

and see if things get better after a reboot?

> Does shorewall require a mounted /usr/?  If so, it should depend on
> $remote_fs and end up after mountnfs-bootclean, not imediately after
> networking and in parallel with mountnfs.sh.  But it seem hardly
> relevant to your problem.

Maybe not, but the shorewall init script should be changed as it
accesses stuff under /usr/share.

Cheers,
       Sven



More information about the Pkg-wpa-devel mailing list