Public bug reported:

Hi 
on my system (gutsy) I have

/etc/init.d 2:36 <286>% grep /var /proc/mounts
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/sda8 /var ext3 rw,data=ordered 0 0

I have the impression that the doulble mount of /var/lock and /var/run might be 
due to the fact that 
 /var is an extra partition. Actually in the init.d scripts mount commands for 
these occur twice, in mtab.sh and 
mountkernfs.sh. Both check well for existance of the mountpoint, but my guess 
is that the intermediate 
mount of /var inhibits the correct check whence the second attempt is launched 
(mtab.sh?).

I don't think that this is critical, but it could eventually result in some 
service launched twice, since the 
corresponding lock files of the first launch might be hidden. 

I also see the interest of having these two fs mounted as early as possible, 
but then they should be moved away before
a mount of /var and moved to the new location afterwards (or some similar 
acrobacy). 

Thanks
Jens

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
/var/{run|lock} mounted twice
https://bugs.launchpad.net/bugs/163956
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to