Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: systemd-update-done fix startup issue
Seeing error: Failed to initalize SELinux labeling handle: No such file or directory but no denials. With strace (and looking at source) found it is opening /etc/selinux/config openat(AT_FDCWD, "/etc/selinux/config", O_RDONLY|O_CLOEXEC) = 3 but that was dontaudited. allow systemd_update_done_t file_type:filesystem getattr; allow systemd_update_done_t selinux_config_t:dir { getattr open search }; dontaudit systemd_update_done_t selinux_config_t:dir { getattr open search }; dontaudit systemd_update_done_t selinux_config_t:file { getattr ioctl lock open read }; These changes fix the issue Signed-off-by: Dave Sugar <[email protected]> Signed-off-by: Jason Zaman <[email protected]>
- Loading branch information