[systemd-devel] WantedBy=default.target

Michael Biebl mbiebl at gmail.com
Thu Mar 7 10:31:18 UTC 2019


Am Do., 7. März 2019 um 11:24 Uhr schrieb Lennart Poettering
<lennart at poettering.net>:
>
> On Do, 07.03.19 10:30, Michael Biebl (mbiebl at gmail.com) wrote:
>
> > Looks like quite a few services use
> > WantedBy=default.target
> > https://codesearch.debian.net/search?q=WantedBy%3Ddefault.target
> >
> > Some of them are user services, but I wonder if there is
> > recommendation regarding system services.
> > Should they use multi-user.target or graphical.target instead or is it
> > ok for system services to hook into default.target?
>
> Usually doing this for system services is wrong, but there are
> exceptions.

[..]

> It might make sense to extend "systemd-analyze" in some form to warn
> about this, maybe file an RFE bug about that?

I was considering filing a lintian bug, which would check debian
packages automatically for this.
Do we have documentation for this where I could point the lintian maintainer at?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list