Hide Forgot
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:
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
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.
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