x-systemd.automount causes system to fail to boot

Bug #1617512 reported by Nazar Mokrynskyi on 2016-08-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)

Bug Description

I've changed /etc/fstab mount line from:
UUID=78fc6e4d-9a37-406d-9bde-449fd8595373 /media/Data ext4 relatime 0 1
UUID=78fc6e4d-9a37-406d-9bde-449fd8595373 /media/Data ext4 noauto,x-systemd.automount,relatime 0 1

Now system fails to boot, in logs I see:
systemd[1]: Starting of media-Data.automount not supported.
systemd[1]: Dependency failed for Local File Systems.
systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
systemd[1]: Started Emergency Shell.
systemd[1]: Reached target Emergency Mode.

While according to http://manpages.ubuntu.com/manpages/xenial/man5/systemd.mount.5.html it should work.

I'm on Xenial as of today.

description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in systemd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers