Devuan logs - #688, boring messages


Message sent to [email protected], B. Stack <[email protected]>:


X-Loop: [email protected]
Subject: bug#688: systemctl infinite loop, missing /bin/systemctl symlink
Reply-To: Jernej Jakob <[email protected]>, [email protected]
Resent-From: Jernej Jakob <[email protected]>
Resent-To: [email protected]
Resent-CC: B. Stack <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 07 Jul 2022 19:56:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
Received: via spool by [email protected] id=B.165722365927053
          (code B); Thu, 07 Jul 2022 19:56:02 +0000
Received: (at submit) by bugs.devuan.org; 7 Jul 2022 19:54:19 +0000
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 07 Jul 2022 19:54:19 +0000 (UTC)
Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 976C56617FC
	for <[email protected]>; Thu,  7 Jul 2022 21:52:57 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="mPQ3xJgc";
	dkim-atps=neutral
Received: by mail-ej1-f47.google.com with SMTP id u12so34199246eja.8
        for <[email protected]>; Thu, 07 Jul 2022 12:52:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=mPQ3xJgcaBkRKiS3TjXqxk7gPtk+zzUwmCKyTH3I5PdM5Y8lF6GEoy7VUQcwweq5ev
         l8JXfz3nxcoXrRmoxmWa0YX42aOMt5QHicSOGaHkqjlWiLslZnzwwqKsHBJ3ebWdooFw
         3ky2ei9teskjReO+blpp+mlYlcEaI9mBql0VAg1rGT8uJ8Ucpgxdj8U7AEq2vLPva8hc
         xQzrKJSMZxqIdXS5XTCquzEddU8wQ1IStqw+RfBRaG//5JAOY2p0hu4rLdUxWmGHAIEQ
         M48qwI/+dWnHTTzdb8sH/x5TBPVRqbJ1eilm2/WhYHtUEE1dmvnHBKcW9fiyCEMgtXNb
         NDqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=b8LocRzz3o4QLBWlUUX+aPvLBniFLLsNLsKf5GtqtZB47pO2ooOMHrvcSpECKJI3zL
         J77UdJSqfE2cvW+UgnyB5BXYQEeNWVqiGq7yb6cI+apGq9uLd0otqhVJKZfPVkyme6o2
         6XywNvqSIIhlEajfLJKtBv075xNYqB9N/gzvEvUfMY2NN5By0FlGrQVsitI5lnDIFaLu
         lk+DJZUbn0+t++3zOXRveUMazeuPxtTB0BKrNhQiXB3+0iBFFwiZUEn0Y3QMJleLwsIw
         w9CbKXIMzCiSuKSOinORoJTNKx0hyKWzrXllPqOFvDNJEVtnEBfmNpZf6qZtabZ7oJQS
         IFaQ==
X-Gm-Message-State: AJIora99RViqdXF5Nt1vh96CIKv382OC0FiPE9+RX4rXw3Bh4DgipwHX
	At2S28BSK6EPR3j72iZ1lnohAJ6T444=
X-Google-Smtp-Source: AGRyM1uws0xwreyKQwHP0TDaZURl4hsipsaDwm7T0SrAj5W5F0ra6oiTJ53jZwS0pQcPGEqQhLSdGA==
X-Received: by 2002:a17:906:98c8:b0:72a:fcd9:9a54 with SMTP id zd8-20020a17090698c800b0072afcd99a54mr9076489ejb.445.1657223576777;
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Received: from gentoo.home ([2a01:260:8028:10f0::62])
        by smtp.gmail.com with ESMTPSA id 18-20020a170906329200b0072abb95eaa4sm7017566ejw.215.2022.07.07.12.52.55
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Date: Thu, 7 Jul 2022 21:52:50 +0200
From: Jernej Jakob <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS,URIBL_BLOCKED autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Package: systemctl-service-shim
Version: 0.0.1-1
Severity: grave
Tags: stable

When executing the "enable" action, systemctl enters into an infinite
loop.

# /bin/systemctl enable chrony.service
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable

Additionally, there is no /bin/systemctl, as the script is installed to
/usr/sbin/systemctl, so some scripts that call a hardcoded binary path
/bin/systemctl won't work without manually creating a symlink after
installation.

