fedora-selinux / selinux-policy

selinux-policy for Fedora is a large patch off the mainline
GNU General Public License v2.0
156 stars 157 forks source link

Allow nut to statfs() #2090

Closed opoplawski closed 2 months ago

opoplawski commented 2 months ago

This resolves the following denials: type=AVC msg=audit(1713892782.603:545): avc: denied { getattr } for pid=46128 comm="upsd" name="/" dev="dm-1" ino=128 scontext=system_u:system_r:nut_upsd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 type=AVC msg=audit(1713894055.590:666): avc: denied { getattr } for pid=53147 comm="shutdown" name="/" dev="dm-1" ino=128 scontext=system_u:system_r:nut_upsmon_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=1

zpytela commented 2 months ago

Merging, thank you.