[Pkg-sysvinit-devel] Bug#637054: checkfs.sh should wait for USB disks before checking

jidanni at jidanni.org jidanni at jidanni.org
Sun Aug 7 23:49:29 UTC 2011


Package: initscripts
Version: 2.88dsf-13.11
Severity: wishlist
File: /etc/init.d/checkfs.sh

/etc/init.d/checkfs.sh really should wait for USB disks to mount before
checking. Maybe the Makefile style dependencies are not right.
All I know is I had to put a 'sleep 8' at the top of that file to boot
properly. It's either that or face

  Checking file systems...fsck from util-linux 2.19.1
  fsck.ext3: Unable to resolve 'UUID=c914c362-4b46-48be-afaf-6e061825b2ed'
  fsck died with exit status 8...
  A maintenance shell will now be started. CONTROL-D will terminate...

Here's a dmesg from before I made the workaround, (but it looks the same
afterwards anyway.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.0.gz
Type: application/octet-stream
Size: 12875 bytes
Desc: /var/log/dmesg.0
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110808/ac37d9a4/attachment.obj>
-------------- next part --------------
Yes there is "usb 1-5: device descriptor read/64, error -71" but then it
recovers by itself, however checkfs.sh didn't wait for it.

Or is there a better place I can put my workaround that won't get
overwritten and is low maintenance?
/etc/rc.local is run last. Any earlier counterpart?


More information about the Pkg-sysvinit-devel mailing list