[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759005: xdm: Missing xdm.service, can't use with systemd



On Fri, Nov 21, 2014 at 16:02:15 +0100, Alessandro Ghedini wrote:

> diff --git a/debian/patches/22_systemd_service.diff b/debian/patches/22_systemd_service.diff
> new file mode 100644
> index 0000000..3d8161d
> --- /dev/null
> +++ b/debian/patches/22_systemd_service.diff
> @@ -0,0 +1,13 @@
> +--- a/xdm.service.in
> ++++ b/xdm.service.in
> +@@ -3,7 +3,7 @@
> + After=systemd-user-sessions.service
> + 
> + [Service]
> ++# temporary safety check until all DMs are converted to correct
> ++# display-manager.service symlink handling
> ++ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/xdm" ]'
> + ExecStart=BINDIR/xdm -nodaemon
> +-
> +-[Install]
> +-Alias=graphical.target.wants/xdm.service

What does "correct" mean here?  How is that symlink handled exactly?

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: