Re: systemd and mounting filesystems

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

 



On Tue, 11.10.11 00:03, Lennart Poettering (mzerqung@xxxxxxxxxxx) wrote:

> But anyway, I am aware that not all daemons are netlink aware and we
> need to support that daemons like that and making them more dynamic is
> not realistic in the short term. So what we could do is introduce a new
> target "network-fs-ready.target" or so which is ordered after
> network.target and before all network mounts. You could then simple
> place yourself between network.target and network-fs-ready.target. As
> that's a simple change we could even do that in F16 still.

So I have now added "remote-fs-pre.target" to achieve this. You should
now be able to order your service after "network.target" and before
"remote-fs-pre.target" so that you are run after the network is
configured but before the remote mount points are mounted.

Note that remote-fs-pre.target is a hook you need to pull in yourself,
as we do no pull it in normally (in order to keep the transaction minimal). i.e. you need to write this in your unit:

[Unit]
After=network.target
Before=remote-fs-pre.target
Wants=remote-fs-pre.target

This should appear in F16 soon.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux