GNU bug report logs -
#73494
[PATCH 0/2] tmpfs /run.
Previous Next
Full log
Message #113 received at 73494 <at> debbugs.gnu.org (full text, mbox):
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.