From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A741138332 for ; Wed, 24 Jan 2018 10:04:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4369FE08EF; Wed, 24 Jan 2018 10:03:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21027E08EF for ; Wed, 24 Jan 2018 10:03:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E2A8335C33 for ; Wed, 24 Jan 2018 10:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDBF61C6 for ; Wed, 24 Jan 2018 10:03:55 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1516786442.4651aedbef225455ee5679b1997573b14834dcfb.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: /, modules/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog modules/rc.eselect X-VCS-Directories: / modules/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4651aedbef225455ee5679b1997573b14834dcfb X-VCS-Branch: master Date: Wed, 24 Jan 2018 10:03:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e4f17a0d-811e-485c-ad29-f76e67c9b750 X-Archives-Hash: 93a3e1fc2e44d442daa4136e00a47d11 commit: 4651aedbef225455ee5679b1997573b14834dcfb Author: Ulrich Müller gentoo org> AuthorDate: Wed Jan 24 09:34:02 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 24 09:34:02 2018 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=4651aedb Workaround for OpenRC commands not in PATH in rc module. * modules/rc.eselect (show_script_status): Add /lib64/rc/bin to PATH as well, workaround for bug 645240 until OpenRC is fixed. ChangeLog | 5 +++++ modules/rc.eselect | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3846850..66b7e4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-01-24 Ulrich Müller + + * modules/rc.eselect (show_script_status): Add /lib64/rc/bin + to PATH as well, workaround for bug 645240 until OpenRC is fixed. + 2018-01-23 Ulrich Müller * libs/package-manager.bash.in (arch): Restore sparc64 which was diff --git a/modules/rc.eselect b/modules/rc.eselect index f364f8b..ff45d58 100644 --- a/modules/rc.eselect +++ b/modules/rc.eselect @@ -64,7 +64,7 @@ find_unused_scripts() { # output list entry for script $1 and show its status show_script_status() { local script=$1 status=unknown x - local PATH=/lib/rc/bin:${PATH} # path to service_* commands + local PATH=/lib/rc/bin:/lib64/rc/bin:${PATH} # path to service_* commands for x in stopping starting inactive started stopped; do if service_${x} ${script}; then