Bug#916247: upgrade 239.1+20181115-1 -> 239.3-1+patch still has problems with mplayer in currently running session
Mark Hindley
mark at hindley.org.uk
Fri Dec 14 00:57:51 GMT 2018
On Thu, Dec 13, 2018 at 02:20:01PM +0000, Mark Hindley wrote:
> This is a different issue. I am discussing solutions with upstream.
>
> See https://github.com/elogind/elogind/issues/104
Arthur,
Could you try this patch please? It works for me.
commit db6a15aa2b3a575a63bf567915e96575db938c84
Author: Mark Hindley <mark at hindley.org.uk>
Date: Fri Dec 14 00:45:35 2018 +0000
Work around for #916247
When restarting use SIGKILL so that existing sessions and seats are preserved.
diff --git a/debian/elogind.init b/debian/elogind.init
index 6ebab7bc8..4f317f480 100644
--- a/debian/elogind.init
+++ b/debian/elogind.init
@@ -53,7 +53,8 @@ case "$1" in
;;
force-reload|restart)
log_daemon_msg "Restarting session management daemon" "elogind" || true
- start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile $ELOGIND_PID
+ # Use SIGKILL so that existing seats and sessions are not cleared
+ start-stop-daemon --stop --quiet --oknodo --signal KILL --retry 30 --pidfile $ELOGIND_PID
if start-stop-daemon --start --quiet --oknodo --pidfile $ELOGIND_PID --exec $ELOGIND -- $ELOGIND_OPTS; then
log_end_msg 0 || true
else
More information about the Debian-init-diversity
mailing list