Bug#916247: upgrade 239.1+20181115-1 -> 239.3-1+patch still has problems with mplayer in currently running session
Arthur Marsh
arthur.marsh at internode.on.net
Fri Dec 14 08:27:59 GMT 2018
Hi, I ran debuild -b after applying your second patch on top of your
first patch, and received the following result:
cd build && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja
test[0/1] Running all tests.
1/136
cc-sd-bus.h:c
OK 0.11 s
2/136 cc-sd-bus.h:c-ansi
OK 0.08 s
3/136 cc-sd-bus.h:c-std=iso9899:1990
OK 0.12 s
4/136 cc-sd-bus.h:c-std=iso9899:2011
OK 0.09 s
5/136 cc-sd-bus.h:c-std=iso9899:2017
OK 0.07 s
6/136
cc-sd-bus.h:c++
OK 0.12 s
7/136 cc-sd-bus.h:c++-std=c++98
OK 0.07 s
8/136 cc-sd-bus.h:c++-std=c++11
OK 0.07 s
9/136 cc-sd-bus.h:c++-std=c++14
OK 0.07 s
10/136 cc-sd-bus.h:c++-std=c++17
OK 0.07 s
11/136 cc-sd-bus-protocol.h:c
OK 0.04 s
12/136 cc-sd-bus-protocol.h:c-ansi
OK 0.04 s
13/136 cc-sd-bus-protocol.h:c-std=iso9899:1990 OK 0.05
s
14/136 cc-sd-bus-protocol.h:c-std=iso9899:2011 OK 0.04
s
15/136 cc-sd-bus-protocol.h:c-std=iso9899:2017 OK 0.05
s
16/136 cc-sd-bus-protocol.h:c++
OK 0.05 s
17/136 cc-sd-bus-protocol.h:c++-std=c++98 OK
0.04 s
18/136 cc-sd-bus-protocol.h:c++-std=c++11 OK
0.05 s
19/136 cc-sd-bus-protocol.h:c++-std=c++14 OK
0.05 s
20/136 cc-sd-bus-protocol.h:c++-std=c++17 OK
0.05 s
21/136 cc-sd-bus-vtable.h:c
OK 0.09 s
22/136 cc-sd-bus-vtable.h:c-ansi
OK 0.07 s
23/136 cc-sd-bus-vtable.h:c-std=iso9899:1990 OK 0.07
s
24/136 cc-sd-bus-vtable.h:c-std=iso9899:2011 OK 0.07
s
25/136 cc-sd-bus-vtable.h:c-std=iso9899:2017 OK 0.07
s
26/136 cc-sd-bus-vtable.h:c++
OK 0.07 s
27/136 cc-sd-bus-vtable.h:c++-std=c++98 OK
0.08 s
28/136 cc-sd-bus-vtable.h:c++-std=c++11 OK
0.07 s
29/136 cc-sd-bus-vtable.h:c++-std=c++14 OK
0.09 s
30/136 cc-sd-bus-vtable.h:c++-std=c++17 OK
0.08 s
31/136
cc-sd-daemon.h:c
OK 0.05 s
32/136 cc-sd-daemon.h:c-ansi
OK 0.04 s
33/136 cc-sd-daemon.h:c-std=iso9899:1990 OK
0.05 s
34/136 cc-sd-daemon.h:c-std=iso9899:2011 OK
0.05 s
35/136 cc-sd-daemon.h:c-std=iso9899:2017 OK
0.05 s
36/136 cc-sd-daemon.h:c++
OK 0.07 s
37/136 cc-sd-daemon.h:c++-std=c++98
OK 0.04 s
38/136 cc-sd-daemon.h:c++-std=c++11
OK 0.08 s
39/136 cc-sd-daemon.h:c++-std=c++14
OK 0.08 s
40/136 cc-sd-daemon.h:c++-std=c++17
OK 0.04 s
41/136
cc-sd-event.h:c
OK 0.07 s
42/136 cc-sd-event.h:c-ansi
OK 0.04 s
43/136 cc-sd-event.h:c-std=iso9899:1990 OK
0.04 s
44/136 cc-sd-event.h:c-std=iso9899:2011 OK
0.05 s
45/136 cc-sd-event.h:c-std=iso9899:2017 OK
0.05 s
46/136 cc-sd-event.h:c++
OK 0.08 s
47/136 cc-sd-event.h:c++-std=c++98
OK 0.08 s
48/136 cc-sd-event.h:c++-std=c++11
OK 0.08 s
49/136 cc-sd-event.h:c++-std=c++14
OK 0.07 s
50/136 cc-sd-event.h:c++-std=c++17
OK 0.08 s
51/136
cc-sd-id128.h:c
OK 0.07 s
52/136 cc-sd-id128.h:c-ansi
OK 0.07 s
53/136 cc-sd-id128.h:c-std=iso9899:1990 OK
0.04 s
54/136 cc-sd-id128.h:c-std=iso9899:2011 OK
0.05 s
55/136 cc-sd-id128.h:c-std=iso9899:2017 OK
0.05 s
56/136 cc-sd-id128.h:c++
OK 0.05 s
57/136 cc-sd-id128.h:c++-std=c++98
OK 0.09 s
58/136 cc-sd-id128.h:c++-std=c++11
OK 0.05 s
59/136 cc-sd-id128.h:c++-std=c++14
OK 0.05 s
60/136 cc-sd-id128.h:c++-std=c++17
OK 0.05 s
61/136
cc-sd-login.h:c
OK 0.04 s
62/136 cc-sd-login.h:c-ansi
OK 0.05 s
63/136 cc-sd-login.h:c-std=iso9899:1990 OK
0.05 s
64/136 cc-sd-login.h:c-std=iso9899:2011 OK
0.05 s
65/136 cc-sd-login.h:c-std=iso9899:2017 OK
0.04 s
66/136 cc-sd-login.h:c++
OK 0.05 s
67/136 cc-sd-login.h:c++-std=c++98
OK 0.05 s
68/136 cc-sd-login.h:c++-std=c++11
OK 0.07 s
69/136 cc-sd-login.h:c++-std=c++14
OK 0.07 s
70/136 cc-sd-login.h:c++-std=c++17
OK 0.07 s
71/136 cc-sd-messages.h:c
OK 0.08 s
72/136 cc-sd-messages.h:c-ansi
OK 0.04 s
73/136 cc-sd-messages.h:c-std=iso9899:1990 OK
0.07 s
74/136 cc-sd-messages.h:c-std=iso9899:2011 OK
0.04 s
75/136 cc-sd-messages.h:c-std=iso9899:2017 OK
0.04 s
76/136 cc-sd-messages.h:c++
OK 0.07 s
77/136 cc-sd-messages.h:c++-std=c++98
OK 0.04 s
78/136 cc-sd-messages.h:c++-std=c++11
OK 0.04 s
79/136 cc-sd-messages.h:c++-std=c++14
OK 0.07 s
80/136 cc-sd-messages.h:c++-std=c++17
OK 0.05 s
81/136 dlopen-pam_elogind
OK 0.01 s
82/136
test-utf8
OK 0.01 s
83/136
test-locale-util
OK 0.42 s
84/136
test-copy
OK 0.07 s
85/136
test-random-util
OK 0.01 s
86/136 test-format-table
OK 0.01 s
87/136
test-util
OK 0.02 s
88/136
test-exec-util
OK 1.12 s
89/136
test-hexdecoct
OK 0.01 s
90/136
test-alloc-util
OK 0.01 s
91/136
test-io-util
OK 0.01 s
92/136
test-fs-util
OK 0.27 s
93/136 test-proc-cmdline
OK 0.01 s
94/136
test-fd-util
OK 0.02 s
95/136
test-stat-util
OK 0.01 s
96/136
test-escape
OK 0.01 s
97/136
test-string-util
OK 0.01 s
98/136 test-extract-word
OK 0.01 s
99/136
test-parse-util
OK 0.22 s
100/136
test-user-util
OK 0.07 s
101/136 test-process-util
OK 1.07 s
102/136
test-verbs
OK 0.01 s
103/136 test-signal-util
OK 0.01 s
104/136
test-selinux
OK 0.01 s
105/136
test-sizeof
OK 0.01 s
106/136
test-hashmap
OK 0.17 s
107/136
test-set
OK 0.01 s
108/136 test-set-disable-mempool
OK 0.01 s
109/136
test-list
OK 0.01 s
110/136 test-procfs-util
OK 0.01 s
111/136
test-unaligned
OK 0.01 s
112/136
test-prioq
OK 0.02 s
113/136
test-log
OK 0.01 s
114/136
test-ellipsize
OK 0.04 s
115/136 test-strip-tab-ansi
OK 0.01 s
116/136
test-path-util
OK 0.01 s
117/136
test-siphash24
OK 0.01 s
118/136
test-conf-files
OK 0.04 s
119/136 test-conf-parser
OK 2.53 s
120/136
test-id128
OK 0.01 s
121/136
test-hash
OK 0.01 s
122/136
test-bus-util
OK 0.01 s
123/136 test-bus-signature
OK 0.01 s
124/136
test-bus-error
OK 0.01 s
125/136
test-bus-server
OK 0.01 s
126/136
test-bus-vtable
OK 0.01 s
127/136
test-bus-match
OK 0.01 s
128/136 test-bus-introspect
OK 0.01 s
129/136
test-event
OK 2.47 s
130/136
test-login
FAIL 0.01 s (killed by signal 6 SIGABRT)
131/136 test-login-shared
OK 0.01 s
132/136 test-login-tables
OK 0.01 s
133/136 test-libelogind-sym
OK 0.01 s
134/136 check-help-loginctl
OK 0.04 s
135/136 check-help-elogind-inhibit
OK 0.04 s
136/136 check-help-busctl
OK 0.02 s
Ok: 135
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
130/136
test-login
FAIL 0.01 s (killed by signal 6 SIGABRT)
--- command ---
PATH='/usr/src/elogind-239.3/build:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11'
/usr/src/elogind-239.3/build/test-login
--- stderr ---
/* Information printed is from the live system */
sd_pid_get_slice(0, …) → ""
sd_pid_get_session(0, …): No such file or directory
sd_get_seats(…) → [1] "seat0"
Assertion 'IN_SET(r, 0, -ENODATA)' failed at
../src/libelogind/sd-login/test-login.c:209, function test_login().
Aborting.
-------
Full log written to
/usr/src/elogind-239.3/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
dh_auto_test: cd build && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja
test returned exit code 1
make: *** [debian/rules:44: build] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed
----- Original Message -----
From: "Mark Hindley"
To:"Arthur Marsh" ,
Cc:
Sent:Fri, 14 Dec 2018 00:57:51 +0000
Subject:Re: Bug#916247: upgrade 239.1+20181115-1 -> 239.3-1+patch
still has problems with mplayer in currently running session
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20181214/0b81ccfd/attachment.html>
More information about the Debian-init-diversity
mailing list