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 Sun, Dec 8, 2019, at 5:20 PM, Colin Walters wrote:
> 
> 
> 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.

Ah, answering my own question, there's an x-initrd.mount fstab option.
So then, the reason initrd-parse-etc.service does this is to mount any x-initrd.mount fstab mounts?
If so, I'll do a patch to document this.
_______________________________________________
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