I see some code to manipulate the symlink was added in 0.0.2
https://git.devuan.org/devuan/systemctl-service-shim/commit/abd012174f9545f4d4bd236716e51dedcad8c6f1
if I understand it correctly, it's a workaround (fix) for this infinite
loop problem which is caused by the init scripts calling systemctl
again.

In my opinion, the symlink should also be created in the package
postinst script. This way packages that depend on /bin/systemctl
will work immediately without manual symlink creation. There should be
no conflict with systemd, as the package already has a conflict with
systemd, it will never be simultaneously installed.

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Jernej Jakob <[email protected]>
Subject: bug#688: Acknowledgement (systemctl infinite loop, missing
 /bin/systemctl symlink)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
Reply-To: [email protected]
Date: Thu, 07 Jul 2022 19:56:04 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 688: https://bugs.devuan.org/cgi/=
bugreport.cgi?bug=3D688.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 B. Stack <[email protected]>

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
688: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D688
Devuan Bug Tracking System
Contact [email protected] with problems

Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 7 Jul 2022 20:03:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 07 Jul 2022 20:03:02 +0000 (UTC)
Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id B4DFA661366
	for <[email protected]>; Thu,  7 Jul 2022 22:02:47 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="Tz8xtSmM";
	dkim-atps=neutral
Received: by mail-ej1-f50.google.com with SMTP id r21so5479799eju.0
        for <[email protected]>; Thu, 07 Jul 2022 13:02:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=date:from:to:message-id:mime-version:content-transfer-encoding;
        bh=cT1lSAT4MUl0/ShkGspCiZmNp1p2yAgjHCN/Yzd4Hdg=;
        b=Tz8xtSmMjeGJSZWRGTatLDt/utnU/HBdsCAOQyF9sVtSzCd+YoWDje0daSMNrId9m8
         kTiwE36rf0OpVpxmg6DBmBtjIDm0x1E8u55tvWRRT4Ky3ba0XH2nMp8QoSZXxSpyFlgy
         DrM+f++OZvkyrKpohCdMuNjRg5bNjgvVf5nuyLx6G/G0nophYtuQYdlF0wlG+Ax3VC0f
         DnqTBoxTZhho1XUSgH+6y0AfyIO9+ZvH/shsi4psl0LZBogUJJ7jxRaDh8jLYbk6LkIn
         MwE/LDNEjX2R7f5DZbDltzyygxHcoIGjcbgqPXrF2irAYg2TbR/DKZtU1i1gt1k5GV/a
         sD0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:message-id:mime-version
         :content-transfer-encoding;
        bh=cT1lSAT4MUl0/ShkGspCiZmNp1p2yAgjHCN/Yzd4Hdg=;
        b=K7ba0Dhh/tUxMHubW2rkmuOLvZ7eKzrHwf1Mi6YBBhUqmF9fr0xA5D5hRsAXE9K5eQ
         cpcoHYDYcD7foT0WBdJl1mkPH09F0XMeh2irXqRP/3opKP2AsMq8Y//Y7o5o2DDjIV6d
         LcsJxtc1MFo7zoTJjV/rWS/aN+4c3HggTDMPjCho1j7CXd3A5N38MCAmXmFcOYUvuNOj
         US5qrt+w6+Rbu3GjDxKNf5MWJbSdEeb8srC/NUl72YZSdeJDLP909zMP+HjkkwGPb4oQ
         X1wRWAVQCmY2FEWo71I2tH1ctUoJUNS3f99sZf0PiWTWrVo+ppOMdRztqxn+0W6RdIiX
         MLiQ==
X-Gm-Message-State: AJIora/WVGn9yISyfEfYu5z/qU1r5fqVeMJpd92kmtsnxxH2va2YvITl
	2wLGakdn3oqNxTKLw3pE39n4bkYee4Q=
