https://bugs.gentoo.org/show_bug.cgi?id=463784 shows that current way of handling DMs in init.d script is pretty inflexible. For example, we would need different settings depending on people running gdm-3.x or gdm-2.x. I think would be better if init.d script could read needed variables from external files installed by each DMs ebuilds. Would be possible to do that? Reproducible: Always
Any updates on this? Also, looks a bit strange to me the need of update/re-emerge xorg-server for changes in init.d scripts, probably a different package could be used to carry on init.d scripts :/
I think the init scripts were part of xinit before. Not sure why they were moved to xorg-server, that predates my involvement in Gentoo.
*xorg-server-1.8.0 (13 Apr 2010) 13 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org> +files/1.8.0-match-only-sane-devices.patch, +xorg-server-1.8.0.ebuild, +files/1.8.0-no-hardcoded-etc.patch, +files/xdm-setup.initd-1, +files/xdm.confd-3, +files/xdm.initd, +files/xorg-server-disable-acpi.patch, metadata.xml: Version bump to xorg-server 1.8. Looks like this was the change, maybe scarabeus knows more about it :/
(In reply to comment #2) > I think the init scripts were part of xinit before. Not sure why they were > moved to xorg-server, that predates my involvement in Gentoo. Some rationale in: https://bugs.gentoo.org/show_bug.cgi?id=356915#c5 Anyway, I still think would be interesting to allow script to catch values from external files allowing us to install a file setting different "EXE", "START-STOP_ARGS" and "PIDFILE" values. For example, gdm-2.x will need different values than gdm-3.x, if gdm-3.x would install a simple file setting that variables, that would be nice
If finally this is not implemented, we will need various xorg-server revisions providing updated xdm script with gdm-3.x support :/
ping!
I am busy with other things currently. Feel free to make any necessary changes to the xdm init script, just keep an eye on bugzilla for user reports of breakage. If in doubt, you can ask us for review and/or commit under p.mask.
(In reply to comment #7) > I am busy with other things currently. Feel free to make any necessary > changes to the xdm init script, just keep an eye on bugzilla for user > reports of breakage. If in doubt, you can ask us for review and/or commit > under p.mask. The problem is that adapting init.d script to gdm3 will lead it incompatible with gdm2 if we don't make the big change of letting script to inherit variable values from files installed by DMs ebuilds :/ Also, would be much better to split scripts to a separate package (I would even have a package only for init.d script if we don't agree on what package should carry it), otherwise, I would need to revbump all xorg-server ebuilds to only change init.d script (and people would need to rebuild server only for that change) I need then x11 team opinion on what they want to do
We can delay this if X11 team prefers, will attach a patch to existing xdm init.d script in bug 463784 for x11 team review
Feature provided by gui-libs/display-manager-init that replaces xdm init script.