# $Id$ # ------------------------------------------------------------------ # # Copyright (C) 2002-2005 Novell/SUSE # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ # # If you wish to use /etc/sysconfig/network/scripts/dhcpcd-hook, be sure # to configure a subdomain profile for it. # # Note that dhcpcd (at least as distributed by SuSE) offers to rewrite # ntp.conf and yp.conf in addition to resolv.conf. # # vim:syntax=apparmor #include /sbin/dhcpcd { #include #include capability net_raw, capability net_admin, /etc/dhcpc/* rwl, /etc/resolv.conf{,.sv} rwl, /etc/ntp.conf{,.sv} rwl, /etc/yp.conf{,.sv} rwl, /etc/sysconfig/network/scripts/dhcpcd-hook rpx , /sbin/dhcpcd rix, /sbin/modify_resolvconf rix, /var/run/dhcpcd-*.pid rwl, }