X-Google-Smtp-Source: AGRyM1v80VrVHiunKJNyvHPfecBi2VKtXrkgxSkEV1DT3R93jdCNK8buQ7Wl9aAUdCq8frFbYmHj7g==
X-Received: by 2002:a17:907:75c9:b0:72a:f6f2:e85b with SMTP id jl9-20020a17090775c900b0072af6f2e85bmr10221063ejc.577.1657224167245;
        Thu, 07 Jul 2022 13:02:47 -0700 (PDT)
Received: from gentoo.home ([2a01:260:8028:10f0::62])
        by smtp.gmail.com with ESMTPSA id g14-20020a170906538e00b0072ae8fa1d45sm4319734ejo.190.2022.07.07.13.02.46
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 07 Jul 2022 13:02:46 -0700 (PDT)
Date: Thu, 7 Jul 2022 22:02:43 +0200
From: Jernej Jakob <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,MISSING_SUBJECT,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

block 687 by 688
retitle 687 python3-ipalib contains calls to nonexistent /bin/systemctl

Message sent to [email protected], B. Stack <[email protected]>:


X-Loop: [email protected]
Subject: bug#688: (no subject)
Reply-To: Jernej Jakob <[email protected]>, [email protected]
Resent-From: Jernej Jakob <[email protected]>
Resent-To: [email protected]
Resent-CC: B. Stack <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 07 Jul 2022 20:38:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
References: <[email protected]>
Received: via spool by [email protected] id=B688.1657226263944
          (code B ref 688); Thu, 07 Jul 2022 20:38:01 +0000
Received: (at 688) by bugs.devuan.org; 7 Jul 2022 20:37:43 +0000
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 07 Jul 2022 20:37:43 +0000 (UTC)
Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 4B1926617FC
	for <[email protected]>; Thu,  7 Jul 2022 22:37:14 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="qc2paKJj";
	dkim-atps=neutral
Received: by mail-ej1-f51.google.com with SMTP id l23so2616342ejr.5
        for <[email protected]>; Thu, 07 Jul 2022 13:37:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=date:from:to:message-id:mime-version:content-transfer-encoding;
        bh=Bh1YP2meeKISmObV2a5kSBFAHpMKCxwYqiKUNeY8/Nk=;
        b=qc2paKJj9UB8cAxPXM1Ar6uBrCGTq19AuXA43Z077+dU7VY7PMDD81Bl3WUaeSI8Yj
         diHscobBRaLGr0/lw6f9Y0RClzM42lkqB0qIlVSBr2yW+uVI6LbgtKqzVW7KcUJ4nmiq
         7f2dxJ127eoAiAlkTMKqjbzxMW3vuSgUT8ao+kayrJFv4KxEXJWTGLP3gJuSTtV3KOwD
         Q0zSZsE1PZKP8SeN+NmVf2PlmL2Be3US7AJaetbgX8cEW2PbXCGh+KPImSDctGSZbSun
         iSEoL8WuEMHFRBWp/4f6D6rF1a1Ygmx5xFvwvh99GMXgm5IILI+W5WJgZlKSy7Nqasru
         YrMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:message-id:mime-version
         :content-transfer-encoding;
        bh=Bh1YP2meeKISmObV2a5kSBFAHpMKCxwYqiKUNeY8/Nk=;
        b=3aOaOykvz8ekvFJZ1E+VOIC5HQe5gLAADBn2a2Y+FskpCP5+GlrJmb48gPPjFMW12S
         tXWTrOp4GhLfX+4cvROL7M/T4eztBWRMn4FK+bA0q9sf6r2TQeCtj0F9Dzjkbqtvckun
         51KWlGYxk54DGBEaQ8zfI52Ukx+huj3+a/2pv9qSqiphSIR3/yEDoK03u2h0s7XcsIpi
         lJ240VB1U+UT71wEkOXRaG+jOK+f/pX6mzFCsDvi5BvugfTNJZw7hLl83rNwSfp9tPZi
         5t0vpRejFh4rVhk3wJ//9DBjTV4icL3JoC8yjxKQ6m9Yt0H4xAZmTDSG9bDUhNuTOfOa
         KymQ==
X-Gm-Message-State: AJIora/K8eVhGMNAnCGmFwOBQ1BXnmFM481LWXKu6Q/ErH6SmUSZMpaV
	TCeDBg9i9KYlcyyfMhAbh8w4s/dIkrs=
