summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-23 16:50:58 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-23 20:20:06 +0100
commit672c48f15d86f7acd2e6e96c91256245b25e4bd5 (patch)
tree3baca98d724db37a91d317860c988f2d8f81ffba /doc
parentafaeb657b118e6998342110deab8c8110b824417 (diff)
doc: Suggest remounting store before relabeling the file system.
* doc/guix.texi (Installing the SELinux policy): Mention that the store may need to be remounted before writing to it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index fd03da8c97..a515f13bf2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1522,8 +1522,10 @@ To install the policy run this command as root:
semodule -i etc/guix-daemon.cil
@end example
-Then relabel the file system with @code{restorecon} or by a different
-mechanism provided by your system.
+Then relabel the file system with @code{restorecon -vR /} or by a
+different mechanism provided by your system. You may need to remount
+@file{/gnu/store} to make it writable first, e.g. with @code{mount -o
+remount,rw /gnu/store}.
Once the policy is installed, the file system has been relabeled, and
the daemon has been restarted, it should be running in the