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
[email protected]


[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-maintainers@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 <[email protected]>
   srptools (U)

Anibal Monsalve Salazar <[email protected]>
   nfs-utils (U)
   pidentd
   rpcbind

Anton Zinoviev <[email protected]>
   kbd (U)

Asias He <[email protected]>
   zfs-fuse

Axel Beckert <[email protected]>
   screen

Bastian Blank <[email protected]>
   gfs2-utils (U)
   lvm2 (U)
   redhat-cluster (U)

Ben Hutchings <[email protected]>
   nfs-utils (U)

Benda Xu <[email protected]>
   oss4 (U)

Christian Hofstaedtler <[email protected]>
   ipsec-tools (U)

Christian Seiler <[email protected]>
   open-iscsi (U)

Console utilities maintainers <[email protected]>
   kbd

David Martínez Moreno <[email protected]>
   aoetools

Debian Accessibility Team <[email protected]>
   espeakup

Debian AppArmor Team <[email protected]>
   apparmor

Debian FCoE Maintainers <[email protected]>
   fcoe-utils

Debian HA Maintainers <[email protected]>
   gfs2-utils
   redhat-cluster

Debian iSCSI Maintainers <[email protected]>
   open-iscsi

Debian kernel team <[email protected]>
   nfs-utils

Debian LVM Team <[email protected]>
   lvm2
   multipath-tools

Debian mdadm maintainers <[email protected]>
   mdadm

Debian OSS4 Maintainers <[email protected]>
   oss4

Debian QA Group <[email protected]>
   adjtimex
   ndisc6
   nvi

Debian Virtualbox Team <[email protected]>
   virtualbox

Eric Delaunay <[email protected]>
   scsitools

Frank B. Brokken <[email protected]>
   natlog

Frederik Schüler <[email protected]>
   gfs2-utils (U)
   ocfs2-tools (U)
   redhat-cluster (U)

George Danchev <[email protected]>
   natlog (U)

Gianfranco Costamagna <[email protected]>
   virtualbox (U)

Guido Günther <[email protected]>
   gfs2-utils (U)
   multipath-tools (U)
   redhat-cluster (U)

Guus Sliepen <[email protected]>
   ifupdown
   wireless-tools

Holger Levsen <[email protected]>
   apparmor (U)

intrigeri <[email protected]>
   apparmor (U)

Iustin Pop <[email protected]>
   mt-st

Jacob Luna Lundberg <[email protected]>
   fcoe-utils (U)

Jan Christoph Nordholz <[email protected]>
   screen (U)

Jeremy Lainé <[email protected]>
   ocfs2-tools

Joao Eriberto Mota Filho <[email protected]>
   zvbi

Jochen Friedrich <[email protected]>
   ebtables

Kees Cook <[email protected]>
   apparmor (U)

Liang Guo <[email protected]>
   fcoe-utils (U)

Martin Loschwitz <[email protected]>
   gfs2-utils (U)
   redhat-cluster (U)

Matt Grant <[email protected]>
   ipsec-tools (U)

Michael Meskes <[email protected]>
   hdparm (U)

Michael Schutte <[email protected]>
   kbd (U)

Michael Tokarev <[email protected]>
   mdadm (U)

Noah Meyerhans <[email protected]>
   ipsec-tools (U)

OFED and Debian Developement and Discussion
<[email protected]>
   srptools

Peter De Schrijver (p2) <[email protected]>
   linux-atm

pkg-ipsec-tools team <[email protected]>
   ipsec-tools

Raphael Geissert <[email protected]>
   readahead-fedora

Ritesh Raj Sarraf <[email protected]>
   fcoe-utils (U)
   multipath-tools (U)
   open-iscsi (U)
   virtualbox (U)

Romain Beauxis <[email protected]>
   oss4 (U)

Rémi Denis-Courmont <[email protected]>
   ndisc6

Samuel Thibault <[email protected]>
   espeakup (U)
   oss4 (U)

Sebastien NOEL <[email protected]>
   oss4 (U)

Stephan Sürken <[email protected]>
   gom

Stephen Gran <[email protected]>
   hdparm

Steve Langasek <[email protected]>
   nfs-utils (U)

Thorsten Alteholz <[email protected]>
   setserial

tony mancill <[email protected]>
   natlog (U)

William Dauchy <[email protected]>
   ebtables (U)

Wouter Verhelst <[email protected]>
   nbd

-- 

Saludos,
Felipe Sateler

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to