GNU bug report logs -
#60756
[PATCH 0/2] Add x11-socket-directory-service-type.
Previous Next
Reported by: Bruno Victal <mirai <at> makinata.eu>
Date: Thu, 12 Jan 2023 15:44:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 60756 <at> debbugs.gnu.org (full text, mbox):
This message wasn't cced to the ML, so here it is again (sorry)
FTR. This was in response to v2.
Hi Bruno,
Bruno Victal <mirai <at> makinata.eu> writes:
> The x11-socket-directory-service misuses activation-service-type
> to create directories. This kind of usage is incorrect since
> activation-service-type does not depend of file-systems and incompatible
Small typo: s/depend of/depend on/, that can be fixed by the committer.
> with user defined /tmp mount.
>
> This commit turns x11-socket-directory-service into a shepherd one-shot
> service by defining a new x11-socket-directory-service-type.
>
> * gnu/services/desktop.scm (x11-socket-directory-service-type): New variable.
> (x11-socket-directory-service): Deprecate variable.
> (desktop-services-for-system): Use new service-type.
> * gnu/tests/lightdm.scm: Use new service-type.
Looks good to me, tested it myself (note to self: don't forget
`-enable-kvm`). Removing the tmpfs-specifc test is a good call here as
well.
Noting here that for the same reason as the test being useless, you
can't test this patchset properly with `guix system vm`, since the
file-systems get overridden. I tested it with `guix system image`
instead, which only overrides the root and esp file systems if present.
Best,
--
Josselin Poiret
This bug report was last modified 2 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.