[systemd-bugs] [Bug 87428] systemd-nspawn: restarting systemd-nspawn@ container fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 9 16:42:59 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87428

Jonathan Liu <net147 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Jonathan Liu <net147 at gmail.com> ---
10 second sleep before reboot (reboot successful):
gettid()                = 14978
recvmsg(11, 0x7fff90b58060, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=11, events=POLLIN}], 1, {24, 999453000}, NULL, 8) = 1 ([{fd=11,
revents=POLLIN}], left {24, 999376056})
recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"OK
17a8c10a74d8494a8efb936654d93aec\r\nAGREE_UNIX_FD\r\n", 256}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 52
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\1\0\1\0\0\0\0\1\0\0\0m\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\3\1s\0\5\0\0\0Hello\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0",
128}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 128
recvmsg(11, 0x7fff90b57ff0, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=11, events=POLLIN}], 1, {24, 999409000}, NULL, 8) = 1 ([{fd=11,
revents=POLLIN}], left {24, 998332707})
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1\f\0\0\0\1\0\0\0=\0\0\0\6\1s\0\7\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{":1.3035\0\5\1u\0\1\0\0\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\7\0\0\0:1.3035\0",
68}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 68
sendmsg(11, {msg_name(0)=NULL,
msg_iov(2)=[{"l\1\0\1\4\0\0\0\2\0\0\0\237\0\0\0\1\1o\0\31\0\0\0/org/freedesktop/machine1\0\0\0\0\0\0\0\3\1s\0\17\0\0\0GetMachineByPID\0\2\1s\0
\0\0\0org.freedesktop.machine1.Manager\0\0\0\0\0\0\0\0\6\1s\0\30\0\0\0org.freedesktop.machine1\0\0\0\0\0\0\0\0\10\1g\0\1u\0\0",
176}, {"\203:\0\0", 4}], msg_controllen=0, msg_flags=0},
MSG_DONTWAIT|MSG_NOSIGNAL) = 180
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\4\1\1\f\0\0\0\2\0\0\0\215\0\0\0\1\1o\0\25\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"/org/freedesktop/DBus\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\f\0\0\0NameAcquired\0\0\0\0\6\1s\0\7\0\0\0:1.3035\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\7\0\0\0:1.3035\0",
148}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 148
recvmsg(11, 0x7fff90b58150, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=11, events=POLLIN}], 1, {24, 999765000}, NULL, 8) = 1 ([{fd=11,
revents=POLLIN}], left {24, 999323324})
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1+\0\0\0\r\0\0\0000\0\0\0\5\1u\0\2\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\6\1s\0\7\0\0\0:1.3035\0\10\1g\0\1o\0\0\7\1s\0\7\0\0\0:1.3017\0&\0\0\0/org/freedesktop/machine1/machine/test\0",
83}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 83
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\1\0\1\0\0\0\0\3\0\0\0\231\0\0\0\1\1o\0&\0\0\0/org/freedesktop/machine1/machine/test\0\0\3\1s\0\t\0\0\0Terminate\0\0\0\0\0\0\0\2\1s\0
\0\0\0org.freedesktop.machine1.Machine\0\0\0\0\0\0\0\0\6\1s\0\30\0\0\0org.freedesktop.machine1\0\0\0\0\0\0\0\0",
176}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 176
recvmsg(11, 0x7fff90b58160, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=11, events=POLLIN}], 1, {24, 999931000}, NULL, 8) = 1 ([{fd=11,
revents=POLLIN}], left {24, 998788389})
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1\0\0\0\0\20\0\0\0(\0\0\0\5\1u\0\3\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\6\1s\0\7\0\0\0:1.3035\0\7\1s\0\7\0\0\0:1.3017\0", 32}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 32
close(11)               = 0
kill(14979, SIGKILL)    = 0
waitid(P_PID, 14979, {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=14979,
si_uid=0, si_status=SIGHUP, si_utime=0, si_stime=0}, WEXITED, NULL) = 0
close(6)                = 0
close(7)                = 0
close(8)                = 0
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
sendmsg(6, {msg_name(21)={sa_family=AF_LOCAL, sun_path="/run/systemd/notify"},
msg_iov(1)=[{"STOPPING=1\nSTATUS=Terminating...", 32}], msg_controllen=0,
msg_flags=0}, MSG_NOSIGNAL) = 32
close(6)                = 0
close(4)                = 0
close(5)                = 0
close(3)                = 0
exit_group(133)         = ?
+++ exited with 133 +++

60 second sleep before reboot (reboot unsuccessful):
gettid()                = 14393
recvmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"OK
17a8c10a74d8494a8efb936654d93aec\r\nAGREE_UNIX_FD\r\n", 256}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 52
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\1\0\1\0\0\0\0\1\0\0\0m\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\3\1s\0\5\0\0\0Hello\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0",
128}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 128
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1\f\0\0\0\1\0\0\0=\0\0\0\6\1s\0\7\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{":1.2820\0\5\1u\0\1\0\0\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\7\0\0\0:1.2820\0",
68}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 68
sendmsg(11, {msg_name(0)=NULL,
msg_iov(2)=[{"l\1\0\1\4\0\0\0\2\0\0\0\237\0\0\0\1\1o\0\31\0\0\0/org/freedesktop/machine1\0\0\0\0\0\0\0\3\1s\0\17\0\0\0GetMachineByPID\0\2\1s\0
\0\0\0org.freedesktop.machine1.Manager\0\0\0\0\0\0\0\0\6\1s\0\30\0\0\0org.freedesktop.machine1\0\0\0\0\0\0\0\0\10\1g\0\1u\0\0",
176}, {":8\0\0", 4}], msg_controllen=0, msg_flags=0},
MSG_DONTWAIT|MSG_NOSIGNAL) = 180
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\4\1\1\f\0\0\0\2\0\0\0\215\0\0\0\1\1o\0\25\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"/org/freedesktop/DBus\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\f\0\0\0NameAcquired\0\0\0\0\6\1s\0\7\0\0\0:1.2820\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\7\0\0\0:1.2820\0",
148}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 148
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1+\0\0\0\f\0\0\0000\0\0\0\5\1u\0\2\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\6\1s\0\7\0\0\0:1.2820\0\10\1g\0\1o\0\0\7\1s\0\7\0\0\0:1.2818\0&\0\0\0/org/freedesktop/machine1/machine/test\0",
83}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 83
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\1\0\1\0\0\0\0\3\0\0\0\231\0\0\0\1\1o\0&\0\0\0/org/freedesktop/machine1/machine/test\0\0\3\1s\0\t\0\0\0Terminate\0\0\0\0\0\0\0\2\1s\0
\0\0\0org.freedesktop.machine1.Machine\0\0\0\0\0\0\0\0\6\1s\0\30\0\0\0org.freedesktop.machine1\0\0\0\0\0\0\0\0",
176}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 176
recvmsg(11, 0x7fff3a04c060, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1
EAGAIN (Resource temporarily unavailable)
ppoll([{fd=11, events=POLLIN}], 1, {24, 999399000}, NULL, 8) = 1 ([{fd=11,
revents=POLLIN}], left {24, 998006212})
--- SIGCONT {si_signo=SIGCONT, si_code=SI_USER, si_pid=1, si_uid=0} ---
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"l\2\1\1\0\0\0\0\20\0\0\0(\0\0\0\5\1u\0\3\0\0\0", 24}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\6\1s\0\7\0\0\0:1.2820\0\7\1s\0\7\0\0\0:1.2818\0", 32}],
msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC},
MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 32
close(11)               = 0
kill(14394, SIGKILL)    = 0
waitid(P_PID, 14394, {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=14394,
si_uid=0, si_status=SIGHUP, si_utime=0, si_stime=0}, WEXITED, NULL) = 0
close(6)                = 0
close(7)                = 0
close(8)                = 0
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
sendmsg(6, {msg_name(21)={sa_family=AF_LOCAL, sun_path="/run/systemd/notify"},
msg_iov(1)=[{"STOPPING=1\nSTATUS=Terminating...", 32}], msg_controllen=0,
msg_flags=0}, MSG_NOSIGNAL) = 32
close(6)                = 0
close(4)                = 0
close(5)                = 0
close(3)                = 0
exit_group(133)         = ?
+++ exited with 133 +++

The SIGCONT in the reboot unsuccessful strace log looks peculiar.

-- 
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/20150210/ccbb7a80/attachment.html>


More information about the systemd-bugs mailing list