Hello systemd maintainers & Luca, Quoting Mark Hindley (2026-07-13 09:22:49) > On Wed, Jul 01, 2026 at 01:58:30PM +0200, Johannes Schauer Marin Rodrigues > wrote: > > Package: init-system-helpers > > Version: 1.69 > > Severity: normal > > Tags: patch > > > > Hello init-system-helpers maintainers, > > > > currently, systemd-sysv Conflicts with insserv and this was added (see > > #1072562 > > for details) because update-rc.d wrongly runs it even on systems which use > > systemd to boot. I propose the following patch to fix this behaviour and > > prevent insserv from being run on systems which use systemd as init: > > Josch, > > Thanks very much for raising this issue and for the suggested solutions. Your > approach looks technically sound to me. > > I would like to add my support for this change to be accepted. In addition to > your motivation in respect of GNU Hurd, I would like to point out another use > case that would benefit. > > Currently autopkgtests for insserv and dependencies (openrc, startpar) fail > when > run on ci.debian.net. This is because systemd-sysv is already installed in > the ci > testbed cannot be removed: > > [snip] > > Insserv autopkgtest passes when run locally on a testbed without systemd-sysv > installed. > > Fixing update-rc.d behaviour on systemd systems even if insserv is installed > would allow systemd-sysv Conflicts: insserv to be removed, and the insserv and > related autopkgtests would then pass on ci.d.n. > > I appreciate that systemd maintainers have little interest in spending time > and > effort in this area. Accordingly and like Josch, I am happy to offer an NMU > of src:init-system-helpers with this fix.
since there has been no maintainer reply to this bug for two weeks and since there has not been any reaction to my MR on salsa [1] for three months, I'd like to announce to you that I uploaded a NMU of init-system-helpers with maximum delay of 15 days. You can find the debdiff at the end of this email. If you decide to cancel the NMU, please consider also explaining what you think that the proposed changes are breaking or why they are wrong. I am uploading the NMU in good faith and am CC-ing the package maintainer as well as the last uploader explicitly so that they can intervene if necessary. Thanks! cheers, josch [1] https://salsa.debian.org/debian/init-system-helpers/-/merge_requests/33 diff -Nru init-system-helpers-1.69/debian/changelog init-system-helpers-1.69+nmu1/debian/changelog --- init-system-helpers-1.69/debian/changelog 2025-08-15 20:46:44.000000000 +0200 +++ init-system-helpers-1.69+nmu1/debian/changelog 2026-07-27 09:02:23.000000000 +0200 @@ -1,3 +1,11 @@ +init-system-helpers (1.69+nmu1) unstable; urgency=medium + + * Non-maintainer upload. + * Ignore the presence of insserv if system is booting using systemd as init + (Closes: #1141215) + + -- Johannes Schauer Marin Rodrigues <[email protected]> Mon, 27 Jul 2026 09:02:23 +0200 + init-system-helpers (1.69) unstable; urgency=medium * Add postinst to hotfix an upgrade bug on certain newly live-installed diff -Nru init-system-helpers-1.69/script/update-rc.d init-system-helpers-1.69+nmu1/script/update-rc.d --- init-system-helpers-1.69/script/update-rc.d 2023-11-24 13:34:19.000000000 +0100 +++ init-system-helpers-1.69+nmu1/script/update-rc.d 2026-07-27 09:01:29.000000000 +0200 @@ -192,6 +192,10 @@ $insserv = "/sbin/insserv" if ( -x "$dpkg_root/sbin/insserv"); # If insserv is not configured it is not fully installed my $insserv_installed = -x "$dpkg_root$insserv" && -e "$dpkg_root/etc/insserv.conf"; + # Ignore the presence of insserv if this system is using systemd as init + if ($insserv_installed && readlink "$dpkg_root/usr/sbin/init" eq "../lib/systemd/systemd") { + $insserv_installed = 0; + } my @opts; push(@opts, '-f') if $force; # Add force flag if initscripts is not installed
signature.asc
Description: signature