X-Google-Smtp-Source: AGRyM1vS3UMHORL08kNzk/SXZ+LI+BTHQw82pFvVt4aHPSeIbULW8lWXZsEuBMcd5g9o3k5tlhpNSg==
X-Received: by 2002:a17:906:4482:b0:70a:19e3:d18a with SMTP id y2-20020a170906448200b0070a19e3d18amr46674148ejo.510.1657226233912;
        Thu, 07 Jul 2022 13:37:13 -0700 (PDT)
Received: from gentoo.home ([2a01:260:8028:10f0::62])
        by smtp.gmail.com with ESMTPSA id 21-20020a170906301500b00728f6d4d0d7sm12669885ejz.67.2022.07.07.13.37.13
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 07 Jul 2022 13:37:13 -0700 (PDT)
Date: Thu, 7 Jul 2022 22:37:10 +0200
From: Jernej Jakob <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,MISSING_SUBJECT,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

I installed 0.0.2-1 from deb and it appears to work correctly.
Only the symlink is missing by default and would need to be added by
the package on installation.

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Jernej Jakob <[email protected]>
Subject: bug#688: Info received ((no subject))
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack-info 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
Reply-To: [email protected]
Date: Thu, 07 Jul 2022 20:38:05 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 B. Stack <[email protected]>

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
688: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D688
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: [email protected]
Subject: bug#688: marked as done (systemctl infinite loop, missing
 /bin/systemctl symlink)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: closed 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
Reply-To: [email protected]
Date: Tue, 12 Jul 2022 17:14:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1657646042-14260-0"

This is a multi-part message in MIME format...

------------=_1657646042-14260-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 12 Jul 2022 15:53:37 +0000
with message-id <[email protected]>
and subject line #688: fixed in src:systemctl-service-shim version 0.0.3-1
has caused the Devuan bug report #688,
regarding systemctl infinite loop, missing /bin/systemctl symlink
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 [email protected]
immediately.)


--=20
688: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D688
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1657646042-14260-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 7 Jul 2022 19:54:19 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 07 Jul 2022 19:54:19 +0000 (UTC)
Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 976C56617FC
	for <[email protected]>; Thu,  7 Jul 2022 21:52:57 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="mPQ3xJgc";
	dkim-atps=neutral
Received: by mail-ej1-f47.google.com with SMTP id u12so34199246eja.8
        for <[email protected]>; Thu, 07 Jul 2022 12:52:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=mPQ3xJgcaBkRKiS3TjXqxk7gPtk+zzUwmCKyTH3I5PdM5Y8lF6GEoy7VUQcwweq5ev
         l8JXfz3nxcoXrRmoxmWa0YX42aOMt5QHicSOGaHkqjlWiLslZnzwwqKsHBJ3ebWdooFw
         3ky2ei9teskjReO+blpp+mlYlcEaI9mBql0VAg1rGT8uJ8Ucpgxdj8U7AEq2vLPva8hc
         xQzrKJSMZxqIdXS5XTCquzEddU8wQ1IStqw+RfBRaG//5JAOY2p0hu4rLdUxWmGHAIEQ
         M48qwI/+dWnHTTzdb8sH/x5TBPVRqbJ1eilm2/WhYHtUEE1dmvnHBKcW9fiyCEMgtXNb
         NDqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=b8LocRzz3o4QLBWlUUX+aPvLBniFLLsNLsKf5GtqtZB47pO2ooOMHrvcSpECKJI3zL
         J77UdJSqfE2cvW+UgnyB5BXYQEeNWVqiGq7yb6cI+apGq9uLd0otqhVJKZfPVkyme6o2
         6XywNvqSIIhlEajfLJKtBv075xNYqB9N/gzvEvUfMY2NN5By0FlGrQVsitI5lnDIFaLu
         lk+DJZUbn0+t++3zOXRveUMazeuPxtTB0BKrNhQiXB3+0iBFFwiZUEn0Y3QMJleLwsIw
         w9CbKXIMzCiSuKSOinORoJTNKx0hyKWzrXllPqOFvDNJEVtnEBfmNpZf6qZtabZ7oJQS
         IFaQ==
