selinux-refpolicy/policy/modules
Yi Zhao 25251b1f3b sysnet: allow dhcpcd to create socket file
The dhcpcd needs to create socket file under /run/dhcpcd directory.

Fixes:
AVC avc:  denied  { create } for  pid=331 comm="dhcpcd" name="eth0.sock"
scontext=system_u:system_r:dhcpc_t:s0-s15:c0.c1023
tcontext=system_u:object_r:dhcpc_runtime_t:s0 tclass=sock_file
permissive=0

AVC avc:  denied  { setattr } for  pid=331 comm="dhcpcd"
name="eth0.sock" dev="tmpfs" ino=19153
scontext=system_u:system_r:dhcpc_t:s0-s15:c0.c1023
tcontext=system_u:object_r:dhcpc_runtime_t:s0 tclass=sock_file
permissive=0

AVC avc:  denied  { sendto } for  pid=331 comm="dhcpcd"
scontext=system_u:system_r:dhcpc_t:s0-s15:c0.c1023
tcontext=system_u:system_r:dhcpc_t:s0-s15:c0.c1023
tclass=unix_dgram_socket permissive=0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2020-09-21 14:23:09 +08:00
..
admin selinux, init, systemd, rpm: Module version bump. 2020-09-09 16:55:06 -04:00
apps various: Module version bump. 2020-08-28 15:30:52 -04:00
kernel selinux, init, systemd, rpm: Module version bump. 2020-09-09 16:55:06 -04:00
roles Bump module versions for release. 2020-08-18 09:09:10 -04:00
services bind: Module version bump. 2020-09-09 11:25:28 -04:00
system sysnet: allow dhcpcd to create socket file 2020-09-21 14:23:09 +08:00