[arch-general] Services with DefaultDependencies=no
eschwartz at archlinux.org
Mon Aug 27 16:51:13 UTC 2018
On 8/27/18 8:45 AM, Leonid Isaev via arch-general wrote:
> While going over .service files on my system, I noticed that quite a
> few of them, not belonging to systemd package, contain DefaultDependencies=no
> (DD=no). This is understandable (perhaps) for programs like systemd-journald,
> but what about normal daemons, like rpcbind, haveged and rpc-nfsd? I thought
> that setting DD=no is kind of a hack needed only for special services (e.g.
> called from fstab via x-systemd.requires=). Or am I missing something?
DefaultDependencies=false means it won't get "ensure that the service is
started only after basic system initialization is completed and is
properly terminated on system shutdown." (from the systemd.unit(5) man
Seems like a reasonable thing to want to avoid for programs that are
meant to be started as part of initializing the system.
e.g. you might want RPC daemons running as soon as possible. You most
likely do want haveged running as soon as possible.
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the arch-general