#1153065 turnstile Required-Stop: elogind creates unnecessary dependency in openrc LSB compat

#1153065#5
Date:
2026-11-05 01:15:28 UTC
From:
To:
/etc/init.d/turnstile, as shipped, has this LSB header:

  # Required-Start:    $syslog $remote_fs
  # Required-Stop:     $syslog $remote_fs elogind

On a system with openrc-init and no elogind, OpenRC reported turnstile as
depending on elogind. Removing elogind from Required-Stop removed the
dependency. A stop entry should not create a start dependency.

I saw this on 28 October 2026 and no longer have the exact output, but I
can reproduce it if that would help.

Debian forky amd64, openrc 0.64.1-2, openrc-init 0.64.1-2, turnstile 0.1.11-3

#1153065#8
Date:
2026-11-05 09:20:18 UTC
From:
To:
Hi,

Thanks for this. I had noticed the same and already have a fix queued
for turnstile.

Mark

commit 5bd53466d5dae31bc4e44b555a68421dedeee07b
Author: Mark Hindley <mark@hindley.org.uk>
Date:   Wed Oct 28 18:19:37 2026 +0000

    d/turnstile.init: reduce elogind to Should-Stop.

diff --git a/debian/turnstile.init b/debian/turnstile.init
index 25342e0..7ff1bb1 100644
--- a/debian/turnstile.init
+++ b/debian/turnstile.init
@@ -6,7 +6,8 @@ fi
 ### BEGIN INIT INFO
 # Provides:          turnstile
 # Required-Start:    $syslog $remote_fs
-# Required-Stop:     $syslog $remote_fs elogind
+# Required-Stop:     $syslog $remote_fs
+# Should-Stop:       elogind
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: User session management daemon