Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28560 - genkernel script resets PATH
Summary: genkernel script resets PATH
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brad House
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-12 15:59 UTC by Sergey Okhapkin
Modified: 2004-01-18 08:06 UTC (History)
5 users (show)

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 Sergey Okhapkin 2003-09-12 15:59:25 UTC
genkernel script should assign some value to EBUILD variable before 
soursing /sbin/functions.sh to not reset PATH to default value in functions.sh

Reproducible: Always
Steps to Reproduce:
1. Prepare system to use distcc (add /usr/lib/distcc/bin to the front of PATH)
2. Run genkernel

Actual Results:  
distcc is not being called for the kernel compilation
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-09-12 20:38:22 UTC
It's a bit weird that functions.sh resets the path.
Comment 2 SpanKY gentoo-dev 2003-09-12 20:43:12 UTC
i'd imagine that functions.sh resets the path so that rc-scripts are guaranteed sane setups
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-13 13:50:10 UTC
Yep.
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-10-22 19:31:26 UTC
Could we make a temp variable for $PATH, source functions.sh, and then reset
path? It is hackish, but it is the sanest way to fix this ...
Comment 5 Brad House 2004-01-18 08:06:08 UTC
err, genkernel 3 doesn't source /sbin/functions
you're probably thinking of an older release, and we
are not supporting genkernel < 3