[systemd-devel] [RFC][PATCH] main: ISOLATE rather than REPLACE default.target
Harald Hoyer
harald.hoyer at gmail.com
Tue Mar 5 00:15:51 PST 2013
Am 05.03.2013 08:32, schrieb Tom Gundersen:
> On Tue, Mar 5, 2013 at 4:14 PM, Harald Hoyer <harald.hoyer at gmail.com> wrote:
>> Am 05.03.2013 07:56, schrieb Tom Gundersen:
>>> 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.
>>>
>>> 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.
>>
>> I think the idea was to allow service to be started in the initramfs and be
>> active even until the pivot() shutdown.
>>
>> Now, that I think of it, such services can have "IgnoreOnIsolate=yes".
>
> That, or they could simply be enabled in the real root. Depends on the
> service I guess.
>
> -t
>
Not for services, which e.g. enable root over network, or s.th. like mdmon.
More information about the systemd-devel
mailing list