Red Hat Bugzilla – Bug 1006032
local configuration file (.modulespath) in environment-modules package not preserved on upgrade
Last modified: 2014-06-02 09:02:30 EDT
Description of problem:
Updating the environment-modules package (via 'yum update') causes the locally-modified configuration file
to be replaced with the generic file from the distribution package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install the environment-modules package:
yum -y install environment-modules
2. Modify the configuration file
echo "# This file was locally modified" >> /usr/share/Modules/init/.modulespath
3. Reinstall or update the package:
yum -y reinstall environment-modules
The file "/usr/share/Modules/init/.modulespath" is replaced with the generic file from the distribution.
The locally modified configuration file "/usr/share/Modules/init/.modulespath" should be retained. The distribution version should be installed as ".modulespath.rpmnew".
Is there any reason why this bug should be private?
(In reply to Jan Synacek from comment #1)
> Is there any reason why this bug should be private?
Nope, that wasn't my intention.
Is it OK if I make the bug public then?
(In reply to Jan Synacek from comment #3)
> Is it OK if I make the bug public then?
Yes. Please. Of course. Absolutely. Don't wait. Go ahead.
The bug report was intended to be public from the beginning.
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).