RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 690886 - ipa-submit crashed
Summary: ipa-submit crashed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: certmonger
Version: 6.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 690892
TreeView+ depends on / blocked
 
Reported: 2011-03-25 17:07 UTC by Yi Zhang
Modified: 2011-05-19 13:07 UTC (History)
5 users (show)

Fixed In Version: certmonger-0.39-1.el6
Doc Type: Bug Fix
Doc Text:
After installation of the ipa-client package, the ipa-client-install script runs the ipa-getcert command. As a consequence, the certmonger daemon runs its ipa-submit helper. The helper contacts the IPA server. Previously, if it received a fault message response from the server, it terminated with a segmentation fault and created a core dump; the installation failed. This happened because it attempted to dereference an uninitialized pointer while processing the fault message. With this update, the helper handles the fault message correctly and the enrollment process completes successfully.
Clone Of:
: 690892 (view as bug list)
Environment:
Last Closed: 2011-05-19 13:07:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0570 0 normal SHIPPED_LIVE certmonger bug fix and enhancement update 2011-05-19 09:37:40 UTC

Description Yi Zhang 2011-03-25 17:07:54 UTC
Description of problem:
After ipa-client-install finished and success. /var/log/message reports crash for "ipa-submit".


Version-Release number of selected component (if applicable):
[i386.b root@dhcp-119 ~] rpm -qi certmonger
Name        : certmonger                   Relocations: (not relocatable)
Version     : 0.38                              Vendor: (none)
Release     : 1.20110325T0538z.el6          Build Date: Thu 24 Mar 2011 10:44:40 PM PDT
Install Date: Fri 25 Mar 2011 09:35:13 AM PDT      Build Host: goofy-vm16.dsdev.sjc.redhat.com
Group       : System Environment/Daemons    Source RPM: certmonger-0.38-1.20110325T0538z.el6.src.rpm
Size        : 640954                           License: GPLv3+
Signature   : (none)
URL         : http://certmonger.fedorahosted.org
Summary     : Certificate status monitor and PKI enrollment client
Description :
Certmonger is a service which is primarily concerned with getting your
system enrolled with a certificate authority (CA) and keeping it enrolled.
[i386.b root@dhcp-119 ~] rpm -qa | grep certmonger
certmonger-0.38-1.20110325T0538z.el6.i686

How reproducible: always


Steps to Reproduce:
1. install ipa-server on hostA
2. install ipa-client on hostB
3. run "ipa-client-install" on hostB
=== when ipa-client-install finished, check /var/log/message, ipa-submit crash message logged here. and it will have core-dump message there as well.
  
Actual results:


Expected results:


Additional info:

Comment 1 Yi Zhang 2011-03-25 17:15:31 UTC
bt info:

Core was generated by `/usr/libexec/certmonger/ipa-submit -k host/dhcp-119.sjc.redhat.com.C'.
Program terminated with signal 11, Segmentation fault.
#0  0x006cfcf1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
1593		  process_string_arg (((struct printf_spec *) NULL));
(gdb) bt
#0  0x006cfcf1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
#1  0x00782cb6 in ___printf_chk (flag=1, format=0x804c480 "Server failed request, will retry: %d (%s).\n")
    at printf_chk.c:37
#2  0x0804a193 in printf (argc=3, argv=0xbfc45934) at /usr/include/bits/stdio2.h:105
#3  main (argc=3, argv=0xbfc45934) at ipa.c:264

Comment 7 Eva Kopalova 2011-05-02 17:04:09 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
After installation of the ipa-client package, the ipa-client-install script runs the ipa-getcert command. As a consequence, the certmonger daemon runs its ipa-submit helper. The helper contacts the IPA server. Previously, if it received a fault message response from the server, it terminated with a segmentation fault and created a core dump; the installation failed. This happened because it attempted to dereference an uninitialized pointer while processing the fault message. With this update, the helper handles the fault message correctly and the enrollment process completes successfully.

Comment 8 errata-xmlrpc 2011-05-19 13:07:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0570.html


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