[Bug 1031024] New: TW20170322: disabled core dumps in GNOME session
http://bugzilla.opensuse.org/show_bug.cgi?id=1031024 Bug ID: 1031024 Summary: TW20170322: disabled core dumps in GNOME session Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: develop7@develop7.info QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Repro: 1. Create a file /etc/security/limits.d/coredump.conf containing following (w/o quotes): "* - core unlimited" 2. Log in as regular user 3. Run ulimit -c Expected: unlimited Instead: 0 This, in particular, prevents me form having core dump of gnome-shell segfault:
$ coredumpctl -1 list /usr/bin/gnome-shell TIME PID UID GID SIG COREFILE EXE Sun 2017-03-26 17:53:38 +03 3068 1000 100 11 none /usr/bin/gnome-shell
Сак 26 17:53:38 t-rex.homenet kernel: gnome-shell[3068]: segfault at 7f57d62fffe8 ip 00007f58227a6965 sp 00007ffee1ee7d80 error 4 in libgjs.so.0.0.0[7f582277a000+be000] Сак 26 17:53:38 t-rex.homenet systemd[1]: Started Process Core Dump (PID 1436/UID 0). Сак 26 17:53:38 t-rex.homenet systemd-coredump[1437]: Resource limits disable core dumping for process 3068 (gnome-shell). Сак 26 17:53:38 t-rex.homenet systemd-coredump[1437]: Process 3068 (gnome-shell) of user 1000 dumped core.
And to prove current gnome-shell has coredumps disabled:
$ pgrep -u develop7 -f /usr/bin/gnome-shell 3121 $ cat /proc/3121/limits | grep core Max core file size 0 unlimited bytes
It looks like this restriction comes in place somewhere inside gdm-x-session binary, because it has unlimited core size, but his child, gnome-session-binary, has core size 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031024 http://bugzilla.opensuse.org/show_bug.cgi?id=1031024#c1 --- Comment #1 from Andrei Dziahel <develop7@develop7.info> --- The issue is still there, TW 20170516 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031024 http://bugzilla.opensuse.org/show_bug.cgi?id=1031024#c2 --- Comment #2 from Andrei Dziahel <develop7@develop7.info> --- Affects fresh TW20170521 installation too -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031024 http://bugzilla.opensuse.org/show_bug.cgi?id=1031024#c3 --- Comment #3 from Andrei Dziahel <develop7@develop7.info> --- (In reply to Andrei Dziahel from comment #2)
Affects fresh TW20170521 installation too
Affects partially though: a user has his core size unlimited, but gnome-shell got its' = 0. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031024 http://bugzilla.opensuse.org/show_bug.cgi?id=1031024#c4 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dimstar@opensuse.org Resolution|--- |FIXED --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- Verified on TW 20200622, this is at least no longer the case:
grep core /proc/$(pidof /usr/bin/gnome-shell)/limits Max core file size unlimited unlimited bytes
-- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com