Bug#901405: systemd-shim: Please add a sysvinit service to create directories on /run at boot

Felipe Sateler fsateler at debian.org
Tue Jun 12 16:27:20 BST 2018


Package: systemd-shim
Version: 10-3
Severity: normal
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: shim-patches-removal

Hello Debian systemd-shim Maintainers,

The Debian systemd package is currently carrying two debian-specific patches
to enable usage of systemd-shim on Debian systems. In particular, we patch
some code to continue even if /run/systemd/machines/ and /run/systemd/machines/
don't exist[1][2].
These two patches could be avoided if systemd-shim would create the relevant
directories during early boot (sometime in rcS). Therefore we would like for
systemd-shim to provide these directories so we can drop these patches.
If you ship such a SysV init script, please make sure to mask that, so it is
not accidentally run when systemd is the active PID 1 (assuming the SysV init
script is called /etc/init.d/systemd-shim, the symlink would be
/lib/systemd/system/systemd-shim.service → /dev/null).

We intend to drop the patches before buster is released in the not too distant
future. When we do that, we will bump the severity of this bug report to serious.

[1] https://salsa.debian.org/systemd-team/systemd/blob/debian/238-1/debian/patches/debian/Start-logind-on-demand-via-libpam-systemd.patch
[2] https://salsa.debian.org/systemd-team/systemd/blob/debian/238-1/debian/patches/debian/Make-sd_login_monitor_new-work-for-logind-without-sy.patch

Saludos,
Felipe Sateler

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages systemd-shim depends on:
pn  cgmanager     <none>
ii  libc6         2.27-3
ii  libglib2.0-0  2.56.1-2

systemd-shim recommends no packages.

Versions of packages systemd-shim suggests:
pn  pm-utils  <none>


More information about the Pkg-systemd-maintainers mailing list