Devuan bug report logs - #723
init-system-helpers: update-rc.d calls systemctl on a SysVinit system, creating a recursion

version graph

Package: systemctl-service-shim; Maintainer for systemctl-service-shim is B. Stack <bgstack15@gmail.com>; Source for systemctl-service-shim is src:systemctl-service-shim.

Reported by: wolfgang@leila.ping.de (Wolfgang Wegner)

Date: Sun, 13 Nov 2022 18:08:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 0.0.7

Done: dak@devuan.org

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: dak@devuan.org
Subject: bug#723: marked as done (init-system-helpers: update-rc.d calls
 systemctl on a SysVinit system, creating a recursion)
Message-ID: <handler.723.D723.171462114823989.ackdone@bugs.devuan.org>
References: <1714621065.892496.7165.nullmailer@dak.localnet.devuan.org>
 <20221112202017.GC7301@leila.ping.de>
X-Devuan-PR-Message: closed 723
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: moreinfo
X-Devuan-PR-Source: systemctl-service-shim
Reply-To: 723@bugs.devuan.org
Date: Thu, 02 May 2024 03:40:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1714621201-24035-0"
[Message part 1 (text/plain, inline)]
Your message dated Thu, 02 May 2024 03:37:45 +0000
with message-id <1714621065.892496.7165.nullmailer@dak.localnet.devuan.org>
and subject line #723: fixed in src:systemctl-service-shim version 0.0.7
has caused the Devuan bug report #723,
regarding init-system-helpers: update-rc.d calls systemctl on a SysVinit system, creating a recursion
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
723: https://bugs.devuan.org/cgi/bugreport.cgi?bug=723
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: wolfgang@leila.ping.de (Wolfgang Wegner)
To: submit@bugs.devuan.org
Subject: init-system-helpers: update-rc.d calls systemctl on a SysVinit system, creating a recursion
Date: Sat, 12 Nov 2022 21:20:17 +0100
Package: init-system-helpers
Version: 1.65.2devuan1
Severity: normal
X-Debbugs-Cc: wolfgang@leila.ping.de

Dear Maintainer,

I am trying to install a package which expects SystemD. I manually added
scripts and an initial set for sysVinit. However, the post-install script
calls "systemctl --no-reload enable <packagename>", which invokes
update-rc.d, which in turn diverts to a systemctl call, and so on.

Calling update-rc.d from the systemctl "abstraction" (surrogate?) seems
to be correct, but I would have expected update-rc.d to detect the system's
init system and - as I am using sysVinit on Devuan - just modify the links.

update-rc.d behaviour can also be reproduced when calling it for an already
installed service.

-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 5 (daedalus/ceres)
Release:        5
Codename:       daedalus ceres
Architecture: x86_64

Kernel: Linux 5.19.9-wolfgang-wolfgang (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages init-system-helpers is related to:
ii  insserv  1.24.0-1

-- no debconf information
[Message part 3 (message/rfc822, inline)]
From: dak@devuan.org
To: 723-done@bugs.devuan.org
Subject: #723: fixed in src:systemctl-service-shim version 0.0.7
Date: Thu, 02 May 2024 03:37:45 +0000
Version: 0.0.7

Source package systemctl-service-shim (0.0.7) added to Devuan suite unstable.

This closes bug report 723.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 May 2024 22:28:41 -0500
Source: systemctl-service-shim
Architecture: source
Version: 0.0.7
Distribution: unstable
Urgency: medium
Maintainer: B. Stack <bgstack15@gmail.com>
Changed-By: Plasma (David Paul) <davidpaul@librem.one>
Closes: 723
Changes:
 systemctl-service-shim (0.0.7) unstable; urgency=medium
 .
   [ B. Stack ]
   * Relicense to LGPLv2.1
 .
   [ Plasma (David Paul) ]
   * Fix endless loop when calling update-rc.d
     (Closes: #723)
   * Re-remove symlink control logic
   * Bump Standards-Version to 4.7.0 ; no change
Checksums-Sha1:
 deeb6e60e63e5d3c4cbefd06f69adb03f7b07a32 1442 systemctl-service-shim_0.0.7.dsc
 0dcf4dd60ed6b792b7e3cead2c0e2a580d03f30e 16668 systemctl-service-shim_0.0.7.tar.xz
 b3741f94b76eebd1fdc59d982b3e9c5584748106 5415 systemctl-service-shim_0.0.7_source.buildinfo
Checksums-Sha256:
 4266060345da2066345563f45ce01bdf948aa3dd670b11a3a0ad79bb3538bded 1442 systemctl-service-shim_0.0.7.dsc
 a6315a6c78328dd04de9cba8811a3e096af75bf8f9f5126ecebca81c33dcad86 16668 systemctl-service-shim_0.0.7.tar.xz
 62cad4297628802631d6c75cdb090f96f0aa7e781482edb775556362a7fe90b9 5415 systemctl-service-shim_0.0.7_source.buildinfo
Files:
 0d74430a858983dc9f551b01b5883daf 1442 admin optional systemctl-service-shim_0.0.7.dsc
 a266dcbf180d63c09bc2e7812bb56154 16668 admin optional systemctl-service-shim_0.0.7.tar.xz
 dad6ca6d32380a5dcc1cb1166e386c5c 5415 admin optional systemctl-service-shim_0.0.7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmYzCnIACgkQlFMhJFQZ
IvtSAgf+IQ3EkvDt/w5fVn1CYt9cLWAoGyMe0LWPVNpvYiMCPFYCwQzabBh6wlTW
xoRZ9fdhM/5A1tKEbTy7ODIVgjmtkffajayZNthkMhNqyTIE2sHx+3/ZJmeSuAjl
1O8cTGeKCB5SFhwjGjMaxP+gvMYIq991GNpTu82MhoaNxwVTlriJCRcQl63wQzTf
A1BHsu1pWclLEyfmJIHGvF54qMR8CnrIm6oXjyi2HeMhkjsG9ZRW+l96hlnqlTN7
m7DzS64pukyUB9NJsdgch+OkoMQfIVRiGs10YtVE2Bhau6aKzWlGpU7iludSqhdj
JgkKb2ZkKKm1IdI3x5oJb/Q5RC6SHg==
=1TK/
-----END PGP SIGNATURE-----

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 01:25:35 2024;