Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11304 - etc-update for users?
Summary: etc-update for users?
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2002-11-27 10:53 UTC by Sanity In Anarchy
Modified: 2006-07-19 03:28 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Sanity In Anarchy 2002-11-27 10:53:17 UTC
I've already submitted two suggestions today, so I'll make this one

/etc/skel is an example of a default configuration that might be
copied for individual users.  But when I run etc-update to update
/etc/skel/.bashrc (for example) each user has to figure out that it's
updated and manually update ~/.bashrc.  It would be a terrible hack to
symlink individual users' configs to global defaults.

Would it be feasable to automate the proccess of updating user configs
from updated global defaults?
Comment 1 Matt Taylor 2002-11-27 12:44:40 UTC
if ~/.bashrc had 'source /etc/skel/.bashrc' then any global changes would be
included in users configs and this allows the users to tweak their own configs.
Comment 2 Sanity In Anarchy 2002-11-27 19:36:55 UTC
Ok, then, bashrc was a poor example.  What about fluxbox config?  Or
any config, for that matter, that works on a per-user basis, storing
text files in the user's home dir?
Comment 3 Aaron Peterson 2004-08-25 18:40:28 UTC
This is an awesome idea!

If all the config files were inherreting value-key pairs, we might be able to have an even smarter management of the system.

However, some configs do not lend themselves to value + keys naturally.. but, anyway, it would be really nice to have a centralized system for storing user data, without having 100's of .blah directories in the home dir... 

oh.. I think that's called the registry in windows...

anyway, etc-update for userdirs would be awesome...
and it's a step in the right direction..
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2006-07-19 03:28:43 UTC
Beyond the scope of etc-update (this is about local site policies).