Description of problem:
Using dnf reinstall or yum reinstall does not restore any deleted config files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mv /etc/rsyncd.conf /etc/rsyncd.conf.bak
2. yum reinstall rsync
3. ls /etc/rsyncd.conf
File not found
Original rsyncd.conf restored.
Also tried with authselect - I can remove the whole /etc/authselect directory and reinstall it and it doesn't restore the default config, but it does at least restore the /usr/bin/authselect binary if you delete that too.
RHEL 7.6 with yum-3.4.3-161.0.1.el7 works as expected.
That's because you're reinstalling the wrong package, /etc/rsyncd.conf comes from rsync-daemon not rsync.
(In reply to Panu Matilainen from comment #1)
> That's because you're reinstalling the wrong package, /etc/rsyncd.conf comes
> from rsync-daemon not rsync.
ok that seems to work, but authselect doesn't so looks like an authselect packaging bug?
mv authselect/ authselect.bak
dnf reinstall authselect
ls: cannot access '/etc/authselect': No such file or directory
On Fedora at least,
$ rpm -qf /etc/authselect
seems you're right, i'm sure i already ran that, must have been cross-eyed!
[root@vbrhel8 ~]# dnf whatprovides /etc/authselect
authselect-libs-1.0-5.el8.x86_64 : Utility library used by the authselect tool
please close this, i can't change the status for some reason
As per above, closing again.