On 2016-12-01 22:17, Per Jessen wrote:
Carlos E. R. wrote:
cer@Telcontar:~> man systemd-coredump No manual entry for systemd-coredump
That man-page _is_ present, I have it.
Yes, see my recent post. I used the wrong terminal :-)
If we find that out, perhaps we can write our own configuration to that proc file.
You can do that anytime, I have already reverted to "core.%p".
See my last message, you can make that permanent.
Yep, same here. I find a pretty odd setup, I have to say. What's the point in storing a user-level coredump outside the current dir. Not to mention letting any other user read them.
They can not, unless they are on the root group. At least here.
Ah okay. The core dumps have ACLs, I guess only the user that produced it can read it.
Let me see: Isengard:~ # getfacl /var/lib/systemd/coredump/* getfacl: Removing leading '/' from absolute path names # file: var/lib/systemd/coredump/core.Web\134x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz # owner: root # group: root user::rw- <=== user:cer:r-- <=== group::r-- mask::r-- other::--- I did not see any reference to this in the documentation I read. I still can not delete my cores as the user "owning" them: cer@Isengard:~> l "/var/lib/systemd/coredump/core.Web\x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz" -rw-r-----+ 1 root root 35979148 Dec 1 00:15 /var/lib/systemd/coredump/core.Web\x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz cer@Isengard:~> rm "/var/lib/systemd/coredump/core.Web\x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz" rm: remove write-protected regular file '/var/lib/systemd/coredump/core.Web\x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz'? yes rm: cannot remove '/var/lib/systemd/coredump/core.Web\x20Content.1000.aff7185951c645528f99eedba0fcfc87.19238.1480547652000000.xz': Permission denied cer@Isengard:~>
I'd still like to understand the reasoning for making this the default. It seems utterly superfluous. Why do user coredumps have to be handled by systemd and stored under /var/lib/systemd/coredump ?
To have them centralized, so that the admin sees easily how much space is used/wasted by cores. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)