Quoting Martin Pitt ([email protected]):
> I finally understand what's going on. This started a few weeks ago when
> we got lxcfs. What happens:
> 
>  - lxcfs' upstart job and systemd unit have this gem:
>      sed -i "/^lxcfs \/var\/lib\/lxcfs fuse.lxcfs/d" /etc/mtab
>   
>    This will turn /etc/mtab into a file if it was a symlink to /proc/mounts. 
> But these days we actually want it to be a symlink, as /etc/mtab as a static 
> file is just a braindead and broken concept.

init jobs could be updated to do

        [ ! -h /etc/mtab ] && sed -i "/^lxcfs \/var\/lib\/lxcfs
fuse.lxcfs/d" /etc/mtab

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1419623

Title:
  systemd unmounts mounted filesystems when lxcfs is installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1419623/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to