selinux-refpolicy/policy/modules
Sugar, David b3cbf00cba Allow systemd-hostnamed to set the hostname
When calling hostnamectl to set the hostname it needs sys_admin
capability to actually set the hostname.

Feb 13 11:47:14 localhost.localdomain systemd-hostnamed[7221]: Failed to set host name: Operation not permitted
type=AVC msg=audit(1550058524.656:1988): avc:  denied  { sys_admin } for  pid=7873 comm="systemd-hostnam" capability=21  scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:system_r:systemd_hostnamed_t:s0 tclass=capability permissive=0

Signed-off-by: Dave Sugar <dsugar@tresys.com>
2019-02-19 19:06:40 -08:00
..
admin Bump module versions for release. 2019-02-01 15:03:42 -05:00
apps Bump module versions for release. 2019-02-01 15:03:42 -05:00
kernel corenetwork: Module version bump. 2019-02-17 21:11:43 -05:00
roles sysadm: Module version bump. 2019-02-13 18:53:56 -05:00
services Add policy for stubby DNS resolver 2019-02-17 22:16:33 +01:00
system Allow systemd-hostnamed to set the hostname 2019-02-19 19:06:40 -08:00