Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9176 - The file bash_completion does not belong in /etc
Summary: The file bash_completion does not belong in /etc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: Bartosch Pixa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-15 16:11 UTC by Joakim Lindblad
Modified: 2003-03-02 06:37 UTC (History)
2 users (show)

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 Joakim Lindblad 2002-10-15 16:11:25 UTC
The file /etc/bash_completion created from ebuild app-shells/bash-completion (up
to and including 20021013) does not belongs in /etc.
It is not a configuration file and should thus be located somewhere else.
The placement in /etc only generates a lot of undesired etc-update requests.
Ok, it is the default placement suggested by the bash-completion project, but it
is still wrong, esp. in the otherwise well structured Gentoo environment.
Comment 1 SpanKY gentoo-dev 2002-10-15 21:10:03 UTC
well cant you make a similar arguement about /etc/profile ?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-18 14:35:45 UTC
where would you suggest?
Comment 3 Maik Schreiber 2003-02-18 20:07:44 UTC
I think it should be somewhere in /usr/share/.
Comment 4 Bartosch Pixa (RETIRED) gentoo-dev 2003-03-02 04:11:11 UTC
i dont agree, bash_completion configures the completion code in bash so /etc
seems to be the apropriate place for it
Comment 5 Joakim Lindblad 2003-03-02 06:23:34 UTC
Duh... I guess I was a bit lost when submitting this bug. I more or less missed the fact that /etc/bash_completion does contain a whole lot of config data (although in a not very easy reading fashion, I wouldn't mind a bit cleaner separation of config and script code in that file, but that is of course not a Gentoo issue) and probably was mostly annoyed that it constantly popped up in my etc-update sessions. With the great new automerge behaviour of etc-update I won't see that anymore. 
So, sorry for waisting your time folks. 
Close thread at will.
Comment 6 Bartosch Pixa (RETIRED) gentoo-dev 2003-03-02 06:37:50 UTC
closing bug, as poster agreed that the current location is correct