[systemd-devel] systemd + logind possible deadlock

Oleksii Shevchuk alxchk at gmail.com
Sat Dec 14 01:55:47 PST 2013


> strace -p 1

stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/sys/class/tty/console/active", O_RDONLY|O_CLOEXEC) = 19
fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbab0d58000
read(19, "ttyS0 tty0\n", 4096)          = 11
close(19)                               = 0
munmap(0x7fbab0d58000, 4096)            = 0
open("/sys/class/tty/tty0/active", O_RDONLY|O_CLOEXEC) = 19
fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbab0d58000
read(19, "tty7\n", 4096)                = 5
close(19)                               = 0
munmap(0x7fbab0d58000, 4096)            = 0
sendmsg(15, {msg_name(0)=NULL, msg_iov(9)=[{"PRIORITY=6\nSYSLOG_FACILITY=3\nCOD"..., 184}, {"UNIT=SOL.service", 16}, {"\n", 1}, {"MESSAGE_ID=39f53479d3a045ac8e117"..., 43}, {"\n", 1}, {"RESULT=done", 11}, {"\n", 1}, {"MESSAGE=Started SOL.", 20}, {"\n", 1}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL^CProcess 1 detached
 <detached ...>

root      1280  0.1  0.0      0     0 ?        Zs   дек08  10:16 [systemd-journal] <defunct>


More information about the systemd-devel mailing list