RPM

Comment 5 for bug 651463

Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

Just in case it's not obvious from between the lines of the above, the simple workaround to this issue is: If you dont want rpm to touch the config file, just modify it before making it immutable. Anything that changes the checksum of the file will do, such as adding a blank trailing line (which many, if not all config files accept):

# echo -e "\n" >> /etc/samba/smb.conf
# chattr +i /etc/samba/smb.conf