2006-04-12 20:35:41 +00:00
|
|
|
# $Id$
|
2006-04-11 21:52:54 +00:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# 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 <tunables/global>
|
|
|
|
|
|
|
|
/sbin/dhcpcd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/nameservice>
|
|
|
|
|
|
|
|
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,
|
|
|
|
}
|