Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12601 - Runscript.sh should check $PATH
Summary: Runscript.sh should check $PATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-22 23:43 UTC by Kyle Manna (RETIRED)
Modified: 2002-12-25 13:19 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 Kyle Manna (RETIRED) gentoo-dev 2002-12-22 23:43:31 UTC
/sbin/runscript.sh should check the $PATH variable for inclusion of
"/sbin:/usr/sbin".

Example:
$ sudo /etc/init.d/apache start 
 * Starting apache...
/sbin/runscript.sh: line 13: start-stop-daemon: command not found         [ !! ]


Suggested fix:
Around line 8 add another PATH check, or just always use the same PATH.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 13:19:30 UTC
Fixed in baselayout-1.8.5.7.