Summary: | app-shells/bash should update /etc/bash/bashrc on any bash-update as well | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wilbur Pan <wilburpan> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wilbur Pan
2009-03-19 18:05:43 UTC
Okay - I did some more testing and it seems that the /etc/bash/bashrc file that I had was from a previous version of bash (app-shells/bash-4.0_p10-r1). The current version of bash has a different /etc/bash/bashrc, without the code activating bash-completion that I quoted. This still should be a bug, as it seems to me that if there are going to be changes to /etc/bash/bashrc, this file should be updated as bash gets updated. Okay - I did some more testing and it seems that the /etc/bash/bashrc file that I had was from a previous version of bash. The current version of bash ((app-shells/bash-4.0_p10-r1) has a different /etc/bash/bashrc, without the code activating bash-completion that I quoted. This still should be a bug, as it seems to me that if there are going to be changes to /etc/bash/bashrc, this file should be updated as bash gets updated. Well /etc belongs to the CONFIG_PROTECT variable and so does any subdirectory of /etc which was not explicitly added to CONFIG_PROTECT_MASK variable. I'm not sure this is a wise idea to let every bash-update overwrite that file without the intermediate step through etc-update which gives the user some kind of control about which files should be updated in /etc. Let's see, what bash maintainers think about this. Actually, etc-update was what I had in mind. I don't know how I left that tidbit out of my previous comments, although the dual entry should show that I was having issues. In any case, I don't recall etc-update giving me an option for updating /etc/bash/bashrc. this is already fixed in bash-4 |