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

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



Control: severity -1 important


Hi!

On Fri, 21 Nov 2014 16:02:15 +0100 Alessandro Ghedini <ghedo@debian.org>
wrote:
> Control: tags -1 patch
> 
> On sab, ago 23, 2014 at 09:30:24 +0200, Sven Joachim wrote:
> > On 2014-08-23 19:52 +0200, Kan-Ru Chen (陳侃如) wrote:
> > 
> > > Package: xdm
> > > Version: 1:1.1.11-1
> > > Severity: important
> > >
> > > The xdm upstream ships a xdm.service file however it is not include in
> > > the xdm debian package.
> > 
> > It would probably make sense to ship it, but care must be taken not to
> > enable the service unless xdm is the default display manager.
> 
> I wrote a patch that makes the display-manager.service systemd thing work with
> xdm (see attached patch). The patch does:
> 
> 1 Patches the systemd service file to not start unless xdm is the default
>   manager (as per /etc/X11/default-display-manager).
> 2 Removes the [Install] section in the systemd service file so that if the user
>   manually enables the service it does nothing (so that it doesn't conflict with
>   the default manager).
> 3 Creates the /etc/systemd/system/display-manager.service in postinst if xdm is
>   the dfault manager.
> 4 Installs the systemd service file.
> 
> Note that 1 and 3 above actually come from the lightdm package (I only removed
> the part where it reloads dbus, which is not used by xdm).

I'm bumping the severity of this bug report back to important.
Without a native .service file and xdm setting up the
/etc/systemd/system/display-manager.service symlink, a lot of strange
thinks can happen, like repeated start attempts of multiple display
managers.

For jessie we shipped a hack which mitigated a few of those problems,
but not under all conditions.
This is a  Debian specific patch, which we are going to get rid of for
Stretch and it will be removed in unstable soonish.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: