Antwort: Re: No core dump on dbus-daemon crash

Jean-Pierre.Bogler-OPBwO92Cn/[email protected]
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <OF945EB89D.4BF6D411-ONC1257E0B.00261336-C1257E0B.0027F83B@continental-corporation.com>
> 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 <[email protected]> schrieb am 16.03.2015 19:05:18:

> Von: Rick Mann <[email protected]>
> An: Jean-Pierre.Bogler-OPBwO92Cn/[email protected], 
> Kopie: [email protected]
> 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@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@imx6x-std:~# echo "/tmp/core" > /proc/sys/kernel/core_pattern 
> > root@imx6x-std:~# dbus-daemon --address=unix:path=/tmp/bla1 --
> config-file=/etc/d 
> > bus-1/system1.conf --nopidfile --fork 
> > root@imx6x-std:~# busybox ps | grep dbus-daemon | head -n 1 
> >  2504 messagebus 2548 S    dbus-daemon --address=unix:path=/tmp/
> bla1 --config-f 
> > root@imx6x-std:~# kill -SEGV 2504 
> > root@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
> > [email protected]
> > http://lists.freedesktop.org/mailman/listinfo/dbus
> 
> 
> -- 
> Rick Mann
> [email protected]
> 
>

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.