[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40114] [PATCH] services: Add fontconfig-file-system-service.
From: |
Ludovic Courtès |
Subject: |
[bug#40114] [PATCH] services: Add fontconfig-file-system-service. |
Date: |
Sat, 21 Mar 2020 22:53:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello!
Efraim Flashner <address@hidden> skribis:
> * gnu/services/desktop.scm (%fontconfig-file-system,
> fontconfig-file-system-service): New variables.
> (%desktop-services): Add fontconfig-file-system-service.
[...]
> +(define %fontconfig-file-system
> + (file-system
> + (device "none")
> + (mount-point "/var/cache/fontconfig")
> + (type "tmpfs")
> + (flags '(read-only))
> + (check? #f)))
> +
> +;; The global fontconfig directory is unused in Guix and has been
> +;; known to cause problems so we mount it read-only.
What about something like:
;; The global fontconfig cache directory can sometimes contain stale
;; entries, possibly referencing fonts that have been GC’d, so mount
;; it read-only.
I think that’s a correct summary? Perhaps we could link to past
discussions if we have one.
Otherwise LGTM, thank you!
Ludo’.