On Fri, Sep 01, 2017 at 10:48:18PM +0200, Cliff McDiarmid wrote:
> I have included Strace readouts, as attachments, both from the command line 
> and from Twm.   They are similar, but there is nothing obvious. Calls seem to 
> be satisfied, unless a more experienced eye can see something.  If someone 
> has the time I would appreciate it.
> 
> Cliff
> 

From the gnome_startup_twm attachment:

I've deleted the first 2000+ lines, and I suppose it is entirely
possible that ALL of the Interrupted system calls are related to you
killing the whole thing.  But in the absence of anything else to go
on:

rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89964) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89964) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4142, si_uid=1000, 
si_status=0, si_utime=0, si_stime=0} ---
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89958) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89958) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4144, si_uid=1000, 
si_status=0, si_utime=0, si_stime=0} ---
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
newfstatat(AT_FDCWD, "/run/systemd/system/", {st_mode=S_IFDIR|0755, st_size=40, 
...}, AT_SYMLINK_NOFOLLOW) = 0
pipe2([13, 14], 0)                      = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f51dbf80c50) = 4153
close(14)                               = 0
read(13, "", 8)                         = 0
close(13)                               = 0
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x920750, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x7f51b80034a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x9154d8, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x91fe20, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x91fe10, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x981e70, FUTEX_WAKE_PRIVATE, 1)  = 1
wait4(4153, 0x9776d4, WNOHANG, NULL)    = 0
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89951) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4153, si_uid=1000, 
si_status=1, si_utime=12, si_stime=0} ---
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
writev(2, [{iov_base="gnome-session-binary[4132]: WARN"..., iov_len=86}], 1) = 
86
sendto(8, "<28>Sep  1 19:16:48 gnome-sessio"..., 106, MSG_NOSIGNAL, NULL, 0) = 
106
newfstatat(AT_FDCWD, "/run/systemd/system/", {st_mode=S_IFDIR|0755, st_size=40, 
...}, AT_SYMLINK_NOFOLLOW) = 0
pipe2([13, 14], 0)                      = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f51dbf80c50) = 4155
close(14)                               = 0
read(13, "", 8)                         = 0
close(13)                               = 0
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x920750, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x7f51b80034a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x9154d8, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x91fe20, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x91fe10, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x923a60, FUTEX_WAKE_PRIVATE, 1)  = 1
wait4(4155, 0x978a84, WNOHANG, NULL)    = 0
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 0) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 
3, 89813) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4155, si_uid=1000, 
si_status=1, si_utime=13, si_stime=0} ---
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
writev(2, [{iov_base="gnome-session-binary[4132]: WARN"..., iov_len=86}], 1) = 
86
sendto(8, "<28>Sep  1 19:16:48 gnome-sessio"..., 106, MSG_NOSIGNAL, NULL, 0) = 
106
writev(2, [{iov_base="gnome-session-binary[4132]: WARN"..., iov_len=90}], 1) = 
90
sendto(8, "<28>Sep  1 19:16:48 gnome-sessio"..., 110, MSG_NOSIGNAL, NULL, 0) = 
110
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 13
getsockopt(13, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
setsockopt(13, SOL_SOCKET, SO_SNDBUFFORCE, [8388608], 4) = -1 EPERM (Operation 
not permitted)
                                                              ^^^^^

Maybe a user isn't allowed to do something.

setsockopt(13, SOL_SOCKET, SO_SNDBUF, [8388608], 4) = 0
sendmsg(13, {msg_name={sa_family=AF_UNIX, 
sun_path="/run/systemd/journal/socket"}, msg_namelen=29, 
msg_iov=[{iov_base="CODE_FILE=gsm-manager.c", iov_len=23}, {iov_base="\n", 
iov_len=1}, {iov_base="CODE_LINE=278", iov_len=13}, {iov_base="\n", iov_len=1}, 
{iov_base="CODE_FUNC=on_required_app_failur"..., iov_len=33}, {iov_base="\n", 
iov_len=1}, {iov_base="MESSAGE_ID=10dd2dc188b54a5e98970"..., iov_len=43}, 
{iov_base="\n", iov_len=1}, {iov_base="PRIORITY=3", iov_len=10}, 
{iov_base="\n", iov_len=1}, {iov_base="MESSAGE=Unrecoverable failure in"..., 
iov_len=75}, {iov_base="\n", iov_len=1}, {iov_base="SYSLOG_IDENTIFIER=", 
iov_len=18}, {iov_base="gnome-session-binary", iov_len=20}, {iov_base="\n", 
iov_len=1}], msg_iovlen=15, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 242

But whatever it is, it looks as if *something*, perhaps related to
that EPERM, got logged in a journal.  Maybe it only says that things
got killed.

I know almost nothing about current systemd, but is it possible this
got logged differently, i.e. maybe it needs some different magic
words when you use journalctl or whatever it is called (and by this
stage I suspect the words will be blue :)

ĸen

-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to