Am 07.08.19 um 18:22 schrieb Michael Biebl: > Package: lintian > Version: 2.17.0 > Severity: wishlist > > Hi, > > I noticed a couple of systemd system services > (files that match /lib/systemd/system/*.{service,socket,...}) > that use > > [Install] > Alias=default.target > > > default.target is only an alias and should not be used for that. > Instead services should either hook into multi-user.target (for the vast > majority this is the right choice) or graphical.target. > > It would be a good idea if lintian would add a warning for this. > I did an archive-wide scan and I found the following services currently doing this: > bootchart2/bootchart.service:WantedBy=default.target > e2fsprogs/e2scrub_reap.service:WantedBy=default.target > gamemode/gamemoded.service:WantedBy=default.target > haveged/haveged.service:WantedBy=default.target > python-pyres/pyres_manager@.service:WantedBy=default.target > python-pyres/pyres_scheduler@.service:WantedBy=default.target > python-pyres/pyres_worker@.service:WantedBy=default.target > python-remotecv/remotecv.service:WantedBy=default.target > sec/sec.service:WantedBy=default.target > thumbor/thumbor.service:WantedBy=default.target > udevil/devmon@.service:WantedBy=default.target > watchdog/watchdog.service:WantedBy=default.target Not too many currently, and I could just file bug reports for them. But it seems better to check for this automatically. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature