<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemctl hangs on start/stop/restart since ebd011d9"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87950">87950</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemctl hangs on start/stop/restart since ebd011d9
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mail@eliasprobst.eu
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=111624" name="attach_111624" title="strace of "systemctl restart postgresql-9.3.service"">attachment 111624</a> <a href="attachment.cgi?id=111624&action=edit" title="strace of "systemctl restart postgresql-9.3.service"">[details]</a></span>
strace of "systemctl restart postgresql-9.3.service"
Running any systemctl operation like start/stop/restart makes systemctl hang
forever not returning to the prompt.
This is not restricted to any specific services but happens for any.
Running systemctl in strace shows this(full log attached):
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"l\4\1\1Q\0\0\0\22\0\0\0z\0\0\0\1\1o\0\31\0\0\0", 24}],
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_CREDENTIALS{pid=1, uid=0, gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"/org/freedesktop/systemd1\0\0\0\0\0\0\0"..., 201}],
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_CREDENTIALS{pid=1, uid=0, gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 201
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"l\4\1\1!\2\0\0\23\0\0\0\236\0\0\0\1\1o\0;\0\0\0", 24}],
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_CREDENTIALS{pid=1, uid=0, gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"/org/freedesktop/systemd1/unit/p"..., 697}], msg_controllen=32,
{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=1, uid=0,
gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 697
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"l\4\1\1\304\2\0\0\24\0\0\0\236\0\0\0\1\1o\0;\0\0\0", 24}],
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_CREDENTIALS{pid=1, uid=0, gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"/org/freedesktop/systemd1/unit/p"..., 860}], msg_controllen=32,
{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=1, uid=0,
gid=0}}, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 860
recvmsg(3, 0x7fffe2d419e0, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=3, events=POLLIN}], 1, NULL, NULL, 8
Attaching strace shows first only this line:
ppoll([{fd=3, events=POLLIN}], 1, NULL, NULL, 8
I was able to bisect this down to ebd011d9
(<a href="http://cgit.freedesktop.org/systemd/systemd/commit/?id=ebd011d9">http://cgit.freedesktop.org/systemd/systemd/commit/?id=ebd011d9</a>)
Kernel is 3.18.1 (no kdbus)
dbus version is 1.8.10</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>