summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNoƩ Lopez <noelopez@free.fr>2025-12-08 16:39:11 +0100
committerRutherther <rutherther@ditigal.xyz>2025-12-22 22:48:57 +0100
commit587fd2dad49d8af3f31d06e29ff43c986d6f35c4 (patch)
tree83caa58ed08acc6dae900f219d4c7bcfb5927cc7 /gnu
parent9a78e760762c1d93369e765bdce12388e1662ec6 (diff)
etc: Add AppArmor profile for the daemon.
* .gitignore: Add etc/apparmor.d/tunables/guix. * Makefile.am (nodist_apparmor_profile_DATA) (nodist_apparmor_profile_tunables_DATA): Define it. * configure.ac: Generate etc/apparmor.d/tunables/guix. Add --with-apparmor-profile-dir option. * etc/apparmor.d/guix-daemon: New file. * etc/apparmor.d/tunables/guix.in: New file. * doc/guix.texi: Document AppArmor profiles. * gnu/packages/package-management.scm (guix): Add future changes commented. Change-Id: Iac7df9d642383cc46a2d450c3badef31199ab041 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/package-management.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index f04bd5efd9..eadaea4967 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -234,6 +234,10 @@
(string-append "--with-bash-completion-dir="
(assoc-ref %outputs "out")
"/etc/bash_completion.d")
+ ;; TODO: Uncomment after guix is updated.
+ ;; (string-append "--with-apparmor-profile-dir="
+ ;; (assoc-ref %outputs "out")
+ ;; "/etc/apparmor.d")
;; Set 'DOT_USER_PROGRAM' to the empty string so
;; we don't keep a reference to Graphviz, whose