The problems manifests itself during the executing of /lib/init/mount-
functions.sh near line 110.
if [ ! -d "$MTPT" ]
then
log_warning_msg "Mount point '$MTPT' does not exist. Skipping
mount."
return
fi
I checked with adding various ls -ld that the /dev/shm and /dev/pts do
not exists. However they exist later. I managed to "fix" the issue by
creating the missing /dev/shm and /dev/pts directories if they do not
exist. Obviously the fix is ugly hack.
if [ "/dev/shm" = "$MTPT" ]
then
echo Trying to create missing /dev/shm
mkdir /dev/shm
elif [ "/dev/pts" = "$MTPT" ]
then
echo Trying to create missing /dev/shm
mkdir /dev/pts
else
So the /dev at this point of booting must be different than the /dev
that's there later? You need need to recreate the missing directories on
each reboot so maybe it's initrd related?
jar...@gandalf:~$ mount
/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
securityfs on /sys/kernel/security type securityfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda1 on /boot type ext3 (rw,relatime)
/dev/sda6 on /home type xfs (rw,relatime)
tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
nfsd on /proc/fs/nfsd type nfsd (rw)
--
/dev/pts and /dev/shm not mounted on boot
https://bugs.launchpad.net/bugs/321927
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs