Red Hat Bugzilla – Bug 1460461
etckeeper's .gitignore accidentally ignores dbus-1/system.d/org.projectatomic.rpmostree1.conf
Last modified: 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.
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"
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.