aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-24 10:34:02 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-24 10:34:02 +0100
commit4651aedbef225455ee5679b1997573b14834dcfb (patch)
tree07124ffe336a55ea79fbd029c1bc2e7f9b83bfa6
parentUpdate arch list in package-manager list. (diff)
downloadeselect-4651aedbef225455ee5679b1997573b14834dcfb.tar.gz
eselect-4651aedbef225455ee5679b1997573b14834dcfb.tar.bz2
eselect-4651aedbef225455ee5679b1997573b14834dcfb.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--modules/rc.eselect2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3846850..66b7e4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-24 Ulrich Müller <ulm@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 <ulm@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