Bug 250939 - Make dbus stop dumping core for warnings
Summary: Make dbus stop dumping core for warnings
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dbus
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-05 18:58 UTC by Steve Grubb
Modified: 2013-03-06 03:51 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-08-06 14:54:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch fixing problems described herein (1.66 KB, patch)
2007-08-05 18:58 UTC, Steve Grubb
no flags Details | Diff

Description Steve Grubb 2007-08-05 18:58:17 UTC
Description of problem:
dbus-libs has a habit of calling abort() for fatal warning which attempts to
generate core files. A core file is not necessary for something like SE Linux
denying access to a file:

open("/var/lib/dbus/machine-id", O_RDONLY) = -1 EACCES (Permission denied)
getpid()                                = 3118
write(2, "process 3118: ", 14)          = 14
write(2, "D-Bus library appears to be inco"..., 198) = 198
write(2, "  D-Bus not built with -rdynamic"..., 64) = 64
tgkill(3118, 3118, SIGABRT)             = 0
--- SIGABRT (Terminated) @ 0 (0) ---
+++ killed by SIGABRT +++

Version-Release number of selected component (if applicable):
1.0.2-6

How reproducible:
everytime

Steps to Reproduce:
1. setenforce 1
2. strace dhcdbd
  
Additional info:
Will attach patch to fix this.

Comment 1 Steve Grubb 2007-08-05 18:58:17 UTC
Created attachment 160717 [details]
patch fixing problems described herein

Comment 2 David Zeuthen 2007-08-06 14:54:11 UTC
This should probably be discussed at the upstream mailing list; either way it
looks like NOTABUG or WONTFIX as this can only happen if D-Bus is incorrectly
installed. Or if SELinux policy or other measures wrongly prevents the process
using libdbus from accessing /var/lib/dbus/machine-id. 

Anyway, closing as UPSTREAM for now.


Note You need to log in before you can comment on or make changes to this bug.