FS#46125 - [sddm] Missing symbolic link to display-manager.service

Attached to Project: Arch Linux
Opened by WhoTouchaMySpageth! (tuxfusion) - Thursday, 27 August 2015, 21:52 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 28 August 2015, 14:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Installing and enabling the package does not start sddm on boot, as it now obsolete counterpart kdm used to do. Every user has to google and fix it manually.

Additional info:

sddm 0.11.0-3



Steps to reproduce:
- Install package sddm
- enable the service
- reboot for testing
- sddm is not started by systemd

fix:
manually create:

ln -sf /usr/lib/systemd/system/sddm.service /etc/systemd/system/display-manager.service

Reason for report:
KDM the old "season manager" did exactly that when installing the package out of the box

This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 28 August 2015, 14:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  If you need support, use the forum. systemctl enable sddm works just fine. You probably forgot to disable KDM.
Comment by Jan de Groot (JGC) - Friday, 28 August 2015, 12:20 GMT
Symlinking services like that by default is horrible and should not be done at all. GDM doesn't do this either. In case of gdm, there's an alias for display-manager.service, as soon as you enable gdm.service systemd will take care of the symlinks.
Comment by WhoTouchaMySpageth! (tuxfusion) - Friday, 28 August 2015, 13:17 GMT
I wasn't talking about gdm, but Kdm. I never had to do this with kdm. I took the info from the wiki:

https://wiki.archlinux.org/index.php/Display_manager#Loading_the_display_manager

And that's exactly how it behaved, out of the box. I find it weird to install and enable a service that still doesn't operate as requested. kdm did that.
Comment by Jan de Groot (JGC) - Friday, 28 August 2015, 13:43 GMT
Symlinking inside the package or post_* is wrong, whatever the wiki says about it.

The correct way is to put an [Alias] block in the service file, when the user installs sddm and runs systemctl enable sddm.service it will create the symlink for you.

Loading...