Re: Services with DefaultDependencies=no

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



On 8/27/18 8:45 AM, Leonid Isaev via arch-general wrote:
> Hi,
> 
> 	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
page).

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.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux