News for hackers. Stuff that matters.
Re:Debuggers Suck by gmueckl on Wednesday November 27, 2019 @01:59AM (#21645880)
Core dumps are great, especially for the occasional odd bug that occurs only in long running processes. However, the ridiculous systemd default of attempting and failing to capture the kernel core dump into the binary journal completely ruins this. Only small, uninteresting core dumps are ever captured; large ones are silently discarded because the journal is not allowed to grow that big.
Re:Debuggers Suck by sfink on Wednesday November 27, 2019 @02:44AM (#21646056)
Yeah, when I'm crashing and want to keep cores, I'll temporarily modify /proc/sys/kernel/core_pattern to prevent systemd from eating them. I sometimes want them suppressed, sometimes want them written out, and never want them to go to systemd.
Re:Debuggers Suck by Pahr3yah on Wednesday November 27, 2019 @06:24AM (#21647012)
One issue is that that sysctl is not a namespaced one.