Bug 1758799

Summary: RPM needs to mark /etc/frr/daemons as %config(noreplace)
Product: [Fedora] Fedora Reporter: redhat-bz
Component: frrAssignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 30CC: mruprich
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: frr-7.1-3.fc30 frr-7.1-4.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-15 22:39:31 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 redhat-bz 2019-10-05 19:01:42 UTC
Description of problem:
when updating the frr RPM, changes to /etc/frr/daemons were overwritten with no backup file kept.  Since this file controls which daemons are started, daemons expected to be running are stopped.

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

How reproducible:
always

Steps to Reproduce:
1. yum update frr

Actual results:
/etc/frr/daemons overwritten with no save file.

Expected results:
Ideally, existing /etc/frr/daemons kept. ("%config(noreplace) /etc/frr/daemons" in frr.spec)
Alternately, backup copy kept as .rpmorig ("%config /etc/frr/daemons" in frr.spec)

Additional info:

Comment 1 Michal Ruprich 2019-10-07 06:39:19 UTC
Right, thanks for that. Adding right now.

Comment 2 Fedora Update System 2019-10-07 07:22:31 UTC
FEDORA-2019-0e066b0daa has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0e066b0daa

Comment 3 Fedora Update System 2019-10-07 07:22:35 UTC
FEDORA-2019-d17641350a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d17641350a

Comment 4 Fedora Update System 2019-10-08 20:32:45 UTC
frr-7.1-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-128f20082d

Comment 5 Fedora Update System 2019-10-08 21:41:55 UTC
frr-7.1-4.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d17641350a

Comment 6 Fedora Update System 2019-10-15 22:39:31 UTC
frr-7.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2019-10-26 17:22:53 UTC
frr-7.1-4.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.