rpm loses configs!

Elan Ruusamäe glen at delfi.ee
Mon May 4 16:01:05 CEST 2015


On 04.05.2015 16:42, Jeffrey Johnson wrote:
> On May 4, 2015, at 7:37 AM, Elan Ruusamäe wrote:
> ...
>> warning: /etc/ssh/sshd_config saved as /etc/ssh/sshd_config.rpmsave
>> warning: /etc/pam.d/sshd saved as /etc/pam.d/sshd.rpmsave
> ...
>>    5:openssh-server         warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
> ...
>
> Um no.
>
> rpm renames modified configs with .rpmsave and does not clobber modified configs
> by installing with .rpmnew. There is no "loses" there", all configuration was saved.
>
> However the erase should have followed the install, you have an ordering
> issue for some reason.
old and new ssh packages have same file as %config.
yet as result of that transaction:

1. warning: /etc/ssh/sshd_config saved as /etc/ssh/sshd_config.rpmsave
2. warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew

resulting /etc/ssh/sshd_config not present at all!

haven't seen such issue for quite long time!

-- 
glen



More information about the pld-devel-en mailing list