Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1277025

Summary: rpmconf handles symlinks poorly
Product: [Fedora] Fedora Reporter: Christopher Tubbs <ctubbsii>
Component: rpmconfAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: gabriel, hammad.afzali, lzap, mkosek, msuchy, timwa1, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rpmconf-1.0.16-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 20:28:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Tubbs 2015-11-02 05:45:59 UTC
Description of problem:
ran `rpmconf -a` after updating mock with normal dnf upgrade and got a python stack trace because /etc/mock/default.cfg and /etc/mock/default.cfg.rpmnew were both symlinks

Version-Release number of selected component (if applicable):
rpmconf-1.0.12-1.fc22.noarch

How reproducible:
Always

Steps to Reproduce:
1. dnf upgrade mock to mock-1.2.13-2.fc22.noarch from previous version.
2. rpmconf -a

Actual results:
Stack trace with error message about /etc/mock/default.cfg not existing. Program terminated abnormally.

Expected results:
Program should prompt to address /etc/mock/default.cfg and /etc/mock/default.cfg.rpmnew

Additional info:

Comment 1 Miroslav Suchý 2015-11-22 13:25:20 UTC
*** Bug 1279496 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Suchý 2015-11-22 13:25:27 UTC
*** Bug 1279655 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Suchý 2015-11-26 14:48:31 UTC
*** Bug 1285477 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Suchý 2015-11-27 07:53:32 UTC
Fixed in commit:
* fef3024 (HEAD -> master, origin/master) 1277025 - handle broken symlinks

Comment 5 Fedora Update System 2015-11-30 10:03:35 UTC
rpmconf-1.0.15-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8588d401cd

Comment 6 Fedora Update System 2015-12-01 02:22:51 UTC
rpmconf-1.0.15-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update rpmconf'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8588d401cd

Comment 7 Fedora Update System 2015-12-01 12:24:08 UTC
rpmconf-1.0.16-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8588d401cd

Comment 8 Fedora Update System 2015-12-01 22:31:22 UTC
rpmconf-1.0.16-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update rpmconf'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8588d401cd

Comment 9 Fedora Update System 2015-12-07 20:28:26 UTC
rpmconf-1.0.16-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Miroslav Suchý 2016-02-02 18:35:41 UTC
*** Bug 1303934 has been marked as a duplicate of this bug. ***