[PR #5088] [MERGED] Allow resolution of .local names with avahi-daemon in the apparmor profile #5358

Closed
opened 2026-05-05 10:37:00 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5088
Author: @slowpeek
Created: 4/2/2022
Status: Merged
Merged: 4/17/2022
Merged by: @netblue30

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 etc/apparmor/firejail-default (+3 -0)

📄 Description

Without this change here is what I see in syslog when running for example firejail --profile=ssh /usr/bin/ssh test.local:

Apr  2 14:59:29 kek kernel: [  177.596180] audit: type=1400 audit(1648900769.222:29): apparmor="DENIED" operation="connect" profile="firejail-default" name="/run/avahi-daemon/socket" pid=2562 comm="ssh" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0

So it can't access the socket hence can't resolve the name.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5088 **Author:** [@slowpeek](https://github.com/slowpeek) **Created:** 4/2/2022 **Status:** ✅ Merged **Merged:** 4/17/2022 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2d10e60`](https://github.com/netblue30/firejail/commit/2d10e603420be7b9e9e844898165aaf3af542370) Update firejail-default ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/apparmor/firejail-default` (+3 -0) </details> ### 📄 Description Without this change here is what I see in syslog when running for example `firejail --profile=ssh /usr/bin/ssh test.local`: ``` Apr 2 14:59:29 kek kernel: [ 177.596180] audit: type=1400 audit(1648900769.222:29): apparmor="DENIED" operation="connect" profile="firejail-default" name="/run/avahi-daemon/socket" pid=2562 comm="ssh" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0 ``` So it can't access the socket hence can't resolve the name. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:37:00 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5358
No description provided.