Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124472 - Some fixups for env.eselect
Summary: Some fixups for env.eselect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-02-28 15:43 UTC by Danny van Dyk (RETIRED)
Modified: 2006-04-14 10:42 UTC (History)
1 user (show)

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


Attachments
Cleanup for env.eselect (eselect-env-cleanup.patch,3.07 KB, patch)
2006-02-28 15:44 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danny van Dyk (RETIRED) gentoo-dev 2006-02-28 15:43:02 UTC
The following patch:
 * uses a temporary file for /etc/profile.env creation
 * honours teh fact that /etc/profile.env and friends can be symlinks.

TODO:
 * Get info from solar if mktemp-usage is ok as is.
 * Let chutzpah test this :-)
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2006-02-28 15:44:45 UTC
Created attachment 80996 [details, diff]
Cleanup for env.eselect
Comment 2 Patrick McLean gentoo-dev 2006-02-28 17:37:33 UTC
Works fairly well, except that /etc/profile.env keeps getting created with mode 600.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2006-03-08 01:09:09 UTC
Permission problem is fixed. Everything is in SVN.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2006-04-14 10:42:22 UTC
Fixed as of eselect-1.0.2