Bug 1460461 - etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic.rpmostree1.conf
etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic...
Status: NEW
Product: Fedora
Classification: Fedora
Component: etckeeper (Show other bugs)
26
noarch Linux
unspecified Severity low
: ---
: ---
Assigned To: Thomas Moschny
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-10 20:02 EDT by Chad Versace
Modified: 2017-06-10 20:02 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chad Versace 2017-06-10 20:02:30 EDT
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.

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