From bbc2fb0d52128c85c92251ed36d8063b3dcf3c3a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 24 Jan 2022 11:53:55 +0100 Subject: etc: Remove redundant SELinux permissions block. * etc/guix-daemon.cil.in (guix_daemon): Consolidate two blocks adding sock_file permissions on guix_daemon_conf_t. --- etc/guix-daemon.cil.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/etc/guix-daemon.cil.in b/etc/guix-daemon.cil.in index 2ba02d1655..f4767ff666 100644 --- a/etc/guix-daemon.cil.in +++ b/etc/guix-daemon.cil.in @@ -302,9 +302,6 @@ (allow guix_daemon_t guix_daemon_conf_t (lnk_file (create getattr rename unlink read))) - (allow guix_daemon_t - guix_daemon_conf_t - (sock_file (write))) (allow guix_daemon_t net_conf_t (file (getattr open read))) (allow guix_daemon_t net_conf_t @@ -358,7 +355,7 @@ (unix_stream_socket (listen))) (allow guix_daemon_t guix_daemon_conf_t - (sock_file (create unlink))) + (sock_file (create unlink write))) (allow guix_daemon_t self (unix_stream_socket (create -- cgit v1.2.3