tmt: allow nlmsg also to the ssh_server attribute
PATCH 1/1 tmt: allow nlmsg also to the ssh_server attribute
Without this SSH doesn't work under the latest Rawhide policy and the test run fails to complete successfully.
Signed-off-by Ondrej Mosnacek <[email protected]>
--- tmt/tests.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tmt/tests.fmf +1 -1
@@ -48,7 +48,7 @@ echo "(policycap netlink_xperm)" >>base.cil echo "(policycap bpf_token_perms)" >>base.cil # allow nlmsg to some system domains so that the system can boot - for source in daemon initrc_domain systemprocess unconfined_domain_type sysadm_t; do + for source in daemon initrc_domain systemprocess ssh_server unconfined_domain_type sysadm_t; do echo "(allow $source self (netlink_route_socket (nlmsg)))" >>base.cil echo "(allow $source self (netlink_tcpdiag_socket (nlmsg)))" >>base.cil echo "(allow $source self (netlink_xfrm_socket (nlmsg)))" >>base.cil
Signature · 1 line
2.55.0
Quoted 5 lines · Ondrej Mosnacek
Without this SSH doesn't work under the latest Rawhide policy and the test run fails to complete successfully.
Signed-off-by Ondrej Mosnacek <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Quoted 21 lines
--- tmt/tests.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tmt/tests.fmf +1
-2@@ -48,7 +48,7 @@ echo "(policycap netlink_xperm)" >>base.cil echo "(policycap bpf_token_perms)" >>base.cil # allow nlmsg to some system domains so that the system can boot - for source in daemon initrc_domain systemprocess unconfined_domain_type sysadm_t; do + for source in daemon initrc_domain systemprocess ssh_server unconfined_domain_type sysadm_t; do echo "(allow $source self (netlink_route_socket (nlmsg)))" >>base.cil echo "(allow $source self (netlink_tcpdiag_socket (nlmsg)))" >>base.cil echo "(allow $source self (netlink_xfrm_socket (nlmsg)))" >>base.cil --2.55.0
Stephen Smalley
maintainerQuoted 9 lines · Stephen Smalley
Quoted 5 lines · Ondrej Mosnacek
Without this SSH doesn't work under the latest Rawhide policy and the test run fails to complete successfully.
Signed-off-by Ondrej Mosnacek <[email protected]>Acked-by Stephen Smalley <[email protected]>
Thanks, merged.