On Sun, Dec 18, 2016 at 12:24:09PM -0500, Matthew Miller wrote:
> On Sun, Dec 18, 2016 at 05:56:04PM +0100, Jan Kratochvil wrote:
> > On Sun, 18 Dec 2016 17:26:40 +0100, Steve Dickson wrote:
> > > How do I get f25 to create cores, these days?
> > echo >/etc/sysctl.d/foo.conf "kernel.core_pattern=core"; reboot
> > It gets broken by:
> >     /usr/lib/sysctl.d/50-coredump.conf
> > $ rpm -qf /usr/lib/sysctl.d/50-coredump.conf
> > systemd-231-10.fc25.x86_64
> 
> On my system, it's actually abrt-ccpp overriding _that_. See
> proposed change https://fedoraproject.org/wiki/Changes/coredumpctl

Yes. "foo.conf" sorts after "50-coredump.conf", so you setting has higher
priority, so systemd-sysctl should set kernel.core_pattern=core.
Most likely it's abrt overriding that pattern.

BTW, no need to reboot to reload sysctl settings,
'sudo /usr/lib/systemd/systemd-sysctl' does the same thing that happens
during boot.

Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to