[Pkg-sysvinit-devel] Bug#332309: mounting local filesystems failed on two machines running etch

Johan Laenen gargle at telenet.be
Wed Oct 5 18:39:55 UTC 2005


Package: initscripts
Version:  2.86.ds1-2

Hi,

I'm running Linux toshiba 2.4.24-ck1 #1 SMP Sun Jan 25 16:34:41 CET 2004 
i686 GNU/Linux on an old toshiba satellite 4090CDS and Linux gargle 
2.6.10-20050207 #1 SMP Mon Feb 7 19:06:10 CET 2005 i686 GNU/Linux on my 
desktop.

Both machines show 'Mounting local filesystems... failed' during the 
boot messages. The log files /var/log/messages, /var/log/dmesg, and 
others however do not show this. It's only during the boot. Both 
machines work fine after.

On my toshiba I have:

/etc/fstab:

/dev/hda2        / ext3          defaults        0       1
/dev/hda3        none    swap    sw      0       0
proc  /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  auto  
defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom  /mnt/auto/cdrom  auto  defaults,ro,user,noexec,noauto  0  0

/etc/mtab:

/dev/hda2 / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0

On my desktop I have:

/etc/fstab:

/dev/hda2        / ext3          defaults        0       1
/dev/hda3        none    swap    sw      0       0
none    /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  auto  
defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom      /mnt/auto/cdrom  auto  defaults,ro,user,noexec,noauto  0  0
/dev/hdd        /mnt/cdrom  auto  defaults,ro,user,noexec,noauto  0  0
none   /sys   sysfs   defaults   0  0

/etc/mtab:

/dev/hda2 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0

/etc/bootclean.sh seems to differ between both machines (probably my 
mistake somewhere). A diff between the toshiba version and the desktop 
gives (diff toshiba desktop):

5a6,7
 > . /lib/lsb/init-functions
 > . /etc/default/rcS
9a12
 >     [ -z "$TMPTIME" ] && TMPTIME=0
22c25
<     [ "$VERBOSE" != no ] && echo -n " /tmp"
---
 >     [ "$VERBOSE" != no ] && log_begin_msg "Cleaning /tmp..."
28c31
<     if [ "$TMPTIME" = 0 ]
---
 >     if [ "$TMPTIME" = 0 ]
59,60c62,63
<         find . -xdev $TEXPR $EXCEPT \
<                 ! -depth -type d -print0 | xargs -0r rm -f
---
 >         find . -depth -xdev $TEXPR $EXCEPT \
 >                 ! -type d -print0 | xargs -0r rm -f
62,63c65,66
<         find . -xdev $DEXPR $EXCEPT \
<                 -depth -type d -empty -exec rmdir \{\} \;
---
 >         find . -depth -xdev $DEXPR $EXCEPT \
 >                 -type d -empty -exec rmdir \{\} \;
66a70,71
 >
 >     [ "$VERBOSE" != no ] && log_end_msg 0
76c81
<     [ "$VERBOSE" != no ] && echo -n " /var/lock"
---
 >     [ "$VERBOSE" != no ] && log_begin_msg "Cleaning /var/lock ..."
81a87
 >     [ "$VERBOSE" != no ] && log_end_msg 0
91c97
<     [ "$VERBOSE" != no ] && echo -n " /var/run"
---
 >     [ "$VERBOSE" != no ] && log_begin_msg "Cleaning /var/run ..."
98a105
 >     [ "$VERBOSE" != no ] && log_end_msg 0
112a120,131
 >         # If there are /tmp/.clean files which have not been created
 >         # by root remove them
 >         for cleandir in /tmp /var/run /var/lock; do
 >                if [ -f $cleandir/.clean ] ; then
 >                        [ -x /usr/bin/stat ] && 
cleanuid=`/usr/bin/stat -c %u $cleandir/.clean`
 >                        # Poor's man stat %u, since stat (and /usr) 
might not be
 >                        # available in some bootup stages
 >                        [ -z "$cleanuid" ] && cleanuid=`/bin/find 
$cleandir/.clean -printf %U`
 >                        [ "$cleanuid" -ne 0 ] && rm -f $cleandir/.clean
 >                fi
 >         done
 >
119d137
<     [ "$VERBOSE" != no ] && echo -n "Cleaning"
123d140
<     [ "$VERBOSE" != no ] && echo "."






More information about the Pkg-sysvinit-devel mailing list