touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #54701
[Bug 1419623] Re: systemd unmounts partitions from fstab
Tim: Can you please try "sudo systemctl disable cgmanager"? If you have
lxcfs installed, then please disable that as well. Can you then please
reboot a few times and check if everything works then? This worked for
me. (It seems to be cgmanager; lxcfs pulls this in as well, so that one
needs to be disabled too).
Debugging notes: Lennart suggested that the "dead -> mounted" looks
fishy: from systemd itself it would first go to "mounting", and it would
log its "mount" calls too; indeed on a working boot I see:
Feb 11 22:55:59 donald systemd[1]: Installed new job home.mount/start as 49
Feb 11 22:55:59 donald systemd[1]: Installed new job dev-disk-by\x2duuid-f86539b0\x2d3a1b\x2d4372\x2d83b0\x2dacdd029ade68.device/start as 48
Feb 11 22:55:59 donald systemd[1]: Expecting device dev-disk-by\x2duuid-f86539b0\x2d3a1b\x2d4372\x2d83b0\x2dacdd029ade68.device...
Feb 11 22:56:00 donald systemd[1]: dev-disk-by\x2duuid-f86539b0\x2d3a1b\x2d4372\x2d83b0\x2dacdd029ade68.device changed dead -> plugged
Feb 11 22:56:00 donald systemd[1]: Job dev-disk-by\x2duuid-f86539b0\x2d3a1b\x2d4372\x2d83b0\x2dacdd029ade68.device/start finished, result=done
Feb 11 22:56:02 donald systemd[1]: home.mount changed dead -> mounting
Feb 11 22:56:02 donald systemd[1]: home.mount changed mounting -> mounting-done
Feb 11 22:56:02 donald systemd[1]: Job home.mount/start finished, result=done
Feb 11 22:56:02 donald systemd[1]: Child 530 belongs to home.mount
Feb 11 22:56:02 donald systemd[1]: home.mount mount process exited, code=exited status=0
Feb 11 22:56:02 donald systemd[1]: home.mount changed mounting-done -> mounted
Feb 11 22:56:04 donald systemd[1335]: dev-disk-by\x2duuid-f86539b0\x2d3a1b\x2d4372\x2d83b0\x2dacdd029ade68.device changed dead -> plugged
Feb 11 22:56:04 donald systemd[1335]: home.mount changed dead -> mounted
which is how it's supposed to look like; but in the failed case,
something is mounting/unmounting /home (and other fstab partitions)
during early boot. I replaced /bin/mount and /bin/umount with a wrapper
which logs the calls to "mount"; nothing calls umount during boot, and
in the successful case I see systemd doing all the mounts, in the
failing case they are completely missing. That indicates that the other
thing that's messing with the mounts is not calling the binary but the
mount() syscall.
--
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 partitions from fstab
Status in systemd package in Ubuntu:
Confirmed
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/systemd/+bug/1419623/+subscriptions
References