guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: etc: Remove redundant SELinux permissions block.


From: guix-commits
Subject: 01/06: etc: Remove redundant SELinux permissions block.
Date: Wed, 26 Jan 2022 03:34:25 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit bbc2fb0d52128c85c92251ed36d8063b3dcf3c3a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jan 24 11:53:55 2022 +0100

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]