Bug 756745 - certmonger segfaults when the second daemon is started and can't connect to D-Bus
Summary: certmonger segfaults when the second daemon is started and can't connect to D...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: certmonger
Version: 5.8
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 758797
TreeView+ depends on / blocked
 
Reported: 2011-11-24 12:30 UTC by Aleš Mareček
Modified: 2012-02-21 06:17 UTC (History)
2 users (show)

Fixed In Version: certmonger-0.50-3.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 06:17:23 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0245 0 normal SHIPPED_LIVE certmonger bug fix and enhancement update 2012-02-20 15:07:20 UTC

Description Aleš Mareček 2011-11-24 12:30:26 UTC
Description of problem:
Certmonger segfaults when the second instance is running and can't connect to D-Bus.

$ service certmonger stop
$ service certmonger start
Starting certmonger: [  OK  ]
$ certmonger -S -n
2011-11-24 07:18:25 [13899] Unable to set well-known bus name "org.fedorahosted.certmonger": (2).
Error connecting to D-Bus.
Segmentation fault
$ echo $?
139
$ service certmonger status
certmonger (pid  13897) is running...
$ service certmonger start
$ service certmonger status
certmonger (pid  13897) is running...
$ service certmonger stop
Stopping certmonger: [  OK  ]
$ service certmonger status
certmonger is stopped
$ certmonger -S -n

Version-Release number of selected component (if applicable):
certmonger-0.50-1.el5

How reproducible:
Always

Steps to Reproduce:
See description part
  
Actual results:
Segfault.

Expected results:
No segfault, some error message expected.

Additional info:

Comment 3 Kaleem 2011-12-05 08:27:20 UTC
Verified.

RHEL version:
[root@ipa58client ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga)

Certmonger Version:
[root@ipa58client ~]# rpm -q certmonger
certmonger-0.50-3.el5

[root@ipa58client ~]# service certmonger status
certmonger (pid  15930) is running...
[root@ipa58client ~]# certmonger -S -n 
2011-12-05 14:19:25 [17202] Unable to set well-known bus name "org.fedorahosted.certmonger": (2).
Error connecting to D-Bus.
[root@ipa58client ~]#

Now, there is no segfault.

Comment 4 errata-xmlrpc 2012-02-21 06:17:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0245.html


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