Catching core files in read-only jails
J David
j.david.lists at gmail.com
Fri Apr 1 15:43:06 UTC 2016
On Fri, Apr 1, 2016 at 5:32 AM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> It would be really nice if instead of coredumps one could select to
> just get a stack backtrace.
Ah, yes, that would be great! Especially if it could automatically go
into the dmesg or syslog. Or stderr for that matter. (That last
would be kind of ugly, but we could make it work.)
It looks like there’s a FreeBSD port of libsegfault now
(https://github.com/stass/libsegfault ). Maybe we can wedge that in
there as a medium-term solution.
For the short term, we’ll try wedging a noexec tmpfs in there and see
if we can get what we need that way.
Thanks for the suggestions!
More information about the freebsd-hackers
mailing list