Bug 250939

Summary: Make dbus stop dumping core for warnings
Product: [Fedora] Fedora Reporter: Steve Grubb <sgrubb>
Component: dbusAssignee: David Zeuthen <davidz>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-06 14:54:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch fixing problems described herein none

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.