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.
This commit is contained in:
Marius Bakke 2022-01-24 11:53:55 +01:00
parent 3563558172
commit bbc2fb0d52
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

@ -302,9 +302,6 @@
(allow guix_daemon_t (allow guix_daemon_t
guix_daemon_conf_t guix_daemon_conf_t
(lnk_file (create getattr rename unlink read))) (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 (allow guix_daemon_t net_conf_t
(file (getattr open read))) (file (getattr open read)))
(allow guix_daemon_t net_conf_t (allow guix_daemon_t net_conf_t
@ -358,7 +355,7 @@
(unix_stream_socket (listen))) (unix_stream_socket (listen)))
(allow guix_daemon_t (allow guix_daemon_t
guix_daemon_conf_t guix_daemon_conf_t
(sock_file (create unlink))) (sock_file (create unlink write)))
(allow guix_daemon_t (allow guix_daemon_t
self self
(unix_stream_socket (create (unix_stream_socket (create