X-Loop: owner@bugs.devuan.org Subject: bug#864: systemctl list-units cannot be called Reply-To: linuxbox@arcor.de, 864@bugs.devuan.org Resent-From: linuxbox@arcor.de Resent-To: devuan-bugs@lists.dyne.org Resent-CC: B. Stack <bgstack15@gmail.com> X-Loop: owner@bugs.devuan.org Resent-Date: Sun, 24 Nov 2024 10:06:02 +0000 Resent-Message-ID: <handler.864.B.173244267328998@bugs.devuan.org> Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: report 864 X-Devuan-PR-Package: systemctl-service-shim X-Devuan-PR-Keywords: X-Devuan-PR-Source: systemctl-service-shim Received: via spool by submit@bugs.devuan.org id=B.173244267328998 (code B); Sun, 24 Nov 2024 10:06:02 +0000 Received: (at submit) by bugs.devuan.org; 24 Nov 2024 10:04:33 +0000 Delivered-To: bugs@devuan.org Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Sun, 24 Nov 2024 10:04:33 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id jTj9AuT5QmfyXwAAmSBk0A (envelope-from <linuxbox@arcor.de>) for <bugs@devuan.org>; Sun, 24 Nov 2024 10:03:16 +0000 Received: by email.devuan.org (Postfix, from userid 109) id C02F8499; Sun, 24 Nov 2024 10:03:15 +0000 (UTC) Authentication-Results: email.devuan.org; dkim=pass (1024-bit key; unprotected) header.d=arcor.de header.i=@arcor.de header.a=rsa-sha256 header.s=vfde-mb-mr2-23sep header.b=r/VV0FRi; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=145.253.228.164; helo=mr4.vodafonemail.de; envelope-from=linuxbox@arcor.de; receiver=<UNKNOWN> Received: from mr4.vodafonemail.de (mr4.vodafonemail.de [145.253.228.164]) by email.devuan.org (Postfix) with ESMTPS id 4CEDB1F7 for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 10:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arcor.de; s=vfde-mb-mr2-23sep; t=1732442592; bh=N+QiCGUGYrLxYm0S+c2RfYJZOrB/v0uVr4OHkx6bGi8=; h=Message-ID:Date:User-Agent:To:Content-Language:From:Subject: Content-Type:From; b=r/VV0FRif8oNUaNSt+VzpLlKbwcYfV/vVMbS/ckLAt2JJdl6a21aq0AswT2CSucf7 8qVX5f3hr4aSkaYW8jb77m4w/j0mgM2JZ5QUEqJAqnzkhAOVeq1TC+stXSuKBvxhw/ 5sfSWFbt2NhqHY+M9dtEjQqs9IKVMfLRFD/+uTCo= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4Xx4Ch0CLyz1xww for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 10:03:11 +0000 (UTC) Received: from pluto (p54832fc6.dip0.t-ipconnect.de [84.131.47.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Xx4Cb2Q17z8sYJ for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 10:03:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pluto (Postfix) with ESMTP id 6839C6005B4 for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 11:03:03 +0100 (CET) Received: from pluto ([127.0.0.1]) by localhost (pluto.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pKIup-5JBycr for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 11:03:02 +0100 (CET) Received: from [192.168.179.20] (ork.fritz.box [192.168.179.20]) by pluto (Postfix) with ESMTPS id 2916D6005B1 for <submit@bugs.devuan.org>; Sun, 24 Nov 2024 11:03:02 +0100 (CET) Message-ID: <99acec05-14c6-4af0-99e6-f4cd5a97c893@arcor.de> Date: Sun, 24 Nov 2024 11:03:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: submit@bugs.devuan.org Content-Language: de-DE From: linuxbox@arcor.de Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 720 X-purgate-ID: 155817::1732442587-1FFFE463-5F13EF3A/0/0 Package: systemctl-service-shim Version: 0.0.5-1 Hello Maintainer, please extend the script systemctl so that "systemctl list-units" can also be called, for example like this: ####################### #!/bin/bash list-units() { local pattern="${1:-.*}" for service in /etc/init.d/*; do service_name=$(basename "$service") if [[ "$service_name" =~ $pattern ]]; then if "$service" status 2>/dev/null | grep -q -E "running|active"; then echo "$service_name" fi fi done } list-units "$1" ####################### Can be called with, or without regular expression as an argument. Many thanks Klaus
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: owner@bugs.devuan.org From: "Devuan bug Tracking System" <owner@bugs.devuan.org> To: linuxbox@arcor.de Subject: bug#864: Acknowledgement (systemctl list-units cannot be called) Message-ID: <handler.864.B.173244267328998.ack@bugs.devuan.org> References: <99acec05-14c6-4af0-99e6-f4cd5a97c893@arcor.de> X-Devuan-PR-Message: ack 864 X-Devuan-PR-Package: systemctl-service-shim X-Devuan-PR-Source: systemctl-service-shim Reply-To: 864@bugs.devuan.org Date: Sun, 24 Nov 2024 10:06:03 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 864: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D864. 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 <bgstack15@gmail.com> If you wish to submit further information on this problem, please send it to 864@bugs.devuan.org. Please do not send mail to owner@bugs.devuan.org unless you wish to report a problem with the Bug-tracking system. --=20 864: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D864 Devuan Bug Tracking System Contact owner@bugs.devuan.org with problems
X-Loop: owner@bugs.devuan.org Subject: bug#864: systemctl list-units cannot be called Reply-To: linuxbox@arcor.de, 864@bugs.devuan.org Resent-From: linuxbox@arcor.de Resent-To: devuan-bugs@lists.dyne.org Resent-CC: B. Stack <bgstack15@gmail.com> X-Loop: owner@bugs.devuan.org Resent-Date: Sun, 22 Dec 2024 12:24:01 +0000 Resent-Message-ID: <handler.864.B864.173487015623044@bugs.devuan.org> Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: followup 864 X-Devuan-PR-Package: systemctl-service-shim X-Devuan-PR-Keywords: References: <99acec05-14c6-4af0-99e6-f4cd5a97c893@arcor.de> X-Devuan-PR-Source: systemctl-service-shim Received: via spool by 864-submit@bugs.devuan.org id=B864.173487015623044 (code B ref 864); Sun, 22 Dec 2024 12:24:01 +0000 Received: (at 864) by bugs.devuan.org; 22 Dec 2024 12:22:36 +0000 Delivered-To: bugs@devuan.org Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Sun, 22 Dec 2024 12:22:36 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id ypnOOEAEaGejagAAmSBk0A (envelope-from <linuxbox@arcor.de>) for <bugs@devuan.org>; Sun, 22 Dec 2024 12:21:20 +0000 Received: by email.devuan.org (Postfix, from userid 109) id B86D84B3; Sun, 22 Dec 2024 12:21:20 +0000 (UTC) Authentication-Results: email.devuan.org; dkim=pass (1024-bit key; unprotected) header.d=arcor.de header.i=@arcor.de header.a=rsa-sha256 header.s=vfde-mb-mr2-23sep header.b=mJutuUZo; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=145.253.228.165; helo=mr5.vodafonemail.de; envelope-from=linuxbox@arcor.de; receiver=<UNKNOWN> Received: from mr5.vodafonemail.de (mr5.vodafonemail.de [145.253.228.165]) by email.devuan.org (Postfix) with ESMTPS id 95B3915B for <864@bugs.devuan.org>; Sun, 22 Dec 2024 12:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arcor.de; s=vfde-mb-mr2-23sep; t=1734870076; bh=gVST7/2yB/VZr1bkx8K7qDyUqsCu/WZ6C97H3iEE1Eg=; h=Message-ID:Date:User-Agent:To:Content-Language:From:Subject: Content-Type:From; b=mJutuUZocSc4W9++Wx+JZaFU/fYgyu0gHg88k7m/avSmlq1dN4P2jg27ujGdNk0xK 9h0yUcnSwFfo1k7WfWn+WFeIJVaL2f3Coq+C1wdQpL0uevdsFe27NcasGarTPFR2u6 f0wu9vS9slV1qZRI8hDgJW1PbgR/u4EVkuTKSMu4= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4YGKy45JmMz1y3S for <864@bugs.devuan.org>; Sun, 22 Dec 2024 12:21:16 +0000 (UTC) Received: from pluto (p57a51e09.dip0.t-ipconnect.de [87.165.30.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4YGKy43L9Dz9051 for <864@bugs.devuan.org>; Sun, 22 Dec 2024 12:21:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pluto (Postfix) with ESMTP id C9B6E6005E7 for <864@bugs.devuan.org>; Sun, 22 Dec 2024 13:21:12 +0100 (CET) Received: from pluto ([127.0.0.1]) by localhost (pluto.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KGP6RXn8l6-C for <864@bugs.devuan.org>; Sun, 22 Dec 2024 13:21:09 +0100 (CET) Received: from [192.168.179.20] (ork.fritz.box [192.168.179.20]) by pluto (Postfix) with ESMTPS id 0490E6005DE for <864@bugs.devuan.org>; Sun, 22 Dec 2024 13:21:08 +0100 (CET) Message-ID: <22406890-d6fb-4c27-9bf8-04db93abe654@arcor.de> Date: Sun, 22 Dec 2024 13:21:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 864@bugs.devuan.org Content-Language: de-DE From: linuxbox@arcor.de Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-purgate-type: clean X-purgate: clean X-purgate-size: 162 X-purgate-ID: 155817::1734870076-03FFE477-6DA1CD03/0/0 I have now found that there is already a package “systemctl†in the Debian repository which provides extensive functionality for most sytemctl commands.
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: owner@bugs.devuan.org From: "Devuan bug Tracking System" <owner@bugs.devuan.org> To: linuxbox@arcor.de Subject: bug#864: Info received (systemctl list-units cannot be called) Message-ID: <handler.864.B864.173487015623044.ackinfo@bugs.devuan.org> References: <22406890-d6fb-4c27-9bf8-04db93abe654@arcor.de> X-Devuan-PR-Message: ack-info 864 X-Devuan-PR-Package: systemctl-service-shim X-Devuan-PR-Source: systemctl-service-shim Reply-To: 864@bugs.devuan.org Date: Sun, 22 Dec 2024 12:24:03 +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 <bgstack15@gmail.com> If you wish to submit further information on this problem, please send it to 864@bugs.devuan.org. Please do not send mail to owner@bugs.devuan.org unless you wish to report a problem with the Bug-tracking system. --=20 864: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D864 Devuan Bug Tracking System Contact owner@bugs.devuan.org with problems
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 <owner@bugs.devuan.org>.
Last modified:
Wed, 9 Apr 2025 22:39:01 UTC