Ticket #461 (closed defect: duplicate)
Paludis removes config files during upgrade
|Reported by:||robryk||Owned by:||ciaranm|
If an installed package contains an unchanged config file (ie. a protected file) and a new version contains a modified version thereof, paludis first adds a ._cfg... file during merging and then, during unmerging of the old version removes the original file, thus leaving no file in place. If the config file has been changed, it isn't removed due to its modification time, but for some reason config protection checking doesn't seem to work. I am positive that in the vdb directories, in environment.bz2, CONFIG_PROTECT and CONFIG_PROTECT_MASK are set and CONFIG_PROTECT contains /etc.
I don't know whether this appears in newer versions of paludis, but I think this might cause system to be inaccessible (for example, after baselayout or pam update), so users should be warned against it.