Bug 962762

Summary: /etc/profile.d/modules.csh still not preserved on upgrade
Product: [Fedora] Fedora Reporter: Jan Synacek <jsynacek>
Component: environment-modulesAssignee: Orion Poplawski <orion>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jsynacek, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: environment-modules-3.2.10-5.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 03:38:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Specfile fix none

Description Jan Synacek 2013-05-14 11:58:50 UTC
Created attachment 747662 [details]
Specfile fix

Description of problem:
/etc/profile.d/modules.csh is marked as config(noreplace). However, it's a symlink and that means that the target file has to be marked as well to have the desired effect. Otherwise changes made to the file are not preserved, only changes made to *the symlink* (e.g. making it point to another file).

Version-Release number of selected component (if applicable):
environment-modules-3.2.10-4.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install the package and edit /etc/profile.d/modules.csh
2. Reinstall the package
3. The change is gone.
  
Actual results:
Changes are not preserved.

Expected results:
Changes are preserved.

Comment 1 Orion Poplawski 2013-05-14 14:59:37 UTC
Gah, thanks.  Should be fixed in environment-modules-3.2.10-5.fc20

Comment 2 Fedora End Of Life 2013-09-16 16:58:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20