-
Notifications
You must be signed in to change notification settings - Fork 4
/
sbin.dhcpcd
50 lines (43 loc) · 1.29 KB
/
sbin.dhcpcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Last Modified: Wed Jan 18 14:06:39 2012
# ------------------------------------------------------------------
#
# 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.
#
#include <tunables/global>
/sbin/dhcpcd {
#include <abstractions/base>
#include <abstractions/nameservice>
capability dac_override,
capability net_admin,
capability net_raw,
capability sys_admin,
/bin/bash mrix,
/bin/touch mrix,
/dev/tty rw,
/etc/* r,
/etc/dhcpc/* rwl,
/etc/init.d/syslog Ux,
/etc/ntp.conf{,.sv} rwl,
/etc/resolv.conf{,.sv} rwl,
/etc/sysconfig/network/scripts/dhcpcd-hook mrix,
/etc/yp.conf{,.sv} rwl,
/proc/sys/** w,
/sbin/dhcpcd mrix,
/sbin/ifup Ux,
/sbin/modify_resolvconf mrix,
/usr/lib/networkmanager/nm-dhcp-client.action rix,
/var/lib/dhcpcd/* rw,
/{,var/}run/dhcpcd-*.pid rwlk,
}