RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1653420 - DELETE_PLEASE
Summary: DELETE_PLEASE
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: authselect
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Packaging Maintenance Team
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-26 19:44 UTC by bugzilla
Modified: 2018-12-03 08:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-03 08:41:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description bugzilla 2018-11-26 19:44:40 UTC
Description of problem:

Using dnf reinstall or yum reinstall does not restore any deleted config files.

Version-Release number of selected component (if applicable):

dnf-4.0.4-1.el8.noarch

How reproducible:

100%

Steps to Reproduce:
1. mv /etc/rsyncd.conf /etc/rsyncd.conf.bak
2. yum reinstall rsync
3. ls /etc/rsyncd.conf

Actual results:

File not found

Expected results:

Original rsyncd.conf restored.

Additional info:

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.

Comment 1 Panu Matilainen 2018-11-27 09:38:12 UTC
That's because you're reinstalling the wrong package, /etc/rsyncd.conf comes from rsync-daemon not rsync.

Comment 2 bugzilla 2018-11-27 12:56:24 UTC
(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?

cd /etc
mv authselect/ authselect.bak
dnf reinstall authselect
ls /etc/authselect
ls: cannot access '/etc/authselect': No such file or directory

Comment 3 Panu Matilainen 2018-11-27 12:58:45 UTC
On Fedora at least,

$ rpm -qf /etc/authselect
authselect-libs-1.0.1-2.fc29.x86_64

Comment 4 bugzilla 2018-11-27 13:43:26 UTC
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

Comment 5 bugzilla 2018-11-29 15:27:22 UTC
please close this, i can't change the status for some reason

Comment 6 Panu Matilainen 2018-12-03 08:41:20 UTC
As per above, closing again.


Note You need to log in before you can comment on or make changes to this bug.