F18: abrt not catching segfaults by cups und dnsmasq

Robert M. Albrecht lists at romal.de
Tue Feb 19 18:42:01 UTC 2013


Hi Michal,

yes, stupid me.

echo 2 > /proc/sys/fs/suid_dumpable

and abrt catches the dnsmasq crash.

btw: the dnsmasq bug was fixed in upstream today.

cu romal

Am 19.02.13 09:18, schrieb Michal Toman:
> On 18.02.2013 20:40, Adam Williamson  wrote:
>> On 18/02/13 10:38 AM, Robert M. Albrecht wrote:
>>> Hi,
>>>
>>> yes, we are both talking about the clients running as root.
>>>
>>> dnsmasq is compiled with gcc, so CCpp should catch the crash.
>>>
>>> I compiled dnsmasq from source and tested this binary (which also
>>> crashes due to the same bug). These crashes are overlooked also.
>>>
>>> ProcessUnpackaged ist set to yes.
>>>
>>> Even killall -ABRT dnsmasq manages to escape ABRT.
>>>
>>> I updated abrt* from updates-testing, no changes.
>>
>> Starting to sound like a bug, then. Maybe file it against the ccpp
>> plugin?
>
> Hi,
>
> this is not really a bug. AFAIK dnsmasq drops privileges and thus calls
> setuid(). Applications doing this are not dumped by default because of
> security reasons - kernel does not even call the coredump hook. You can
> enable this by setting the value of /proc/sys/fs/suid_dumpable to either
> 1 or 2. See man 5 proc for details.
>
> Michal


More information about the test mailing list