Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42536 - Stop changing /etc/profile or add /etc/profile.local
Summary: Stop changing /etc/profile or add /etc/profile.local
Status: RESOLVED DUPLICATE of bug 38381
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 18:51 UTC by Tad Marko
Modified: 2005-07-17 13:06 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 Tad Marko 2004-02-22 18:51:51 UTC
/etc/profile.env says that local changes to profiles go in /etc/profile, yet /etc/profile gets updated occasionally (more than once causing me to lose customizations if I failed to noticed that profile was going to be overwritten). Please consider adding code to source /etc/profile.local or some such if it exists to the standard /etc/profile. If there is already some better place for this sort of thing, please educate me and disregard this bug.

Reproducible: Always
Steps to Reproduce:
1. Emerge a baselayout update.
Actual Results:  
/etc/profile was updated.

Expected Results:  
/etc/profile updating is fine, but /etc/profile should source /etc/profile.local
if such exists.
Comment 1 SpanKY gentoo-dev 2004-02-22 18:56:55 UTC
if you cant update your /etc files properly perhaps you should look into backing them up with rcs

see /etc/dispatch-conf.conf and a recent GWN for a quick HOWTO

*** This bug has been marked as a duplicate of 38381 ***