Control: tags -1 patch

Gian,

On Thu, Aug 01, 2024 at 09:02:07AM +0200, Gian Piero Carrubba wrote:
> It's the other way around: it's /etc/init.d/elogind that should include
> 
>  # X-Start-Before: xdm

Attached is the patch I have queued. Could you apply it to /etc/init.d/elogind
and verify that it fixes the behaviour for you? I have noticed and fixed the
typo in the description separately.

It appears the following display managers include a fragments in
/etc/insserv.conf.d:

  - gdm3
    /etc/insserv.conf.d/gdm3
  - kdm
    /etc/insserv.conf.d/kdm
  - lxdm
   /etc/insserv.conf.d/lxdm
   /etc/insserv.conf.d/lxdm.insserv
  - nodm
   /etc/insserv.conf.d/nodm
  - wdm
   /etc/insserv.conf.d/wdm
  - xdm
   /etc/insserv.conf.d/xdm

The conspicuous absences are sddm and lightdm.

Mark
>From 1706b83e641e21f41a0a2ec11bb7d82f25fccfda Mon Sep 17 00:00:00 2001
From: Mark Hindley <m...@hindley.org.uk>
Date: Sun, 4 Aug 2024 07:19:30 +0100
Subject: [PATCH] d/elogind.init: start before $x-display-manager.

Closes: 1077676
---
 debian/elogind.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/elogind.init b/debian/elogind.init
index 13a156f6a..2014cd06d 100644
--- a/debian/elogind.init
+++ b/debian/elogind.init
@@ -3,6 +3,7 @@
 # Provides: elogind
 # Required-Start: dbus $remote_fs $syslog
 # Required-Stop: dbus $remote_fs $syslog
+# X-Start-Before: $x-display-manager
 # Default-Start: 2 3 4 5
 # Default-Stop: 0 1 6  
 # Short-Description: start elogind at boot tim
-- 
2.39.2

Reply via email to