/etc/avahi can be deleted since we operate with avahi-daemon configuration in /run/avahi-daemon
Description
Description
Details
Details
- Version
- 1.4, 1.5
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Internal change (not visible to end users)
Related Objects
Related Objects
- Mentioned In
- rVYOSONEXe0a6f8fa7ef1: Merge pull request #2563 from vyos/mergify/bp/sagitta/pr-2562
rVYOSONEX6c42dbfd9473: mdns: T5793: Cleanup avahi-daemon configuration in `/etc`
rVYOSONEX2b57ca6c3f9f: mdns: T5793: Cleanup avahi-daemon configuration in `/etc`
rVYOSONEXcc11f6756e3c: Merge pull request #2562 from indrajitr/avahi-cleanup-2
rVYOSONEX883ab5d1c450: Merge pull request #2560 from vyos/mergify/bp/sagitta/pr-2559
rVYOSONEX68d416185886: mdns: T5793: Cleanup avahi-daemon configuration in `/etc`
rVYOSONEX33c96654f485: mdns: T5793: Cleanup avahi-daemon configuration in `/etc`
rVYOSONEX115c106bfbf7: Merge pull request #2559 from indrajitr/avahi-cleanup
Event Timeline
Comment Actions
Cannot pass smoketest, @indrajitr could you re-check?
DEBUG - Running Testcase: /usr/libexec/vyos/tests/smoke/cli/test_service_mdns-repeater.py
DEBUG - test_service_dual_stack (__main__.TestServiceMDNSrepeater.test_service_dual_stack) ... FAIL
DEBUG - test_service_ipv4 (__main__.TestServiceMDNSrepeater.test_service_ipv4) ... FAIL
DEBUG - test_service_ipv6 (__main__.TestServiceMDNSrepeater.test_service_ipv6) ... FAIL
DEBUG -
DEBUG - ======================================================================
DEBUG - FAIL: test_service_dual_stack (__main__.TestServiceMDNSrepeater.test_service_dual_stack)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_service_mdns-repeater.py", line 47, in tearDown
DEBUG - self.assertTrue(process_named_running('avahi-daemon'))
DEBUG - AssertionError: None is not true
DEBUG -
DEBUG - ======================================================================
DEBUG - FAIL: test_service_ipv4 (__main__.TestServiceMDNSrepeater.test_service_ipv4)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_service_mdns-repeater.py", line 47, in tearDown
DEBUG - self.assertTrue(process_named_running('avahi-daemon'))
DEBUG - AssertionError: None is not true
DEBUG -
DEBUG - ======================================================================
DEBUG - FAIL: test_service_ipv6 (__main__.TestServiceMDNSrepeater.test_service_ipv6)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_service_mdns-repeater.py", line 47, in tearDown
DEBUG - self.assertTrue(process_named_running('avahi-daemon'))
DEBUG - AssertionError: None is not true
DEBUG -
DEBUG - ----------------------------------------------------------------------
DEBUG - Ran 3 tests in 11.145s
DEBUG -
DEBUG - FAILED (failures=3)Comment Actions
Looks like, we still need to keep /etc/avahi/services because avahi-daemon chroot to that location at startup. This is set up at build time via AVAHI_CONFIG_DIR and there is no way to change it at runtime.
Oddly this worked for me locally because I had a stray /etc/avahi/services directory lying around.
Fix coming up.