Devuan bug report logs - #687
python3-ipalib contains calls to nonexistent /bin/systemctl

version graph

Package: python3-ipalib; Maintainer for python3-ipalib is B. Stack <bgstack15@gmail.com>; Source for python3-ipalib is src:freeipa.

Reported by: Jernej Jakob <jernej.jakob@gmail.com>

Date: Thu, 7 Jul 2022 01:44:02 UTC

Severity: grave

Found in version 4.8.10-2+devuan3

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 7 Jul 2022 01:43:48 +0000
Return-Path: <jernej.jakob@gmail.com>
Delivered-To: devuanbugs@dyne.org
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 <submit@bugs.devuan.org>; Thu,  7 Jul 2022 03:42:46 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="R3uWgTH6";
	dkim-atps=neutral
Received: by mail-ed1-f42.google.com with SMTP id x10so13987071edd.13
        for <submit@bugs.devuan.org>; 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 <submit@bugs.devuan.org>
        (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 <jernej.jakob@gmail.com>
To: submit@bugs.devuan.org
Subject: python3-ipalib scripts contain calls to /bin/systemctl
Message-ID: <20220707034243.21e3d614@gentoo.home>
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.

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: Sun May 5 12:58:34 2024;