commit: 4651aedbef225455ee5679b1997573b14834dcfb Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 24 09:34:02 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <u...@gentoo.org> + + * 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 <u...@gentoo.org> * 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