/etc/avahi can be deleted since we operate with avahi-daemon configuration in /run/avahi-daemon
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- 1.4, 1.5
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Internal change (not visible to end users)
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.