Lennart Poettering wrote: > On Sat, 11.08.12 21:54, alekcejk@xxxxxxxxxxxxxx (alekcejk@xxxxxxxxxxxxxx) wrote: > >> Rex Dieter wrote: >> >> > OK, so we have >> > https://fedoraproject.org/wiki/Features/DisplayManagerRework#How_To_Test >> > >> > that tells one how to enable the display manager of your choice, via >> > systemctl enable --force xyzdm.service >> > >> > But, how to handle upgrades? (or is this case already handled somehow?) >> > >> > Off the top of my head, perhaps create some sort of scriptlet (probably to >> > live in initscripts, since that's what owned prefdm) to parse >> > /etc/sysconfig/desktop to make some educated guess about which dm service to >> > enable. >> > >> > thoughts? >> > >> > -- rex >> > >> >> This is marked as DONE: >> >> 8. (Optionally) Patch systemd to parse /etc/sysconfig/desktop at upgrade time >> and generate a symlink from it that is stored in >> /etc/systemd/system/display-manager.service >> and ensures that the original display manager choice is kept. >> >> I have DISPLAYMANAGER="KDE" in /etc/sysconfig/desktop >> but symlink was not generated after Rawhide update. > > Hmm, that would suggest that this bit is borked: > > http://pkgs.fedoraproject.org/cgit/systemd.git/tree/systemd.spec#n300 > > If you execute that by hand in a shell, does it work for you then? > > Lennart > This part of code creates symlink (after installing all updates including systemd and kde-settings-kdm). But as I commented in bug 847472, symlink also created after updating systemd if kde-settings-kdm was previously updated to version which adds kdm.servise. If systemd and kde-settings both updated at once then symlink not created. https://bugzilla.redhat.com/show_bug.cgi?id=847472#c5 -- Alexey Kurov <nucleo@xxxxxxxxxxxxxxxxx> -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel