When running dnf as non root user, the following error is displayed: /etc/etckeeper/pre-install.d/10packagelist: line 4: /var/cache/etckeeper/packagelist.pre-install: Permission denied /etc/etckeeper/pre-install.d/10packagelist: line 5: /var/cache/etckeeper/packagelist.fmt: Permission denied That happens even during autocomplete, where it is especially annoying. For example trying to autocomplete `dnf info etcke` (write it into bash and then press TAB) shows the error between entered text and the completion. I think pre-install.d/10packagelist should not be run in this case at all. Reproducible: Always Steps to Reproduce: 1. have etckeeper-dnf5 installed 2. as non root run `dnf info etckeeper` 3. Observe the error message is displayed before output. Additional Information: etckeeper-dnf5 is Version : 1.18.22 Release : 3.fc42
I am seeing this too. It is quite annoying. `etckeeper-dnf5` adds hooks to call etckeeper for certain dnf commands. The only think I can think of is that bash-completion hooks into call dnf to assist with completion, and that either dnf changed to call the hooks that etckeeper bound itself to, or bash-completion changed so that completion now uses different syntax to call dnf. I never experienced the issue before.