etckeeper fails to track symlinks to /dev/null, as created by systemctl mask X
.
This is because git refuses to track symlinks to files which lie outside the git repository.
Supporting symlinks outside the repository is also required for /etc/alternatives.
- Huh, I was 100% wrong. done. Some user error, I can't work out what though.
git has no trouble storing a symlink to /dev/null here. AFAIK, git doesn't care in the slightest where a symlink points and never has.
And, I have a /etc/systemd/system/minetest-server.service link to /dev/null here which etckeeper committed in 2015.
Huh, I was 100% wrong. done. Some user error, I can't work out what though.
I'm fairly sure this was when I masked fwupd.service. That was on Fedora 25 Workstation, my current laptop.
I can successfully use
git log
on either /etc/systemd/system or-- /etc/systemd/system/fwupd.service
, and I see the service being masked and later unmasked.