X-Gm-Message-State: AJIora99RViqdXF5Nt1vh96CIKv382OC0FiPE9+RX4rXw3Bh4DgipwHX
	At2S28BSK6EPR3j72iZ1lnohAJ6T444=
X-Google-Smtp-Source: AGRyM1uws0xwreyKQwHP0TDaZURl4hsipsaDwm7T0SrAj5W5F0ra6oiTJ53jZwS0pQcPGEqQhLSdGA==
X-Received: by 2002:a17:906:98c8:b0:72a:fcd9:9a54 with SMTP id zd8-20020a17090698c800b0072afcd99a54mr9076489ejb.445.1657223576777;
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Received: from gentoo.home ([2a01:260:8028:10f0::62])
        by smtp.gmail.com with ESMTPSA id 18-20020a170906329200b0072abb95eaa4sm7017566ejw.215.2022.07.07.12.52.55
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Date: Thu, 7 Jul 2022 21:52:50 +0200
From: Jernej Jakob <[email protected]>
To: [email protected]
Subject: systemctl infinite loop, missing /bin/systemctl symlink
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS,URIBL_BLOCKED autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Package: systemctl-service-shim
Version: 0.0.1-1
Severity: grave
Tags: stable

When executing the "enable" action, systemctl enters into an infinite
loop.

# /bin/systemctl enable chrony.service
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable

Additionally, there is no /bin/systemctl, as the script is installed to
/usr/sbin/systemctl, so some scripts that call a hardcoded binary path
/bin/systemctl won't work without manually creating a symlink after
installation.

I see some code to manipulate the symlink was added in 0.0.2
https://git.devuan.org/devuan/systemctl-service-shim/commit/abd012174f9545f4d4bd236716e51dedcad8c6f1
if I understand it correctly, it's a workaround (fix) for this infinite
loop problem which is caused by the init scripts calling systemctl
again.

In my opinion, the symlink should also be created in the package
postinst script. This way packages that depend on /bin/systemctl
will work immediately without manual symlink creation. There should be
no conflict with systemd, as the package already has a conflict with
systemd, it will never be simultaneously installed.

------------=_1657646042-14260-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 688-done) by bugs.devuan.org; 12 Jul 2022 17:12:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 12 Jul 2022 17:12:04 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by mail.dyne.org (Postfix) with ESMTP id B0A3B661345
	for <[email protected]>; Tue, 12 Jul 2022 19:10:42 +0200 (CEST)
Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id CD5D9407782
	for <[email protected]>; Tue, 12 Jul 2022 15:53:37 +0000 (UTC)
Received: (nullmailer pid 16632 invoked by uid 107);
	Tue, 12 Jul 2022 15:53:37 -0000
From: [email protected]
To: [email protected]
Subject: #688: fixed in src:systemctl-service-shim version 0.0.3-1
MIME-Version: 1.0
Content-Type: text/plain; charset="ANSI_X3.4-1968"
Content-Transfer-Encoding: 8bit
Date: Tue, 12 Jul 2022 15:53:37 +0000
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_FAIL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org


Version: 0.0.3-1

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

This closes bug report 688.

Thanks

DAK managing the Devuan archive

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

