xinit-1.0.8-r3 overwrites /etc/env.d/90xsession with an example file even after it was properly edited and setup according to the openrc migration instructions Reproducible: Always
xinit != baselayout While I did add this there, I'm now thinking it should just be documented and not provided.
(In reply to comment #1) > xinit != baselayout I thought as much...but as it was tightly related to the baselayout/openrc upgrade... Probably OK to provide it as long as it doesn't overwrite an already configured file with no warning.
The reason that xinit overwrites /etc/env.d/90xsession with every merge / update is that /etc/make.globals puts /etc/env.d/ into the CONFIG_PROTECT_MASK variable, which results in /etc/env.d/ not being protected at all. /etc/env.d/90xsession has either to be moved back to some protected file like /etc/conf.d/xdm or rc, or /etc/env.d/ has to be taken out of the CONFIG_PROTECT_MASK default setting in make.globals. Otherwise the default behaviour will be that Gentoo kills custom settings with every emerge. Actually I think the best solution would be to not include a 90xsession file with xinit at all, but instead tell the user to create one such file himself. The user has to edit the file anyway as the default sets nothing, and this way it would be a user created file that'd not ever get overwritten by emerge.
Still an issue with x11-apps/xinit-1.0.8-r3. Does anybody care? Luckily, things magically work for people even with the default contents (everything commented out) - like me.
See also bug #229769.
Yeah, I care. That's why this xinit still isn't stable. I wish we had a better solution than just telling people to create it themselves, but I can't really think of one, so I'll probably end up doing that.
Why don't you go for /etc/conf.d/xdm or /etc/conf.d/xsession then?
Because it's not used by xdm specifically (it's startx), and it's not a service so doesn't belong in conf.d (an explicit parallel to init.d).
A search for startx bugs in freedesktop.org bugzilla lead me to some interesting cases: https://bugs.freedesktop.org/show_bug.cgi?id=9583 https://bugs.freedesktop.org/show_bug.cgi?id=13462
+*xinit-1.0.8-r4 (10 Feb 2009) + + 10 Feb 2009; Donnie Berkholz <dberkholz@gentoo.org>; + +xinit-1.0.8-r4.ebuild: + (#220797) Instead of letting settings in /etc/env.d/90xsession get + overwritten on every update, don't install anything there and just tell + people what to do. +