Mailinglist Archive: opensuse-factory (826 mails)

< Previous Next >
Re: [opensuse-factory] gnome-shell is ignored by systemd-coredump
  • From: Andrei Dziahel <develop7@xxxxxxxxxxxxx>
  • Date: Sun, 8 Oct 2017 23:24:54 +0300
  • Message-id: <CAAnW7aza715wrpWPJ_Zcbp9BPHMm-E4yVgmCnmUQU=91_8OP0g@mail.gmail.com>
Hi

2017-10-08 20:38 GMT+03:00 Jan Engelhardt <jengelh@xxxxxxx>:

On Sunday 2017-10-08 14:05, Andrei Dziahel wrote:

Which poses the question: how can I have automated g-s core dumps
back? And, for sake of curiosity, how and why were they even disabled
at all?

Does gnome-shell do suid games? Then sysctl fs.suid_dumpable
I don't know, does it? Also should it?
fs.suid_dumpable = 0
Can gnome-shell write to the right directory? sysctl kernel.core_pattern
Does it matter? It's dead, it shouldn't write anywhere; and it
probably can't as it's run as regular user.
kernel.core_pattern = |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e
It is systemd-coredump writing cores, not defunct gnome-shell.

Is gnome-shell not exceeding its core limits? ulimit -c and /proc/$$/limits
ulimit -c is 0, presumably inherited from gnome-session-binary
re: proc/..limits:
https://gist.github.com/develop7/8d75aa626fffec489947f6746100a436#file-gistfile1-txt-L55

We also can see just above how systemd-coredump explicitly refuses to
dump core because core size is 0.

In before limits.conf:
https://gist.github.com/develop7/8d75aa626fffec489947f6746100a436#file-gistfile2-txt,
https://gist.github.com/develop7/8d75aa626fffec489947f6746100a436#file-limits-conf
and
https://gist.github.com/develop7/8d75aa626fffec489947f6746100a436#file-gistfile3-txt


--
Regards,
Andrei Dziahel
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >