On Thu, Aug 29, 2013 at 2:41 AM, Amyas <[email protected]> wrote:

> Nick Jennings <nick@...> writes:
>
> >
> > Nor can I set the core dump pattern:# echo "/tmp/core-%e-%s-%u-%g-%p-%t"
> >
> /proc/sys/kernel/core_pattern
> >
> > bash: echo: write error: Operation not permitted
> >
> > (running as root)
>
> What distro/kernel?
> Did you check that you can see the value:
> cat /proc/sys/kernel/core_pattern
>
>
I'm running  CentOS 6 with a 2.6.18 kernel, aside from a few additional
packages via the EPEL, there are no significant modifications.
# uname -a
Linux 2.6.18-308.8.2.el5.028stab101.1 #1 SMP Sun Jun 24 20:25:35 MSD 2012
x86_64 x86_64 x86_64 GNU/Linux

And yes, both /proc/sys/kernel/core_pattern and /proc/sys/fs/suid_dumpable
exist.


abrt and systemd can "hijack" core saving systemd saves it in a "journal"
> and abrt in /var/cache/core or /var/spool/core
>
> There are other gotchas for cores depending on your env.
>

Reply via email to