etc: Add more SELinux permissions for the daemon.
authorMarius Bakke <marius@gnu.org>
Thu, 10 Dec 2020 22:42:48 +0000 (23:42 +0100)
committerMarius Bakke <marius@gnu.org>
Thu, 10 Dec 2020 22:48:42 +0000 (23:48 +0100)
* etc/guix-daemon.cil.in (guix_daemon): Permit file write, getattr, link and
unlink for the guix_daemon_exec_t type.

etc/guix-daemon.cil.in

index cc8999d..4f52157 100644 (file)
          (process (fork execmem setrlimit setpgid setsched)))
   (allow guix_daemon_t
          guix_daemon_exec_t
-         (file (execute execute_no_trans read open entrypoint map)))
+         (file (execute
+                execute_no_trans read write open entrypoint map
+                getattr link unlink)))
 
   ;; TODO: unknown
   (allow guix_daemon_t