Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set labels for /var/lib/dnf/. * Allow useradd/groupadd to read/append rpm temporary files. * Allow rpm_t to send/receive messages from systemd-logind over dbus. * Allow rpm_t to use inherited systemd-logind file descriptors. Fixes: avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.login1.Manager member=Inhibit dest=org.freedesktop.login1 spid=565 tpid=331 scontext=root:sysadm_r:rpm_t tcontext=system_u:system_r:systemd_logind_t tclass=dbus permissive=1 avc: denied { send_msg } for msgtype=method_return dest=:1.11 spid=331 tpid=565 scontext=system_u:system_r:systemd_logind_t tcontext=root:sysadm_r:rpm_t tclass=dbus permissive=1 avc: denied { use } for pid=565 comm="python3" path="/run/systemd/inhibit/1.ref" dev="tmpfs" ino=703 scontext=root:sysadm_r:rpm_t tcontext=system_u:system_r:systemd_logind_t tclass=fd permissive=1 avc: denied { read append } for pid=590 comm="groupadd" path="/tmp/tmpy6epkors" dev="tmpfs" ino=20 scontext=root:sysadm_r:groupadd_t tcontext=root:object_r:rpm_tmp_t tclass=file permissive=1 avc: denied { getattr } for pid=590 comm="groupadd" name="/" dev="proc" ino=1 scontext=root:sysadm_r:groupadd_t tcontext=system_u:object_r:proc_t tclass=filesystem permissive=1 avc: denied { ioctl } for pid=590 comm="groupadd" path="/tmp/tmpy6epkors" dev="tmpfs" ino=20 ioctlcmd=0x5401 scontext=root:sysadm_r:groupadd_t tcontext=root:object_r:rpm_tmp_t tclass=file permissive=1 avc: denied { read append } for pid=626 comm="useradd" path="/tmp/tmpy6epkors" dev="tmpfs" ino=20 scontext=root:sysadm_r:useradd_t tcontext=root:object_r:rpm_tmp_t tclass=file permissive=1 avc: denied { ioctl } for pid=626 comm="useradd" path="/tmp/tmpy6epkors" dev="tmpfs" ino=20 ioctlcmd=0x5401 scontext=root:sysadm_r:useradd_t tcontext=root:object_r:rpm_tmp_t tclass=file permissive=1 Signed-off-by: Yi Zhao <[email protected]>
- Loading branch information