Comment # 7 on bug 1056726 from
(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: