<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - syslog()-calls just before a program exit are not be recorded in the journal"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69934#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - syslog()-calls just before a program exit are not be recorded in the journal"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69934">bug 69934</a>
from <span class="vcard"><a class="email" href="mailto:martin@thesofty.de" title="Martin <martin@thesofty.de>"> <span class="fn">Martin</span></a>
</span></b>
<pre>OK, i've run the strace command. Here is the output:
[martin@higgs ~]$ sudo strace -p $(pidof systemd-journald) -s999
Process 119 attached
epoll_wait(7, {{EPOLLIN, {u32=5, u64=5}}}, 1, -1) = 1
ioctl(5, FIONREAD, [63]) = 0
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"<10>Sep 29 21:24:58 martins: oops
-- No such file or directory\n", 2320}], msg_controllen=64, {cmsg_len=32,
cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...},
msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 63
sendmsg(5, {msg_name(29)={sa_family=AF_LOCAL,
sun_path="/run/systemd/journal/syslog"}, msg_iov(1)=[{"<10>Sep 29 21:24:58
martins: oops -- No such file or directory", 62}], msg_controllen=28,
{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=3254,
uid=1000, gid=1000}}, msg_flags=0}, MSG_NOSIGNAL) = -1 ESRCH (No such process)
sendmsg(5, {msg_name(29)={sa_family=AF_LOCAL,
sun_path="/run/systemd/journal/syslog"}, msg_iov(1)=[{"<10>Sep 29 21:24:58
martins: oops -- No such file or directory", 62}], msg_controllen=28,
{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=119,
uid=1000, gid=1000}}, msg_flags=0}, MSG_NOSIGNAL) = -1 ENOENT (No such file or
directory)
open("/proc/1/cgroup", O_RDONLY|O_CLOEXEC) = 23
fstat(23, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f0e14b14000
read(23,
"9:blkio:/\n8:net_cls:/\n7:freezer:/\n6:devices:/\n5:memory:/\n4:cpuacct,cpu:/\n3:cpuset:/\n2:name=systemd:/system.slice\n",
1024) = 113
close(23) = 0
munmap(0x7f0e14b14000, 4096) = 0
open("/proc/3254/cgroup", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
open("/proc/3254/comm", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
readlink("/proc/3254/exe", 0xea6ba0, 99) = -1 ENOENT (No such file or
directory)
open("/proc/3254/cmdline", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
open("/proc/3254/status", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
open("/proc/1/cgroup", O_RDONLY|O_CLOEXEC) = 23
fstat(23, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f0e14b14000
read(23,
"9:blkio:/\n8:net_cls:/\n7:freezer:/\n6:devices:/\n5:memory:/\n4:cpuacct,cpu:/\n3:cpuset:/\n2:name=systemd:/system.slice\n",
1024) = 113
close(23) = 0
munmap(0x7f0e14b14000, 4096) = 0
open("/proc/3254/cgroup", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
uname({sys="Linux", node="higgs", ...}) = 0
ftruncate(14, 18391040) = 0
ioctl(5, FIONREAD, [0]) = 0
recvmsg(5, 0x7fff74e14350, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
temporarily unavailable)
epoll_wait(7, ^CProcess 119 detached
<detached ...>
[martin@higgs ~]$</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>