Antwort: Re: No core dump on dbus-daemon crash
Jean-Pierre.Bogler at continental-corporation.com
Jean-Pierre.Bogler at continental-corporation.com
Tue Mar 17 00:16:34 PDT 2015
> User-vs-root or other core dump size limits?
>
> http://www.akadia.com/services/ora_enable_core.html
Thank you Rick. I think the trick is the setuid, about which Simon wrote,
in combination with ulimit settings.
The system is started by systemd. I know that RLIMIT_CORE can be
configured in the unit files, but I think
the configuration will have no effect, because of the setuid.
I think a solution could be to remove the user from the policy and add it
to the unit file. What do you think?
Rick Mann <rmann at latencyzero.com> schrieb am 16.03.2015 19:05:18:
> Von: Rick Mann <rmann at latencyzero.com>
> An: Jean-Pierre.Bogler at continental-corporation.com,
> Kopie: dbus at lists.freedesktop.org
> Datum: 16.03.2015 19:05
> Betreff: Re: No core dump on dbus-daemon crash
>
> User-vs-root or other core dump size limits?
>
> http://www.akadia.com/services/ora_enable_core.html
>
>
> > On Mar 16, 2015, at 09:43 , Jean-Pierre.Bogler at continental-
> corporation.com wrote:
> >
> > Hello!
> >
> > I'm currently hunting a bug where the dbus-daemon (version 1.6.4)
> sporadically is killed
> > by a SIGSEGV during system start. Unfortunately, I don't get a
> core dump when the daemon
> > is started by the user "messagebus".
> >
> > root at imx6x-std:~# echo "/tmp/core" > /proc/sys/kernel/core_pattern
> > root at imx6x-std:~# dbus-daemon --address=unix:path=/tmp/bla1 --
> config-file=/etc/d
> > bus-1/system1.conf --nopidfile --fork
> > root at imx6x-std:~# busybox ps | grep dbus-daemon | head -n 1
> > 2504 messagebus 2548 S dbus-daemon --address=unix:path=/tmp/
> bla1 --config-f
> > root at imx6x-std:~# kill -SEGV 2504
> > root at imx6x-std:~# ls /tmp/core*
> > ls: /tmp/core*: No such file or directory
> >
> > If I remove "<user>messagebus</user>" from the system(1).conf. The
> crash dumps are written!
> > Does someone have an idea why it doesn't work with user "messagebus"?
> >
> > Best regards
> > Jean-Pierre
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus
>
>
> --
> Rick Mann
> rmann at latencyzero.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20150317/6bc332f6/attachment.html>
More information about the dbus
mailing list