From 672c48f15d86f7acd2e6e96c91256245b25e4bd5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 23 Dec 2022 16:50:58 +0100 Subject: [PATCH] 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. --- doc/guix.texi | 6 ++++-- 1 file 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