guix-patches
[Top][All Lists]
Advanced

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

[bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence


From: Ludovic Courtès
Subject: [bug#65335] [PATCH 0/4] Allow mounting root on tmpfs for impersistence
Date: Mon, 21 Aug 2023 16:09:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Nicolas Graves <ngraves@ngraves.fr> skribis:

> ---
>  gnu/services.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/services.scm b/gnu/services.scm
> index eb9258977e..73235ac2b8 100644
> --- a/gnu/services.scm
> +++ b/gnu/services.scm
> @@ -674,6 +674,7 @@ (define (activation-script gexps)
>                        ;; Make sure the user accounting database exists.  If 
> it
>                        ;; does not exist, 'setutxent' does not create it and
>                        ;; thus there is no accounting at all.
> +                      (mkdir-p "/var/run")
>                        (close-port (open-file "/var/run/utmpx" "a0"))

Please move it before the comment, which talks about something else.

Should /var/run be removed (in the same commit) from ‘directives’ in
(gnu build install)?

Ludo’.





reply via email to

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