[systemd-bugs] [Bug 87950] New: systemctl hangs on start/stop/restart since ebd011d9
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 1 11:46:07 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=87950
Bug ID: 87950
Summary: systemctl hangs on start/stop/restart since ebd011d9
Product: systemd
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: mail at eliasprobst.eu
QA Contact: systemd-bugs at lists.freedesktop.org
Created attachment 111624
--> https://bugs.freedesktop.org/attachment.cgi?id=111624&action=edit
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
(http://cgit.freedesktop.org/systemd/systemd/commit/?id=ebd011d9)
Kernel is 3.18.1 (no kdbus)
dbus version is 1.8.10
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150101/a2c93149/attachment.html>
More information about the systemd-bugs
mailing list