Summary: | make systemd-coredump run as user so user has access to coredump | ||
---|---|---|---|
Product: | systemd | Reporter: | Marien Zwart <marien.zwart> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | arthur.titeica, egorov_egor, ht990332 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Marien Zwart
2012-08-30 20:31:25 UTC
systemd 195's systemd-coredumpctl improves matters considerably, but only for users who can read the journal (that is: root and those in the adm group, normally). It seems unfortunate if you cannot grant a user access to coredumps for their own processes without also allowing them to retrieve everyone else's coredumps. Unless there is a benefit/goal to this that I do not understand I still wish this defaulted to off, or perhaps only affected coredumps of processes managed by systemd (not processes spawned by a logged-in user). This has been on the TODO list for a long time: * make the coredump collector tool move itself into the user's cgroup so that the coredump is properly written to the user's own journal file. Works for me. vlc crashed. I did "/usr/bin/systemd-coredumpctl dump 12747 > coredump" as user. and it output the coredump file which KDE's dolphin identified as a program crash data file. also running " /usr/bin/systemd-coredumpctl list" prints out the pids + path of the applications I crashed as my own regular user. As of http://cgit.freedesktop.org/systemd/systemd/commit/?id=edc3797f, journal defaults to SplitMode=uid and coredumps should be readable by the respective users. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.