summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-01 21:04:51 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-01 21:04:51 -0600
commit2b57ca6c3f9ff98cd6d4dd2a101a8b72ed2d94f4 (patch)
tree44c004797febb3e538a05b2a2f98f22ae2193f11
parent33c96654f485a13fe3475bb89dec3ad26107058e (diff)
downloadvyos-1x-2b57ca6c3f9ff98cd6d4dd2a101a8b72ed2d94f4.tar.gz
vyos-1x-2b57ca6c3f9ff98cd6d4dd2a101a8b72ed2d94f4.zip
mdns: T5793: Cleanup avahi-daemon configuration in `/etc`
`/etc/avahi` technically can be deleted since we operate with avahi-daemon configuration in `/run/avahi-daemon`. But we still need to keep `/etc/avahi/services` because avahi-daemon `chroot` to that location at startup. This is setup at build time via `AVAHI_CONFIG_DIR` and there is no way to change it at runtime.
-rw-r--r--debian/vyos-1x.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 5bd6e19c6..64c60a780 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -172,7 +172,7 @@ fi
DELETE="/etc/logrotate.d/conntrackd.distrib /etc/init.d/conntrackd /etc/default/conntrackd
/etc/default/pmacctd /etc/pmacct
/etc/networks_list /etc/networks_whitelist /etc/fastnetmon.conf
- /etc/ntp.conf /etc/default/ssh /etc/avahi
+ /etc/ntp.conf /etc/default/ssh /etc/avahi/avahi-daemon.conf /etc/avahi/hosts
/etc/powerdns /etc/default/pdns-recursor
/etc/ppp/ip-up.d/0000usepeerdns /etc/ppp/ip-down.d/0000usepeerdns"
for tmp in $DELETE; do