GNU bug report logs - #73494
[PATCH 0/2] tmpfs /run.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Thu, 26 Sep 2024 07:03:02 UTC

Severity: normal

Tags: patch

Full log


Message #113 received at 73494 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: Vagrant Cascadian <vagrant <at> debian.org>, 73494 <at> debbugs.gnu.org,
 Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [bug#73494] [PATCH v3 2/3] services: cleanup: Make /var/run a
 symlink of /run.
Date: Sun, 27 Apr 2025 00:03:56 +0900
Hi Hilton,

Hilton Chain <hako <at> ultrarare.space> writes:

> * gnu/services.scm (cleanup-gexp): Make /var/run a symlink of /run.
> * doc/guix.texi (File Systems): Document it.
> * gnu/system/file-systems.scm (file-system-mapping->bind-mount): Replace
> /var/run in source path with /run.
> * gnu/services/dbus.scm (dbus-activation): Adjust accordingly.

[...]

> --- a/gnu/system/file-systems.scm
> +++ b/gnu/system/file-systems.scm
> @@ -594,7 +594,12 @@ (define (file-system-mapping->bind-mount mapping)
>      (($ <file-system-mapping> source target writable?)
>       (file-system
>         (mount-point target)
> -       (device source)
> +       (device
> +        ;; /var/run is implemented as a symlink to /run.
> +        (if (and (string? source)
> +                 (string-prefix? "/var/run" source))
> +            (string-drop source 4)
> +            source))
>         (type "none")
>         (flags (if writable?
>                    '(bind-mount)

I'd really prefer avoiding having to resort to the above hack, even if
that means grafting dbus with a variant that is built to use /run
instead of /var/run.

The jami test still fails with the current v3 too, that still needs
investigation.

It's annoying that I keep running out of steam on this series; if you
can continue pushing it forward, I'll have a look!

-- 
Thanks,
Maxim




This bug report was last modified 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.