Skip to content

Restrict Avahi to the default route's interface in CI - #538

Merged
lo-simon merged 1 commit into
sony:masterfrom
garethsb:bugfix/ci-avahi-interface
Nov 13, 2026
Merged

lo-simon merged 1 commit into
sony:masterfrom
garethsb:bugfix/ci-avahi-interface

Conversation

@garethsb

Copy link
Copy Markdown
Contributor

The "ubuntu avahi setup" step set allow-interfaces=eth0 in /etc/avahi/avahi-daemon.conf. Some GitHub-hosted Ubuntu runners now name their network interface enp39s0 instead of eth0. On those runners, avahi-daemon joined no interface after the restart, and the publish/browse self-test failed with "avahi-daemon cannot browse locally published services" (example job, runner image 20261111.127.1).

This change takes the interface name from the default route instead, so the step works whatever the runner calls its interface.

Only the Linux Avahi jobs are affected. The Windows jobs and the Linux jobs that build mDNSResponder don't run this step.

Co-authored-by: Gareth's 🤖 buddy

The ubuntu avahi setup step set allow-interfaces=eth0 in
avahi-daemon.conf. Some GitHub-hosted Ubuntu runners now name their
network interface enp39s0, so after the restart avahi-daemon joined no
interface and the publish/browse self-test failed.

Take the interface name from the default route instead.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>

@lo-simon lo-simon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lo-simon
lo-simon merged commit b7650b3 into sony:master Nov 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants