Hi,

On Wed, Sep 3, 2014 at 11:07 AM, Yang Andy <williamyan...@hotmail.com>
wrote:

> Hi Mikko
>
> >For everybody's education, would you be able to tell what the issue was.
>
> In order to ouput coredump file,it is necessary to set environment
> variable below.
>
> sysctl kernel.core_pattern=core
> sysctl kernel.core_uses_pid=1
>
>
This is method possible and correct but not the way how it is supposed to
work. I got curious
(well, to be honest there was a bug TC-1578 filed too) what is wrong and
found:

|/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e

has '_' EXEC label and apparently it's not allowed to write to System::Run
which is
what /run/log/ is labeled.

Try this:
# chsmack -e System /lib/systemd/systemd-coredump
# kill -11 <some process>
# systemd-coredumpctl list

Follow-up in https://bugs.tizen.org/jira/browse/TC-1578

-- Mikko
_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to