[systemd-devel] [RFC][PATCH] main: ISOLATE rather than REPLACE default.target
Lennart Poettering
lennart at poettering.net
Wed Mar 6 07:30:48 PST 2013
On Tue, 05.03.13 19:29, Lennart Poettering (lennart at poettering.net) wrote:
>
> On Tue, 05.03.13 15:56, Tom Gundersen (teg at jklm.no) wrote:
>
> > This allows switch-root to work correctly if a unit is active both before and
> > after the switch-root, but its dependencies change. Before the patch, any
> > dependencies added to active units by switch-root will not be pulled, in
> > particular filesystems configured in /etc/fstab would not be activated if
> > local-fs.target was active in the initrd.
>
> Yes, this is the intended behaviour of JOB_REPLACE: we will not pull in
> dependencies of units which are satisfied anyway.
> >
> > It is not clear to me if there is a bug in the REPLACE handling, or if it is
> > working as expected and that we really want to use ISOLATE instead as this patch
> > does.
>
> This might make sense to add. Michal, do you have an opinion on this? I
> see no obvious problem with this patch, do you see any?
After checking with Michal I have now merged this patch. Thanks!
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list