GNU bug report logs -
#35305
[WIP] LightDM service
Previous Next
Reported by: L p R n d n <guix <at> lprndn.info>
Date: Wed, 17 Apr 2019 12:26:01 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hello,
Here I come again with a new attempt for the LightDM service.
This one is a little too complex to my taste but it succeeds IMHO at
dealing with most cases nicely. Also I didn't find any other occurence
of this in Guix, so it might just not fit in. It's a draft and it's
ugly, it probably needs some refactoring/renaming, maybe using methods?
or just alists?
In the meantime, the chosen design is to have the lightdm-service and
greeter services to extend another, private service (lightdm-aggregate)
that deals with mergin everything all configuration and extending the
needed services accordingly. This way, data can be shared between
lightdm's and greeters' configurations (here, greeters' desktop file
directories and a list of greeters needed by the seats definition)
It features:
* A user can define only the a lightdm-service or only a greeter service
or both, he should always get a working LightDM. If a seats asks for a
greeter which is not defined in the user config, the lightdm-aggregate
service adds its service with default config.
* Seats are defined only in the lightdm service so, on one hand, the user needs to
manually set the `greeter-session field but, on the other hand, we get
a clear distinction between configurations.
* Too many (cond ...). There might be better solutions.
Please give me your opinion. I think I'll try one last design which will
be the complete opposite of this one. (lightdm-service deals with its
conf, greeters deal with theirs. The user deals with the rest. Also
(service lightdm-service-type) is not enough for a working
display-manager).
Have a nice day,
L p R n d n
[0001-services-Add-lightdm-service-type.patch (text/x-patch, attachment)]
This bug report was last modified 2 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.