From 9a612f754c6fcd5bbc6872e1bfad91884bbe9152 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Thu, 6 Apr 2023 12:51:12 +0200 Subject: [PATCH] Fix dhcpcd --- apparmor.d/groups/network/dhcpcd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apparmor.d/groups/network/dhcpcd b/apparmor.d/groups/network/dhcpcd index 96a524bf..e58db055 100644 --- a/apparmor.d/groups/network/dhcpcd +++ b/apparmor.d/groups/network/dhcpcd @@ -42,13 +42,13 @@ profile dhcpcd @{exec_path} flags=(attach_disconnected) { @{PROC}/@{pid}/stat r, @{PROC}/sys/kernel/hostname r, @{PROC}/sys/net/ipv{4,6}/conf/** r, - @{PROC}/sys/net/ipv{4,6}/conf/@{hex}/accept_ra rw, - @{PROC}/sys/net/ipv{4,6}/conf/@{hex}/hop_limit w, - @{PROC}/sys/net/ipv{4,6}/neigh/@{hex}/{base_reachable_time_ms,retrans_time_ms} w, + @{PROC}/sys/net/ipv{4,6}/conf/*/accept_ra rw, + @{PROC}/sys/net/ipv{4,6}/conf/*/hop_limit w, + @{PROC}/sys/net/ipv{4,6}/neigh/*/{base_reachable_time_ms,retrans_time_ms} w, @{etc_ro}/dhcpcd.conf r, @{etc_rw}/resolv.conf rw, - @{run}/dhcpcd/@{hex}.pid wk, - @{run}/dhcpcd/@{hex}.sock w, + @{run}/dhcpcd/*.pid wk, + @{run}/dhcpcd/*.sock w, @{run}/dhcpcd/hook-state/ rw, @{run}/dhcpcd/hook-state/resolv.conf.*.{dhcp,link} rw, @{run}/dhcpcd/hook-state/resolv.conf/ rw,