Bug 1460461

Summary: etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic.rpmostree1.conf
Product: [Fedora] Fedora Reporter: Chad Versace <chad>
Component: etckeeperAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 26CC: thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-03 09:51:52 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 Chad Versace 2017-06-11 00:02:30 UTC
Description of problem:

etckeeper generates a /etc/.gitignore with a too eager rule: `*.rpm.*`. The rule's intent is to ignore *.rpmnew and *.rpmsave, but it also accidentally ignores /etc/dbus-1/system.d/org.projectatomic.rpmostree1.conf.

Package Version:

etckeeper-1.18.5-3.fc26.noarch

Steps to Reproduce:

$ grep /etc/etckeeper/update-ignore.d/01update-ignore
	elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "rpm" ]; then
		comment "new and old versions of conffiles, stored by apt/rpm"
		ignore "*.rpm*"

Expected Behavior:

Option 1. The generated /etc/.gitignore should replace *.rpm* with the rules *.rpmnew and *.rpmsave.

Option 2. (My preferred option). The generated /etc/.gitignore should NOT ignore *.rpmnew and *.rpmsave files at all.

Comment 1 Fedora End Of Life 2018-05-03 09:02:59 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Thomas Moschny 2018-05-03 09:51:52 UTC
Fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2018-e8052e9869 .