Bug 1277025 - rpmconf handles symlinks poorly
Summary: rpmconf handles symlinks poorly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 22
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1279496 1279655 1285477 1303934 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-02 05:45 UTC by Christopher Tubbs
Modified: 2016-02-02 18:35 UTC (History)
7 users (show)

Fixed In Version: rpmconf-1.0.16-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 20:28:39 UTC


Attachments (Terms of Use)

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. ***


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