Mailinglist Archive: opensuse-bugs (6143 mails)

< Previous Next >
[Bug 1056726] systemd doesn't pick up all new mount points after fstab update
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 18 Apr 2018 14:04:17 +0000
  • Message-id: <bug-1056726-21960-YavkaLqClO@http.bugzilla.novell.com/>
http://bugzilla.novell.com/show_bug.cgi?id=1056726
http://bugzilla.novell.com/show_bug.cgi?id=1056726#c7

--- Comment #7 from Franck Bui <fbui@xxxxxxxx> ---
(In reply to Martin Wilck from comment #0)

The script first creates partitions, then fstab entries, runs "systemctl
daemon-reload" after every fstab change, the creates file systems. It's
expected that these file systems are automatically mounted by systemd.


I haven't looked at the details so I may be missing the whole point but it
seems to me that you made a wrong assumption here.

"systemctl daemon-reload" won't start automatically mount units that it just
created.

IIRC, mount units are only started automatically if:

- they're pulled in via dependencies

- the device the mount unit references (via What= option) has been plugged and
the mount unit is known by systemd at that time.

I can't think to another possibility.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >