Subject: Re: [bug#40114] [PATCH] services: Add fontconfig-file-system-service.

From: Ludovic Courtès <[email-masked]>
Date: Sat, 21 Mar 2020 22:53:50 +0100

Hello!

Efraim Flashner <[email-masked]> 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’.