Format: 1.8
Date: Tue, 12 Jul 2022 10:52:37 -0400
Source: systemctl-service-shim
Architecture: source
Version: 0.0.3-1
Distribution: unstable
Urgency: low
Maintainer: B. Stack <[email protected]>
Changed-By: B. Stack <[email protected]>
Closes: 688
Changes:
 systemctl-service-shim (0.0.3-1) unstable; urgency=low
 .
   * Add /bin/systemctl symlink directly to package (Closes: #688)
   * Action `try-restart` is simplified to `restart`
Checksums-Sha1:
 fba6db32fbed789965522a618a26840f5c31ef79 1654 systemctl-service-shim_0.0.3-1.dsc
 064b17d5541c6f73a8df313d2dbc0d0830359401 13809 systemctl-service-shim_0.0.3.orig.tar.gz
 d1799e0e4e6c075deb693ff2fdb8d88e0f22c6cf 6640 systemctl-service-shim_0.0.3-1.debian.tar.xz
 d5fbb6a6a10b5df39bf1e70610d65e49c7776de9 5349 systemctl-service-shim_0.0.3-1_source.buildinfo
Checksums-Sha256:
 b6d8eec49cab0ccb0588a7392a2a950ee3db688601dabe8e3d5e15216610b766 1654 systemctl-service-shim_0.0.3-1.dsc
 9f57fb5fe94277ae8d63261ee8783f79716b57589eb2e8eba1f756bfc2e0069c 13809 systemctl-service-shim_0.0.3.orig.tar.gz
 09b1b2004c583431d5fe530e37944ce924a83668327bbd0b71751258c52f5a02 6640 systemctl-service-shim_0.0.3-1.debian.tar.xz
 86f17f6f1c722f86897af8fdece01a79c2fb2995bfcfa8b1617876bb4f1d5a43 5349 systemctl-service-shim_0.0.3-1_source.buildinfo
Files:
 06f1209d1aef8f3836bd3dff061f6063 1654 admin optional systemctl-service-shim_0.0.3-1.dsc
 a78c75bafe3e21ada5bf660d1f94228d 13809 admin optional systemctl-service-shim_0.0.3.orig.tar.gz
 49faa5c7c894bd8838545f35abb82e48 6640 admin optional systemctl-service-shim_0.0.3-1.debian.tar.xz
 ee8a8ddf7b142557c1dcb0536dc57fc0 5349 admin optional systemctl-service-shim_0.0.3-1_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmLNmHgACgkQlFMhJFQZ
IvuGHAf+L4Ifu4x/HZUjtY17W82ZUYnxu+atgBu4T+FuqhI57sxefwC0+iErdvZs
/s5Azybw9bM5xUUQC9NJFMtyCRiUoAdu8mqw0cmFhPbdr5bEy+srH2vtqnR2GmTt
UypfbciRrdBPmXtaPwMtUIxaNUsa+pK/A4Ixutn7kutl7VdA2sG5pWYTH82rrui2
YYErn2+eiF91rzrZYYoQISiAiug2ioAhxWpDJ9pO/VmwkyOY5PN+/oASMrDFK13d
2f9MNEWTo/5ax5iedzmxqND0SRSzdBgvVYrZcENH0bLIjlErSrRypf2tj0ZYraEx
+acLO0G8kqMfjo1QgfYBVB56DEb+8g==
=XrSz
-----END PGP SIGNATURE-----
------------=_1657646042-14260-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Jernej Jakob <[email protected]>
Subject: bug#688 closed by [email protected] (#688: fixed in src:systemctl-service-shim
 version 0.0.3-1)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: they-closed 688
X-Devuan-PR-Package: systemctl-service-shim
X-Devuan-PR-Keywords: stable
Reply-To: [email protected]
Date: Tue, 12 Jul 2022 17:14:05 +0000
Content-Type: multipart/mixed; boundary="----------=_1657646045-14260-1"

This is a multi-part message in MIME format...

------------=_1657646045-14260-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the systemctl-service-shim package:

#688: systemctl infinite loop, missing /bin/systemctl symlink

It has been closed by [email protected].

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact [email protected] by
replying to this email.


--=20
688: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D688
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1657646045-14260-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 688-done) by bugs.devuan.org; 12 Jul 2022 17:12:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 12 Jul 2022 17:12:04 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by mail.dyne.org (Postfix) with ESMTP id B0A3B661345
	for <[email protected]>; Tue, 12 Jul 2022 19:10:42 +0200 (CEST)
Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id CD5D9407782
	for <[email protected]>; Tue, 12 Jul 2022 15:53:37 +0000 (UTC)
Received: (nullmailer pid 16632 invoked by uid 107);
	Tue, 12 Jul 2022 15:53:37 -0000
From: [email protected]
To: [email protected]
Subject: #688: fixed in src:systemctl-service-shim version 0.0.3-1
MIME-Version: 1.0
Content-Type: text/plain; charset="ANSI_X3.4-1968"
Content-Transfer-Encoding: 8bit
Date: Tue, 12 Jul 2022 15:53:37 +0000
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_FAIL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org


