guix-commits
[Top][All Lists]
Advanced

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

04/07: doc: Suggest remounting store before relabeling the file system.


From: guix-commits
Subject: 04/07: doc: Suggest remounting store before relabeling the file system.
Date: Fri, 23 Dec 2022 14:22:37 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 672c48f15d86f7acd2e6e96c91256245b25e4bd5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 23 16:50:58 2022 +0100

    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



reply via email to

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