Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431234 - interactive installer requires root access due to PATH reset
Summary: interactive installer requires root access due to PATH reset
Status: RESOLVED FIXED
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: 2012-08-13 14:10 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2012-08-13 15:31 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 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-08-13 14:10:05 UTC
Due to the PATH reset on line 1212, you are forcing the user to have root access to install a compiler in the PATH. This is not ideal.

<output>
Ok, I'm going to do a little bit of guesswork here.  Thing is, your
machine appears to be identified by CHOST=ia64-hp-hpux11.31.

PATH="/usr/bin:/bin"
Well, well... let's make this painful situation as short as it can be:
you don't appear to have a compiler around for me to play with.
Go get one, then run me again.
</output>

But, I DO have a compiler! :)

bash-4.0$ type -P gcc                               
/net/nbstore/vol/tools/prefix/p/ia64-hpux-11.23/usr/bin/gcc
bash-4.0$
Comment 1 Fabian Groffen gentoo-dev 2012-08-13 15:31:34 UTC
you now get a chance to add to the PATH whatever you deem necessary.