From 2b57ca6c3f9ff98cd6d4dd2a101a8b72ed2d94f4 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Fri, 1 Dec 2023 21:04:51 -0600 Subject: 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. --- debian/vyos-1x.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3