Hi all, I'd like to file bugs (severity: important) on packages that ship an init script that installs into runlevel S, but do not provide a systemd service for it. I plan to use the init-rcs-service [usertag] to record all filed bugs.
=== BEGIN TEMPLATE === Hi, Your package has an initscript that is enabled in runlevel S, but it does not provide a corresponding systemd service unit. Systemd generates units for all sysv init scripts that do not have a corresponding systemd unit. By default, it sets DefaultDependencies=yes, which means they get ordered after early boot. The problem is that to preserve the runlevel S semantics, systemd in debian is currently[1] ordering all S services Before=sysinit.target. This target is particularly early in the boot sequence, which means that it is most of the time too strict. In turn, this means it is fairly easy to end up with dependency cycles. For an example, see bug [763315]. Do note that the cycle still exists with sysvinit, it is just that systemd complains more loudly. The solution is straightforward: create a systemd unit for the given service with the appropriate dependencies, which most of the time will be less strict than Before=sysinit.target. In other cases, the script is simply not applicable in systemd (eg, if the units are named differently), in which case the package should ship a symlink to /dev/null as /lib/systemd/system/<initscript>.service. If you have any other doubts, feel free to ask in pkg-systemd-maintain...@lists.alioth.debian.org [1] http://sources.debian.net/src/systemd/222-2/debian/patches/Add-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch/ [763315] https://bugs.debian.org/763315 === END TEMPLATE === I have used the new lintian systemd-no-service-for-init-rcS-script [tag] to compile a list of packages that are affected. Some maintainers are already aware of the problem. If you are working on this and prefer not to have a bug filed, or there is already one filed, please let me know. AFAIK setserial is the only one that has a bug already filed [786976]. [usertag] https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=pkg-systemd-maintain...@lists.alioth.debian.org;dist=unstable;tag=init-rcs-service [tag] https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html , but there are some false positives in this list. [786976] https://bugs.debian.org/786976 dd-list of affected packages: Ana Beatriz Guerrero Lopez <a...@debian.org> srptools (U) Anibal Monsalve Salazar <ani...@debian.org> nfs-utils (U) pidentd rpcbind Anton Zinoviev <zinov...@debian.org> kbd (U) Asias He <as...@debian.org> zfs-fuse Axel Beckert <a...@debian.org> screen Bastian Blank <wa...@debian.org> gfs2-utils (U) lvm2 (U) redhat-cluster (U) Ben Hutchings <b...@decadent.org.uk> nfs-utils (U) Benda Xu <hero...@gentoo.org> oss4 (U) Christian Hofstaedtler <z...@debian.org> ipsec-tools (U) Christian Seiler <christ...@iwakd.de> open-iscsi (U) Console utilities maintainers <pkg-kbd-de...@lists.alioth.debian.org> kbd David Martínez Moreno <en...@debian.org> aoetools Debian Accessibility Team <debian-accessibil...@lists.debian.org> espeakup Debian AppArmor Team <pkg-apparmor-t...@lists.alioth.debian.org> apparmor Debian FCoE Maintainers <pkg-fcoe-gene...@lists.alioth.debian.org> fcoe-utils Debian HA Maintainers <debian-ha-maintain...@lists.alioth.debian.org> gfs2-utils redhat-cluster Debian iSCSI Maintainers <pkg-iscsi-maintain...@lists.alioth.debian.org> open-iscsi Debian kernel team <debian-ker...@lists.debian.org> nfs-utils Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org> lvm2 multipath-tools Debian mdadm maintainers <pkg-mdadm-de...@lists.alioth.debian.org> mdadm Debian OSS4 Maintainers <pkg-oss4-maintain...@lists.alioth.debian.org> oss4 Debian QA Group <packa...@qa.debian.org> adjtimex ndisc6 nvi Debian Virtualbox Team <pkg-virtualbox-de...@lists.alioth.debian.org> virtualbox Eric Delaunay <delau...@debian.org> scsitools Frank B. Brokken <f.b.brok...@rug.nl> natlog Frederik Schüler <f...@debian.org> gfs2-utils (U) ocfs2-tools (U) redhat-cluster (U) George Danchev <danc...@spnet.net> natlog (U) Gianfranco Costamagna <costamagnagianfra...@yahoo.it> virtualbox (U) Guido Günther <a...@sigxcpu.org> gfs2-utils (U) multipath-tools (U) redhat-cluster (U) Guus Sliepen <g...@debian.org> ifupdown wireless-tools Holger Levsen <hol...@debian.org> apparmor (U) intrigeri <intrig...@debian.org> apparmor (U) Iustin Pop <ius...@debian.org> mt-st Jacob Luna Lundberg <ja...@gnifty.net> fcoe-utils (U) Jan Christoph Nordholz <he...@pool.math.tu-berlin.de> screen (U) Jeremy Lainé <jeremy.la...@m4x.org> ocfs2-tools Joao Eriberto Mota Filho <eribe...@debian.org> zvbi Jochen Friedrich <joc...@scram.de> ebtables Kees Cook <k...@debian.org> apparmor (U) Liang Guo <bluestonech...@gmail.com> fcoe-utils (U) Martin Loschwitz <madk...@debian.org> gfs2-utils (U) redhat-cluster (U) Matt Grant <m...@mattgrant.net.nz> ipsec-tools (U) Michael Meskes <mes...@debian.org> hdparm (U) Michael Schutte <mi...@debian.org> kbd (U) Michael Tokarev <m...@tls.msk.ru> mdadm (U) Noah Meyerhans <no...@debian.org> ipsec-tools (U) OFED and Debian Developement and Discussion <pkg-ofed-de...@lists.alioth.debian.org> srptools Peter De Schrijver (p2) <p...@mind.be> linux-atm pkg-ipsec-tools team <pkg-ipsec-tools-de...@lists.alioth.debian.org> ipsec-tools Raphael Geissert <geiss...@debian.org> readahead-fedora Ritesh Raj Sarraf <r...@debian.org> fcoe-utils (U) multipath-tools (U) open-iscsi (U) virtualbox (U) Romain Beauxis <to...@rastageeks.org> oss4 (U) Rémi Denis-Courmont <r...@remlab.net> ndisc6 Samuel Thibault <sthiba...@debian.org> espeakup (U) oss4 (U) Sebastien NOEL <sebast...@twolife.org> oss4 (U) Stephan Sürken <abs...@debian.org> gom Stephen Gran <sg...@debian.org> hdparm Steve Langasek <vor...@debian.org> nfs-utils (U) Thorsten Alteholz <deb...@alteholz.de> setserial tony mancill <tmanc...@debian.org> natlog (U) William Dauchy <wdau...@gmail.com> ebtables (U) Wouter Verhelst <wou...@debian.org> nbd -- Saludos, Felipe Sateler -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAAfdZj-DHNSXrNNenCC_piPSYKd=0hrqevwwkvezfppmm6v...@mail.gmail.com