Re: Why does initrd-parse-etc.service re-start initrd-fs.target?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Dec 6, 2019, at 12:53 PM, Andrei Borzenkov wrote:

> After real root is mounted daemon-reload re-runs fstab generator which
> parses real root /etc/fstab and may pull mount points from it.
> Restarting initrd-fs.target will propagate start request to its (newly
> created) dependent mount units. Otherwise there is no obvious way to
> start them (without explicitly starting each).

Hmm, we mount things from /etc/fstab in the initramfs?  Why would we do that?  I thought they were mounted after the re-execution under the real root, as part of local-fs.target.

I just tested this out on a recent Fedora CoreOS build by dropping a dummy bind mount in /etc/fstab, and I only see it mounted post-switchroot.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux