Bug 1460461 - etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic.rpmostree1.conf
Summary: etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic...
Alias: None
Product: Fedora
Classification: Fedora
Component: etckeeper
Version: 26
Hardware: noarch
OS: Linux
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2017-06-11 00:02 UTC by Chad Versace
Modified: 2018-05-03 09:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-05-03 09:51:52 UTC
Type: Bug

Attachments (Terms of Use)

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:


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 .

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