feat(profiles): remove avahi-daemon as it already exist.

This commit is contained in:
Alexandre Pujol 2023-01-27 21:50:11 +00:00
parent 3498be7a37
commit b7299cecbb
Failed to generate hash of commit

View file

@ -1,36 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/avahi-daemon
profile avahi-daemon @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
network inet dgram,
network inet6 dgram,
dbus send bus=system path=/Client[0-9]*/ServiceBrowser[0-9]*
interface=org.freedesktop.Avahi.ServiceBrowser
peer=(name=:*, label="{colord-sane,gsd-print-notifications}"), # all members
dbus receive bus=system path=/
interface=org.freedesktop.DBus.Peer
member=Ping
peer=(name=:*, label="{colord-sane,gsd-print-notifications}"),
dbus receive bus=system path=/
interface=org.freedesktop.Avahi.Server
peer=(name=:*, label="{colord-sane,gsd-print-notifications}"), # all members
@{exec_path} mr,
/etc/avahi/** r,
include if exists <local/avahi-daemon>
}