Re: Proposed MBF: rcS init scripts with no equivalent systemd service file

2015-07-19 Thread Michael Biebl
Hi Felipe,

thanks for working on this!

Am 17.07.2015 um 19:17 schrieb Felipe Sateler:
 [tag] 
 https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html
 , but there are some false positives in this list.

..

 dd-list of affected packages:

This list seems to be incomplete.
It misses at least /etc/init.d/{keyboard,console}-setup.

Any idea why?

Michael

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



signature.asc
Description: OpenPGP digital signature


Re: Proposed MBF: rcS init scripts with no equivalent systemd service file

2015-07-19 Thread Cyril Brulebois
Michael Biebl bi...@debian.org (2015-07-19):
 Am 17.07.2015 um 19:17 schrieb Felipe Sateler:
  [tag] 
  https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html
  , but there are some false positives in this list.
 
 ..
 
  dd-list of affected packages:
 
 This list seems to be incomplete.
 It misses at least /etc/init.d/{keyboard,console}-setup.
 
 Any idea why?

keyboard-configuration (which ships both) is listed on:
  https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html

So I suppose it was considered as a false positive for a false reason. ;)

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: Proposed MBF: rcS init scripts with no equivalent systemd service file

2015-07-19 Thread Felipe Sateler
On 19 July 2015 at 10:38, Cyril Brulebois k...@debian.org wrote:
 Michael Biebl bi...@debian.org (2015-07-19):
 Am 17.07.2015 um 19:17 schrieb Felipe Sateler:
  [tag] 
  https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html
  , but there are some false positives in this list.

 ..

  dd-list of affected packages:

 This list seems to be incomplete.
 It misses at least /etc/init.d/{keyboard,console}-setup.

 Any idea why?

 keyboard-configuration (which ships both) is listed on:
   https://lintian.debian.org/tags/systemd-no-service-for-init-rcS-script.html

 So I suppose it was considered as a false positive for a false reason. ;)

Ehm, yes. The lintian log has entries for amd64 and i386, so I
filtered... and in the process filtered out the arch:all packages :/

New dd-list:

Alastair McKinstry mckins...@debian.org
   console-common

Alexander Wirt formo...@debian.org
   ferm

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
   console-cyrillic
   console-setup (U)
   kbd (U)

Arnaud Fontaine ar...@debian.org
   netenv

Asias He as...@debian.org
   zfs-fuse

Axel Beckert a...@debian.org
   screen

Barak A. Pearlmutter b...@debian.org
   auto6to4

Bastian Blank wa...@debian.org
   gfs2-utils (U)
   lvm2 (U)
   redhat-cluster (U)

Bastian Kleineidam cal...@debian.org
   fiaif

Ben Armstrong sy...@sanctuary.nslug.ns.ca
   eeepc-acpi-scripts (U)

Ben Hutchings b...@decadent.org.uk
   nfs-utils (U)

Benda Xu hero...@gentoo.org
   oss4 (U)

Bernd Schumacher bernd.schumac...@hp.com
   bootcd

Christian Hofstaedtler z...@debian.org
   ipsec-tools (U)

Christian Perrier bubu...@debian.org
   console-common (U)
   console-setup (U)

Christian Seiler christ...@iwakd.de
   open-iscsi (U)

Console utilities maintainers pkg-kbd-de...@lists.alioth.debian.org
   kbd

Daniel Baumann m...@daniel-baumann.ch
   live-config (U)
   live-tools (U)

Darren Salt li...@youmustbejoking.demon.co.uk
   eeepc-acpi-scripts (U)

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 Eee PC Team debian-eeepc-de...@lists.alioth.debian.org
   eeepc-acpi-scripts

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 Install System Team debian-b...@lists.debian.org
   console-setup

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 SELinux maintainers selinux-de...@lists.alioth.debian.org
   selinux-basics

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
   ifscheme
   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)

Jamie Strandboge ja...@ubuntu.com
   ufw

Jan Christoph Nordholz he...@pool.math.tu-berlin.de
   screen (U)

Javier Fernandez-Sanguino Peña j...@debian.org
   ifupdown-extra

Jeremy Lainé jeremy.la...@m4x.org
   ocfs2-tools

Joao Eriberto Mota Filho eribe...@debian.org
   zvbi

Jochen Friedrich joc...@scram.de
   ebtables

Joost van Baal-Ilić joos...@debian.org
   uruk

Jose Calhariz jose.calha...@tagus.ist.utl.pt
   switchconf

Kees Cook k...@debian.org
   apparmor (U)

Liang Guo bluestonech...@gmail.com
   fcoe-utils (U)

Live Systems Maintainers debian-l...@lists.debian.org
   live-config
   live-tools

Marc Haber mh+debian-packa...@zugschlus.de
   ifupdown-scripts-zg2

Martin Loschwitz madk...@debian.org
   gfs2-utils (U)
   redhat-cluster (U)

Matt Grant m...@mattgrant.net.nz
   ipsec-tools (U)

Michael Hanke m...@debian.org
   arno-iptables-firewall

Michael Meskes mes...@debian.org
   hdparm (U)

Michael Schutte mi...@debian.org
   kbd (U)

Michael Tokarev m...@tls.msk.ru
   mdadm (U)

Nico Golde n...@debian.org
   eeepc-acpi-scripts (U)

Noah Meyerhans 

Proposed MBF: rcS init scripts with no equivalent systemd service file

2015-07-17 Thread Felipe Sateler
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