summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/guix-daemon.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
index 6a5ef97f9b..6e534771c6 100644
--- a/etc/guix-daemon.service.in
+++ b/etc/guix-daemon.service.in
@@ -21,6 +21,9 @@ User=guix-daemon
# effect of 'gnu-store.mount'.
PrivateMounts=true
BindPaths=@storedir@
+# Disable host file system mount propagation to keep service view of the
+# store read-write after 'gnu-store.mount' makes it read-only system-wide.
+MountFlags=private
# Provide the CAP_CHOWN capability so that guix-daemon can create and chown
# /var/guix/profiles/per-user/$USER and also chown failed build directories