Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660984 - app-admin/eselect "rc" module has improper PATH for service_* for prefix support
Summary: app-admin/eselect "rc" module has improper PATH for service_* for prefix support
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 07:43 UTC by kuzetsa CatSwarm (kuza for short)
Modified: 2020-07-24 13:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kuzetsa CatSwarm (kuza for short) 2018-07-12 07:43:19 UTC
example output:

kuzetsa@a910231c ~ $ eselect rc show
Status of init scripts in runlevel "default"
/opt/redacted/usr/share/eselect/modules/rc.eselect: line 70: service_stopping: command not found
/opt/redacted/usr/share/eselect/modules/rc.eselect: line 70: service_starting: command not found
/opt/redacted/usr/share/eselect/modules/rc.eselect: line 70: service_inactive: command not found
/opt/redacted/usr/share/eselect/modules/rc.eselect: line 70: service_started: command not found
/opt/redacted/usr/share/eselect/modules/rc.eselect: line 70: service_stopped: command not found

(hardcoded) workaround / troubleshooting remedy by updating line:

local PATH=/lib/rc/bin:/lib64/rc/bin:${PATH} # path to service_* commands

to contain the prefix path:

/opt/redacted
Comment 1 Benda Xu gentoo-dev 2020-07-24 13:15:52 UTC
Looks like the bug is not reproducible with OpenRC 0.42.1.