Public bug reported:

Binary package hint: sysvinit

For sometime I noticed that a bunch of mounts were done multiple times
for no apparent reasons.

A quick look in /etc/init.d did show that several scripts are invoking domount 
on /var/run and /var/lock,
but domount as provided does not check if the mountpoint is already mounted.

The result is something like this:

[EMAIL PROTECTED]:/lib/init$ mount |grep tmpfs |grep var
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)

one set of mount for each time domount is invoked.

Fabio

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/lib/init/mount-functions.sh: domount does not check if a mountpoint is already 
in use
https://bugs.launchpad.net/bugs/144363
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