* Roger Leigh <rle...@codelibre.net>, 2012-11-08, 22:32:
Would it be possible to debug this in a bit more detail on your system? /lib/init/bootclean.sh's clean function must be failing all these checks:

Thu Nov  8 12:17:30 2012: Cleaning up temporary files....
Thu Nov  8 12:17:30 2012: BEFORE BOOTMISC: [ .tmpfs dhclient.eth0.pid initctl 
initramfs lock mount network sendsigs.omit.d shm udev utmp ]
Thu Nov  8 12:17:30 2012: AFTER BOOTMISC: [ dhclient.eth0.pid initctl initramfs 
lock mount network sendsigs.omit.d shm udev utmp ]
Thu Nov  8 12:17:31 2012: Setting up X socket directories... /tmp/.X11-unix 
/tmp/.ICE-unix.
Thu Nov  8 12:17:31 2012: BEFORE MOUNTALL-BOOTCLEAN: [ dhclient.eth0.pid 
initctl initramfs lock mount network sendsigs.omit.d shm udev utmp ]
Thu Nov  8 12:17:31 2012: Cleaning up temporary files... /tmp /lib/init/rw /run 
/run/lock /run/shm.
Thu Nov  8 12:17:31 2012: AFTER MOUNTALL-BOOTCLEAN: [ .clean initramfs lock 
mount network sendsigs.omit.d shm udev utmp ]
Thu Nov  8 12:17:31 2012: INIT: Entering runlevel: 2

(This is on a VM on which I had to impose a sleep to make the bug trigger. However, the bug also triggers naturally on my development machine, which I can't reboot right know, though I'm pretty sure the cause is the same there.)

As I understand it, bootmisc is supposed to be run _after_ mountall-bootclean, though this order doesn't seem to be enforced in any way.

So it's looking like we may be just missing a dependency here, so the bug would be present all the time, but the parallelism is exposing it more frequently.

Would be worth checking the /etc/init.d/depend files and running /usr/share/insserv/make-testsuite to see exactly where bootmisc is being placed in the depdendency graph. The intention is that this won't run until after mountall-bootclean. I /think/ that the $remote_fs is supposed to ensure this, but this might not be good enough.

Note that $remotefs contains only mountnfs-bootclean, not mountall-bootclean.

Maybe we need to add mountall_bootclean to $local_fs,

s/_/-/, this fixed the bug for me.

or add X-Start-Before: bootmish.sh to mountall_bootclean.

With s/mish.sh/misc/, this works for me too. Thanks.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to