← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1419623] Re: systemd unmounts partitions from fstab

 

Quoting Martin Pitt (martin.pitt@xxxxxxxxxx):
> 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
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1419623

Title:
  systemd unmounts mounted filesystems when lxcfs is installed

Status in lxcfs package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  In Progress

Bug description:
  This seems to have been triggered by the glib update on ubuntu-desktop
  ppa. No partitions from fstab (apart from root of course) are getting
  mounted at boot. This is just a little problematic when /home is on a
  different partition!

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd 218-7ubuntu1 [modified: lib/systemd/system/ifup@.service]
  ProcVersionSignature: Ubuntu 3.18.0-12.13-generic 3.18.4
  Uname: Linux 3.18.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Feb  9 17:30:12 2015
  InstallationDate: Installed on 2012-09-23 (869 days ago)
  InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Alpha amd64(20120922)
  MachineType: Gigabyte Technology Co., Ltd. P67A-UD3R-B3
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.18.0-12-generic root=UUID=71eeb904-068b-41c2-9d34-59365ca4c3ad ro quiet splash init=/lib/systemd/systemd systemd.log_level=debug
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/21/2012
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F9
  dmi.board.name: P67A-UD3R-B3
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9:bd03/21/2012:svnGigabyteTechnologyCo.,Ltd.:pnP67A-UD3R-B3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP67A-UD3R-B3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: P67A-UD3R-B3
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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


References