From ed1b6b5451cd5964724cc0a24e0b9756a50dcb6b Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 20 Dec 2025 13:35:08 +0100 Subject: [PATCH] doc: Mention that services doing mounts should depend on user-file-systems. This is a recent change. If the services do not depend on it, it's possible user-file-systems will try to unmount the file systems byt itself first. * doc/guix.texi (Shepherd Services): Mention services should depend on user-file-systems if they do mounts. Change-Id: I87f459aa43c2a59ffcae35750e02a08abc3c1f8a Signed-off-by: Rutherther --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index a2e2a8e5dfd..9ed23ebe805 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -49227,6 +49227,11 @@ daemons are started after all the file systems have been mounted and that, during shutdown, they are stopped before attempting to terminate remaining user processes. +Similarly, services that do make mounts during their startup or operation, +should have @code{user-file-systems} as a requirement. @code{user-processes} +does depend on @code{user-file-systems} as well. +So direct requirement only on @code{user-processes} is sufficient. + @cindex one-shot services, for the Shepherd @item @code{one-shot?} (default: @code{#f}) Whether this service is @dfn{one-shot}. One-shot services stop immediately