From d0cfcfa00437a3c9dfaaaab5199e1ded3340f11b Mon Sep 17 00:00:00 2001 From: Seth Arnold Date: Mon, 11 Jun 2007 22:14:18 +0000 Subject: [PATCH] add a bunch of rules for dhcpcd -- including two Ux rules. Ugh. Should fix that, but they look like big black holes. --- profiles/apparmor/profiles/extras/sbin.dhcpcd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/apparmor/profiles/extras/sbin.dhcpcd b/profiles/apparmor/profiles/extras/sbin.dhcpcd index 67403b3c6..c06e4f719 100644 --- a/profiles/apparmor/profiles/extras/sbin.dhcpcd +++ b/profiles/apparmor/profiles/extras/sbin.dhcpcd @@ -28,14 +28,19 @@ capability sys_admin, /bin/bash rmix, + /bin/touch rmix, + /dev/tty rw, /etc/dhcpc/* rwl, + /etc/init.d/syslog Ux, # fixme /etc/resolv.conf{,.sv} rwl, /etc/ntp.conf{,.sv} rwl, /etc/sysconfig/network/scripts/dhcpcd-hook rmix, /etc/yp.conf{,.sv} rwl, /sbin/dhcpcd rmix, + /sbin/ifup Ux, # fixme /sbin/modify_resolvconf rmix, /var/lib/dhcpcd/dhcpcd-*.cache rw, /var/lib/dhcpcd/dhcpcd-*.info rw, + /var/lib/dhcpcd/dhcpcd-*.info.old rw, /var/run/dhcpcd-*.pid rwl, }