Version: 0.0.3-1

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

This closes bug report 688.

Thanks

DAK managing the Devuan archive

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

Format: 1.8
Date: Tue, 12 Jul 2022 10:52:37 -0400
Source: systemctl-service-shim
Architecture: source
Version: 0.0.3-1
Distribution: unstable
Urgency: low
Maintainer: B. Stack <[email protected]>
Changed-By: B. Stack <[email protected]>
Closes: 688
Changes:
 systemctl-service-shim (0.0.3-1) unstable; urgency=low
 .
   * Add /bin/systemctl symlink directly to package (Closes: #688)
   * Action `try-restart` is simplified to `restart`
Checksums-Sha1:
 fba6db32fbed789965522a618a26840f5c31ef79 1654 systemctl-service-shim_0.0.3-1.dsc
 064b17d5541c6f73a8df313d2dbc0d0830359401 13809 systemctl-service-shim_0.0.3.orig.tar.gz
 d1799e0e4e6c075deb693ff2fdb8d88e0f22c6cf 6640 systemctl-service-shim_0.0.3-1.debian.tar.xz
 d5fbb6a6a10b5df39bf1e70610d65e49c7776de9 5349 systemctl-service-shim_0.0.3-1_source.buildinfo
Checksums-Sha256:
 b6d8eec49cab0ccb0588a7392a2a950ee3db688601dabe8e3d5e15216610b766 1654 systemctl-service-shim_0.0.3-1.dsc
 9f57fb5fe94277ae8d63261ee8783f79716b57589eb2e8eba1f756bfc2e0069c 13809 systemctl-service-shim_0.0.3.orig.tar.gz
 09b1b2004c583431d5fe530e37944ce924a83668327bbd0b71751258c52f5a02 6640 systemctl-service-shim_0.0.3-1.debian.tar.xz
 86f17f6f1c722f86897af8fdece01a79c2fb2995bfcfa8b1617876bb4f1d5a43 5349 systemctl-service-shim_0.0.3-1_source.buildinfo
Files:
 06f1209d1aef8f3836bd3dff061f6063 1654 admin optional systemctl-service-shim_0.0.3-1.dsc
 a78c75bafe3e21ada5bf660d1f94228d 13809 admin optional systemctl-service-shim_0.0.3.orig.tar.gz
 49faa5c7c894bd8838545f35abb82e48 6640 admin optional systemctl-service-shim_0.0.3-1.debian.tar.xz
 ee8a8ddf7b142557c1dcb0536dc57fc0 5349 admin optional systemctl-service-shim_0.0.3-1_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmLNmHgACgkQlFMhJFQZ
IvuGHAf+L4Ifu4x/HZUjtY17W82ZUYnxu+atgBu4T+FuqhI57sxefwC0+iErdvZs
/s5Azybw9bM5xUUQC9NJFMtyCRiUoAdu8mqw0cmFhPbdr5bEy+srH2vtqnR2GmTt
UypfbciRrdBPmXtaPwMtUIxaNUsa+pK/A4Ixutn7kutl7VdA2sG5pWYTH82rrui2
YYErn2+eiF91rzrZYYoQISiAiug2ioAhxWpDJ9pO/VmwkyOY5PN+/oASMrDFK13d
2f9MNEWTo/5ax5iedzmxqND0SRSzdBgvVYrZcENH0bLIjlErSrRypf2tj0ZYraEx
+acLO0G8kqMfjo1QgfYBVB56DEb+8g==
=XrSz
-----END PGP SIGNATURE-----
------------=_1657646045-14260-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 7 Jul 2022 19:54:19 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 07 Jul 2022 19:54:19 +0000 (UTC)
Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 976C56617FC
	for <[email protected]>; Thu,  7 Jul 2022 21:52:57 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="mPQ3xJgc";
	dkim-atps=neutral
Received: by mail-ej1-f47.google.com with SMTP id u12so34199246eja.8
        for <[email protected]>; Thu, 07 Jul 2022 12:52:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=mPQ3xJgcaBkRKiS3TjXqxk7gPtk+zzUwmCKyTH3I5PdM5Y8lF6GEoy7VUQcwweq5ev
         l8JXfz3nxcoXrRmoxmWa0YX42aOMt5QHicSOGaHkqjlWiLslZnzwwqKsHBJ3ebWdooFw
         3ky2ei9teskjReO+blpp+mlYlcEaI9mBql0VAg1rGT8uJ8Ucpgxdj8U7AEq2vLPva8hc
         xQzrKJSMZxqIdXS5XTCquzEddU8wQ1IStqw+RfBRaG//5JAOY2p0hu4rLdUxWmGHAIEQ
         M48qwI/+dWnHTTzdb8sH/x5TBPVRqbJ1eilm2/WhYHtUEE1dmvnHBKcW9fiyCEMgtXNb
         NDqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:subject:message-id:mime-version
         :content-transfer-encoding;
        bh=/CD7GpQCkS3WB30Df/ryLpc+a5wz+46ZTotoNHc9qKI=;
        b=b8LocRzz3o4QLBWlUUX+aPvLBniFLLsNLsKf5GtqtZB47pO2ooOMHrvcSpECKJI3zL
         J77UdJSqfE2cvW+UgnyB5BXYQEeNWVqiGq7yb6cI+apGq9uLd0otqhVJKZfPVkyme6o2
         6XywNvqSIIhlEajfLJKtBv075xNYqB9N/gzvEvUfMY2NN5By0FlGrQVsitI5lnDIFaLu
         lk+DJZUbn0+t++3zOXRveUMazeuPxtTB0BKrNhQiXB3+0iBFFwiZUEn0Y3QMJleLwsIw
         w9CbKXIMzCiSuKSOinORoJTNKx0hyKWzrXllPqOFvDNJEVtnEBfmNpZf6qZtabZ7oJQS
         IFaQ==
X-Gm-Message-State: AJIora99RViqdXF5Nt1vh96CIKv382OC0FiPE9+RX4rXw3Bh4DgipwHX
	At2S28BSK6EPR3j72iZ1lnohAJ6T444=
X-Google-Smtp-Source: AGRyM1uws0xwreyKQwHP0TDaZURl4hsipsaDwm7T0SrAj5W5F0ra6oiTJ53jZwS0pQcPGEqQhLSdGA==
X-Received: by 2002:a17:906:98c8:b0:72a:fcd9:9a54 with SMTP id zd8-20020a17090698c800b0072afcd99a54mr9076489ejb.445.1657223576777;
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Received: from gentoo.home ([2a01:260:8028:10f0::62])
        by smtp.gmail.com with ESMTPSA id 18-20020a170906329200b0072abb95eaa4sm7017566ejw.215.2022.07.07.12.52.55
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 07 Jul 2022 12:52:56 -0700 (PDT)
Date: Thu, 7 Jul 2022 21:52:50 +0200
From: Jernej Jakob <[email protected]>
To: [email protected]
Subject: systemctl infinite loop, missing /bin/systemctl symlink
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS,URIBL_BLOCKED autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Package: systemctl-service-shim
Version: 0.0.1-1
Severity: grave
Tags: stable

When executing the "enable" action, systemctl enters into an infinite
loop.

# /bin/systemctl enable chrony.service
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
 * rc-update: chrony already installed in runlevel `default'; skipping
update-rc.d chrony enable

Additionally, there is no /bin/systemctl, as the script is installed to
/usr/sbin/systemctl, so some scripts that call a hardcoded binary path
/bin/systemctl won't work without manually creating a symlink after
installation.

I see some code to manipulate the symlink was added in 0.0.2
https://git.devuan.org/devuan/systemctl-service-shim/commit/abd012174f9545f4d4bd236716e51dedcad8c6f1
if I understand it correctly, it's a workaround (fix) for this infinite
loop problem which is caused by the init scripts calling systemctl
again.

In my opinion, the symlink should also be created in the package
postinst script. This way packages that depend on /bin/systemctl
will work immediately without manual symlink creation. There should be
no conflict with systemd, as the package already has a conflict with
systemd, it will never be simultaneously installed.

------------=_1657646045-14260-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 08:39:01 UTC