Jernej Jakob <[email protected]>
to [email protected]
.
Full text available.Jernej Jakob <[email protected]>
to [email protected]
.
Full text available.Received: (at 687) by bugs.devuan.org; 7 Jul 2022 14:43:46 +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 14:43:46 +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 6D23C6617E6 for <[email protected]>; Thu, 7 Jul 2022 16:42:20 +0200 (CEST) Authentication-Results: mail.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="M63PfrYG"; dkim-atps=neutral Received: by mail-ej1-f50.google.com with SMTP id os14so2573047ejb.4 for <[email protected]>; Thu, 07 Jul 2022 07:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=IzUC8YbIfv3T1E2Zygyk/gFK8y9H/Tcf7JCJHhiPxDo=; b=M63PfrYGkoEXNNoIpt9ZJubKt5cMGISI7DLEsBjt0VRwAepL6DYMKyCLJiUgumy+wG bkNf4FCldRJxzojRcrSsKoTaEIZpWSJvwMtrvCeNv03FwR6bClw8qS8mhSNj/tfX4A7u cLN63cJTFT5zrodo6+Bk2LShPOaLMoSWIgGHw7MIKszlafhkbXPjB3JMOL0ulEbx4zB3 q/FE3j3/umd/L46hhdLqJl2mWcll8tBLKiIHQI18HZCkzvUWArw6nA6O+wkhoc+Qmsyj +VwxpBwPKwpPsNZRyWNIg97fAuF1DY/XU23h7gkSp0CCzIbiS8UzQFl7jzm6HW5Jd5Za OUXQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=IzUC8YbIfv3T1E2Zygyk/gFK8y9H/Tcf7JCJHhiPxDo=; b=UpbgDL9JqODtIjHTJkIaKP/kp59PCc4s+d/oPOXH8k58TXPYfsJm74v5zDvR/1vm6G NKczCn55T5R47VCOfv96DzuqtT9Ds0dxNRFCtt8Buner//lgNt8nj+E0h1JpHqNKRuYR ynXYsDvqHqhYpxO6jmvwvd7u/M3X5bJg6xFNlOWbR/0II/wrVC3odcMouxFEVO54ctUK X/VtjDjuSLPDqmpO2eOScwH+jnVwj2oaB5IegliKUwl9R8DFBM7zsVQfOCWc1d7sB8xx Ee2P7cHY6lWBdzRFd/pR1GJiVTdYL/7za8V6YBv9IcIBfGPixeM0AwGqOHBm8+vxV67O vO2A== X-Gm-Message-State: AJIora/ZrnPLQpRtw4qNVNn/+OjrnM5xQHjXRY5qXm3Bs8EQd6Bgo7ga O8B0PAx4/6d7LzNaSGEsDL+SfyuvbyM= X-Google-Smtp-Source: AGRyM1uP+HaK5Cru9HZUbj9aqhx4xix/OsHNPksY35xd57qiZtIlXHk6ONH4DAJSjNdO5JQxiJS03g== X-Received: by 2002:a17:907:94c5:b0:726:b8a9:f9b9 with SMTP id dn5-20020a17090794c500b00726b8a9f9b9mr45443759ejc.123.1657204939389; Thu, 07 Jul 2022 07:42:19 -0700 (PDT) Received: from gentoo.home ([2a01:260:8028:10f0::62]) by smtp.gmail.com with ESMTPSA id v19-20020a170906381300b00721d8e5bf0bsm18994392ejc.6.2022.07.07.07.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 07:42:19 -0700 (PDT) Date: Thu, 7 Jul 2022 16:42:14 +0200 From: Jernej Jakob <[email protected]> To: [email protected], B Stack <[email protected]> Subject: Re: bug#687: python3-ipalib scripts contain calls to /bin/systemctl Message-ID: <[email protected]> In-Reply-To: <CABSMGamoA1DmqDmgHQiZQSTo9PW4NXMrg-vyL59SPY4JA72w5A@mail.gmail.com> References: <[email protected]> <CABSMGamoA1DmqDmgHQiZQSTo9PW4NXMrg-vyL59SPY4JA72w5A@mail.gmail.com> 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_H3,RCVD_IN_MSPIKE_WL,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 On Thu, 7 Jul 2022 08:28:56 -0400 B Stack <[email protected]> wrote: > I maintain a package [1] in Ceres that provides a shell script that handles > the "systemctl" calls. I use python3-ipalib on my Devuan Ceres installs > with this dependency and it operates just fine. If you have a patch for > switching the embedded hardcoded invocations to service/update-rc.d > commands, I would be happy to review it! > > B. Stack > > [1]: > https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=systemctl-service-shim=0.0.2-1 Thanks, that's great, if it can be done without patching files in the package. But I already have systemctl-service-shim installed, it is a dependency of python3-ipalib. But it only provides /usr/sbin/systemctl, not /bin/systemctl, which is where python3-ipalib expects it to be. If I create a symlink there, ipa-client-install appears to go further, but then hangs at: 2022-07-07T14:22:15Z DEBUG Backing up '/etc/chrony/chrony.conf' 2022-07-07T14:22:15Z DEBUG Backing up system configuration file '/etc/chrony/chrony.conf' 2022-07-07T14:22:15Z DEBUG Saving Index File to '/var/lib/ipa-client/sysrestore/sysrestore.index' 2022-07-07T14:22:15Z DEBUG Writing configuration to '/etc/chrony/chrony.conf' 2022-07-07T14:22:15Z ERROR Augeas failed to configure file /etc/chrony/chrony.conf 2022-07-07T14:22:15Z DEBUG Starting external process 2022-07-07T14:22:15Z DEBUG args=['/usr/sbin/selinuxenabled'] 2022-07-07T14:22:15Z DEBUG Process execution failed 2022-07-07T14:22:15Z DEBUG Starting external process 2022-07-07T14:22:15Z DEBUG args=['/bin/systemctl', 'enable', 'chrony.service'] 2022-07-07T14:25:45Z DEBUG Process interrupted The systemctl enable process was hung for 3 minutes before I interrupted with ctrl-C. If I run it by hand, I see this 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 and so on until I press ctrl-C. So I think this is a bug in systemctl-service-shim ?
Jernej Jakob <[email protected]>
:B. Stack <[email protected]>
.
Full text available.[email protected], B. Stack <[email protected]>
:bug#687
; Package python3-ipalib
.
Full text available.Received: (at 687) by bugs.devuan.org; 7 Jul 2022 12:30:11 +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 12:30:11 +0000 (UTC) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (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 A50016617D7 for <[email protected]>; Thu, 7 Jul 2022 14:29:00 +0200 (CEST) Authentication-Results: mail.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="PeLJa3DM"; dkim-atps=neutral Received: by mail-il1-f171.google.com with SMTP id p13so10937836ilq.0 for <[email protected]>; Thu, 07 Jul 2022 05:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LixOFdbgeXM/xVa3vZxBe77ujiuMfJvIYJ4yjJ01Rlk=; b=PeLJa3DMTCS3Id2SAm0phd7ReeSvPdFLVlgNB4klxhaoWYcpUI7tEPW4jQFP6VmpXT WbkPMmRi6eZobsA3AmcJHZAH7NsexWs7z+40rqSbLw3+Fyo+Moz24pZ4A7F7/0vG/qBT XKKnomMnztvT1rcLJ/u5bgRT0fOGflDGNnr5zXBtuc91b9MzXsdobZE1BKfWquNHtNDu zoU3qzHLRA6/fC196xyrw+KJ403NqaqmDJBRBg63Zmwo8DVxTdLhE0hDjkGN2MErAJL6 hfOkISPVkjKSdNAq4ShhIQLJ5j4xfwVQ0vvpTSMRpRxzUmD6CSBMzgpQkJBqvWE/4md7 KJ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LixOFdbgeXM/xVa3vZxBe77ujiuMfJvIYJ4yjJ01Rlk=; b=cE7uAnto/8d6EdmTZHn3ShGzz/ISvyEaAT/tmXIyMmwzkpRiA+tTfCl3WS9uwN7Brj D3w46L8pw4t0EZM1HNjPK5uXvdyXpNjaTcz1GehZjinZxRd/G/RzdcHWauktxThSijP7 taU0pC9kiiryfCvX91cDrUm9NiEY26CzZ8Qskb4Bd8U1bbGPwZy2a1cQicAfiaOlZ6M1 jJo/NuxLvrLA76ZugUMVVIVz0Ets0Evg+Rlwh4E/UJSIDJIeXRRmnq3ows5sfkrX8+mm nxOdNNB0srChaX3g0etCbLVCe3YVinxAbeD4DGOLX+9pjvbujxDcUhy0mkQSg8kHAssc wjXQ== X-Gm-Message-State: AJIora9A+OJQFeXOBpRskerNQa3iHhVLSnTMA4UsKKWKuCfklgsuaOJb U0lOrAfQ4c7rMrhuZv4dX0l/GaDR8iLyVPiS094= X-Google-Smtp-Source: AGRyM1uHIlysmIoyfnwGi4HMvHXeK7pCbxO8UGXZe4fRQJWInNVEDcfYWRCszQIv8FHTWhAzX8JNohJnqQ5rZsc/5BI= X-Received: by 2002:a05:6e02:1be6:b0:2db:ea7f:10c4 with SMTP id y6-20020a056e021be600b002dbea7f10c4mr19927558ilv.248.1657196938135; Thu, 07 Jul 2022 05:28:58 -0700 (PDT) MIME-Version: 1.0 References: <[email protected]> In-Reply-To: <[email protected]> From: B Stack <[email protected]> Date: Thu, 7 Jul 2022 08:28:56 -0400 Message-ID: <CABSMGamoA1DmqDmgHQiZQSTo9PW4NXMrg-vyL59SPY4JA72w5A@mail.gmail.com> Subject: Re: bug#687: python3-ipalib scripts contain calls to /bin/systemctl To: Jernej Jakob <[email protected]>, [email protected] Content-Type: multipart/alternative; boundary="000000000000d20d8e05e3363ad6" X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, HTML_MESSAGE,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 --000000000000d20d8e05e3363ad6 Content-Type: text/plain; charset="UTF-8" I maintain a package [1] in Ceres that provides a shell script that handles the "systemctl" calls. I use python3-ipalib on my Devuan Ceres installs with this dependency and it operates just fine. If you have a patch for switching the embedded hardcoded invocations to service/update-rc.d commands, I would be happy to review it! B. Stack [1]: https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=systemctl-service-shim=0.0.2-1 --000000000000d20d8e05e3363ad6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I maintain a package [1] in Ceres that provides a she= ll script that handles the "systemctl" calls. I use python3-ipali= b on my Devuan Ceres installs with this dependency and it operates just fin= e. If you have a patch for switching the embedded hardcoded invocations to = service/update-rc.d commands, I would be happy to review it!<br><br></div>B= . Stack<br><div><br>[1]: <a href=3D"https://pkginfo.devuan.org/cgi-bin/pack= age-query.html?c=3Dpackage&q=3Dsystemctl-service-shim=3D0.0.2-1">https:= //pkginfo.devuan.org/cgi-bin/package-query.html?c=3Dpackage&q=3Dsystemc= tl-service-shim=3D0.0.2-1</a><br></div></div> --000000000000d20d8e05e3363ad6--
B Stack <[email protected]>
:B. Stack <[email protected]>
.
Full text available.[email protected], B. Stack <[email protected]>
:bug#687
; Package python3-ipalib
.
Full text available.Received: (at submit) by bugs.devuan.org; 7 Jul 2022 01:43:48 +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 01:43:48 +0000 (UTC) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 D1F4A66134A for <[email protected]>; Thu, 7 Jul 2022 03:42:46 +0200 (CEST) Authentication-Results: mail.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="R3uWgTH6"; dkim-atps=neutral Received: by mail-ed1-f42.google.com with SMTP id x10so13987071edd.13 for <[email protected]>; Wed, 06 Jul 2022 18:42:46 -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=b7q3R3u+OVjDhRCsJrW9gHLZk9MGGzFi0C117vjUasU=; b=R3uWgTH6PvcSzLbMufWj1kD2KKfPAAB14j6lYpEoK8oNb1zA28XvU1d3uzqUplftRG 46qnJeZcQngLH1O5Sl9a6a/hPgHEHkapx2E1ApsfbJkk+hBXQVLp+WJ6zSK81HvY+lPT 0FdXvqxshClRWinWv+Nn0pvUAHjGFZQyXO1xrJ/gs5Gv7GpDIsy3wdDg2w6PQvDZ4Abq 1xFOHh//goqHsEZgdK90MEqNuGyKtyunVn/2JUAm8GAhAWYS2MLigvvMnCadgJUnz1sr 8hf3V7bV/U/RmYpmdZ37HsBOzy7Frr5I7hf8yoMbsxr53on/j+LLQRCT6wECw0fhZ6Em Jeww== 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=b7q3R3u+OVjDhRCsJrW9gHLZk9MGGzFi0C117vjUasU=; b=GY/h4y8bwSEC4dtkAdKEC9w9R2lGj+t72TBiVrew0PUpvbFiCAaNOlYMFrHX2Y+LmE R4HH/FUjAuZeOgrWDxCjSaYnvSollpmyWnJKfPXoi+E14Uj91U4xfR7EVdHWC3qTr/jF twZo5gIwMbytXKG/8ZG78iKcXMcRYE53K/cmvlku3CtqMCQcARDmmO4TA3zah0LUqiB0 GnEBfB6X91nzcq+dYI3B1QxYOs50+tTDTI6KGg/Bzt0+MtX8hmG/vwAeGt6MquCzFcqT hTVxV7oDqaBm9nqdO0D6MQKP0fL7TCOdEMOhR0aF50SbVmxLsvoT/1x/lncib3K0gMXf wgUg== X-Gm-Message-State: AJIora/cLE0j/KBBsSfqU8fClksCLH1cGN4C9p6Mb2LaENz2EIyGoXxp 2dpyVt+GTrRM9A8zIQCZlqo+Bfi4oC8= X-Google-Smtp-Source: AGRyM1unCZ8ZovxDyqg+5E0llPlNNaWFhLcUXQ2I8eJD9hAKE+SA09Rqhs4agpRfz4laM0JrTiymzg== X-Received: by 2002:a05:6402:405:b0:433:426d:7d59 with SMTP id q5-20020a056402040500b00433426d7d59mr59862477edv.122.1657158166079; Wed, 06 Jul 2022 18:42:46 -0700 (PDT) Received: from gentoo.home ([2a01:260:8028:10f0::62]) by smtp.gmail.com with ESMTPSA id d10-20020a17090648ca00b0070b8a467c82sm18017524ejt.22.2022.07.06.18.42.45 for <[email protected]> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 18:42:45 -0700 (PDT) Date: Thu, 7 Jul 2022 03:42:43 +0200 From: Jernej Jakob <[email protected]> To: [email protected] Subject: python3-ipalib scripts contain calls to /bin/systemctl 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: python3-ipalib Version: 4.8.10-2+devuan3 Severity: grave This breaks dependent packages like freeipa-client. For example, ipa-client-install does not work. grepping for /bin/systemctl finds a match in /usr/lib/python3/dist-packages/ipaplatform/base/paths.py where SYSTEMCTL is defined and later used in /usr/lib/python3/dist-packages/ipaplatform/base/services.py This would need to be patched to use SysV init scripts instead.
Jernej Jakob <[email protected]>
:B. Stack <[email protected]>
.
Full text available.[email protected], B. Stack <[email protected]>
:bug#687
; Package python3-ipalib
.
Full text available.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 06:39:01 UTC