summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-01 21:04:51 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-02 07:44:07 +0000
commit6c42dbfd94738a7a6343894c36f7b5aeb0ceddf5 (patch)
treecf37659917c850e6140c756d36ad07c6df779f74 /debian
parent01a85dc583d5939e2396efb5c5550cccab96d4c6 (diff)
downloadvyos-1x-6c42dbfd94738a7a6343894c36f7b5aeb0ceddf5.tar.gz
vyos-1x-6c42dbfd94738a7a6343894c36f7b5aeb0ceddf5.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. (cherry picked from commit 2b57ca6c3f9ff98cd6d4dd2a101a8b72ed2d94f4)
Diffstat (limited to 'debian')
-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