mount: dbus interface must be optional
On gentoo, when emerging selinux-base-policy, the post install (loading policy) fail due to a missing type. This is due to mount.te using a dbus interface and the dbus module is not present. Fix this by setting the dbus interface as optional; Signed-off-by: Corentin LABBE <clabbe.montjoie@gmail.com>
This commit is contained in:
parent
4d0febdeda
commit
207b09a656
|
@ -145,8 +145,6 @@ selinux_getattr_fs(mount_t)
|
|||
|
||||
userdom_use_all_users_fds(mount_t)
|
||||
|
||||
dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t)
|
||||
|
||||
ifdef(`distro_redhat',`
|
||||
optional_policy(`
|
||||
auth_read_pam_console_data(mount_t)
|
||||
|
@ -201,6 +199,10 @@ optional_policy(`
|
|||
container_getattr_fs(mount_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
glusterfs_domtrans_daemon(mount_t)
|
||||
|
||||
|
|
Loading…
Reference in New Issue