Bug#870697: Please provide systemd service file which doesn't require the SysV init script

Michael Biebl biebl at debian.org
Fri Aug 4 10:18:16 BST 2017


Package: apparmor
Version: 2.11.0-6+b2
Severity: normal

Hi,

currently apparmor.service is just a wrapper for the SysV init script:

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/init.d/apparmor start
ExecStop=/etc/init.d/apparmor stop
ExecReload=/etc/init.d/apparmor reload


Please provide a native service file which does not rely on the
existence of the SysV init script.
A reasonable approach could be to share common code in helper script that
live in /lib/apparmor and can be called by both the init script and
the service file.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apparmor depends on:
ii  debconf              1.5.63
ii  init-system-helpers  1.49
ii  libapparmor-perl     2.11.0-6+b2
ii  libc6                2.24-14
ii  lsb-base             9.20161125
ii  python3              3.5.3-3

apparmor recommends no packages.

Versions of packages apparmor suggests:
ii  apparmor-profiles        2.11.0-6
pn  apparmor-profiles-extra  <none>
ii  apparmor-utils           2.11.0-6+b2

-- debconf information excluded



More information about the Pkg-systemd-maintainers mailing list