Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160851 - Sandbox 1.2.18.1 sources /etc/profile
Summary: Sandbox 1.2.18.1 sources /etc/profile
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: High normal
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 10:06 UTC by gentoobug
Modified: 2007-01-08 13:28 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 gentoobug 2007-01-08 10:06:33 UTC
Sandbox 1.2.18.1 sources /etc/profile, which is completely braindead, as profile is for _interactive_ shells, i.e. i have "fortune" in there, which breaks e.g. paludis which parses the subshell output and gets confused by the fortune.


Reproducible: Always

Steps to Reproduce:
1. Put 'fortune all -a' in your profile
2. Enjoy that you get a nice fortune on every _interactive_ shell 
3. Run 'paludis -i world'

Actual Results:  
Paludis fails because it tries to open the dir '[text of the fortune]/usr/libexec/paludis'

Expected Results:  
Don't source profile and/or source bashrc instead.

Solution: Remove/comment the "source /etc/profile" line and/or replace it by a source of bashrc.
Comment 1 SpanKY gentoo-dev 2007-01-08 13:28:29 UTC
umm that's already been fixed in latest sources