[Pkg-sysvinit-devel] Bug#623174: mountkernfs.sh unconditionally mounts /run

Michael Biebl biebl at debian.org
Tue May 10 09:11:20 UTC 2011


Am 09.05.2011 23:40, schrieb rleigh:
> On Mon, May 09, 2011 at 10:56:39PM +0200, chris h wrote:
>> with initscripts 2.88dsf-13.5 from exp and initramfs-tools maks/run
>> there's a new warning during boot:
>> mount: can't find /run in /etc/fstab or /etc/mtab
>>
>> Apparently this is caused by mountkernfs.sh which assumes that it has
>> the authority to mount /run (line 42).
>> With the newer initramfs-tools /run gets moved by the initramfs' init,
>> but this doesn't make it into the mtab, causing the warning.
>>
>> I'm unsure what the correct solution would be...
> 
> You need the patch from #621803 applying to the maks/run branch?
> Or was this already applied?

I can reproduce this issue. I used sysvinit/initscripts 2.88dsf-13.5 and built
initramfs-tools from the maks/run branch (a6167ad4d32f56db89989e40d1863887c199cc61)

During boot I get
mount: can't find /run in /etc/fstab or /etc/mtab
mount: can't find /sys in /etc/fstab or /etc/mtab

and as a consequence
startpar: service(s) returned failure: mountkernfs.sh ... failed!

Output of mount:
/dev/sda6 on / type ext4 (rw,acl,user_xattr,errors=remount-ro,commit=0)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755)
tmpfs on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880,mode=1777)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda7 on /home type ext4 (rw,acl,user_xattr,commit=0)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

/proc/mounts:
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=10240k,nr_inodes=192573,mode=755 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=310960k,mode=755 0 0
/dev/disk/by-uuid/9a6d2bd2-58d1-4a75-baff-166b8637e3cc / ext4
rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,size=5120k,mode=755 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,relatime,size=310960k 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda7 /home ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110510/d178e3d5/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list