Comment 23 for bug 250189

Revision history for this message
acacha (sergi-tur) wrote :

I manage to see where is the mount error.

The problem raised at file /etc/rcS.d/S01mounkernfs.sh. This file calls a function called domount

I put some echo lines to debug and some "read CONTINUE" to stop execution....

It seems theres is and Incorrect use of mount when executing:

 mount -n -t tmpfs -omode=0755,nodev,noexec,nosuid /var/run

and

 mount -n -t usbfs -odevgid=127,devmode=664 -onoexec,nosuid,nodev,devgid=127,devmode=664 /proc/bus/usb

and also

 mount -n -t tmpfs -omode=1777,nodev,noexec,nosuid /var/lock

I all this examples seems that DEVNAME parameter is missing.... I read somewhere that /lib/init/mount-functions.sh has changed the number of parameters....

Then I've gone to /etc/init.d and fount two files mountkernfs:

 mountkernfs.sh

and

 mountkernfs.sh.dpkg-dist

It seems that during upgrading, I say NO to reemplacing my modified mountkernfs.sh file (This modification I think that is related with Virtual Vox if I remember well). I found that at upgrade log:

 $ sudo cat /var/log/dist-upgrade/apt-term.log | grep mount

My solution:

 $ cd /etc/init.d
 $ sudo mv mountkernfs.sh.dpkg-dist mountkernfs.sh