Bug 986851 - ipa-client-install fails when dbus is updated without restarting it
ipa-client-install fails when dbus is updated without restarting it
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dbus (Show other bugs)
5.9
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Richard Hughes
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-22 04:58 EDT by Eduardo Minguez
Modified: 2014-09-29 07:08 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-02 09:03:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 906293 None None None Never

  None (edit)
Description Eduardo Minguez 2013-07-22 04:58:36 EDT
Description of problem:
RHEL5.2 + RHEL5.9 ipa-client packages fails running ipa-client-install:
...
root        : DEBUG    args=/sbin/service messagebus start 
root        : DEBUG    stdout=Starting system message bus: 
root        : DEBUG    stderr=
root        : DEBUG    args=/sbin/service certmonger restart 
root        : DEBUG    stdout=Stopping certmonger:         [FAILED]
Starting certmonger:                                       [FAILED]
root        : DEBUG    stderr=Error connecting to D-Bus.
Insufficient access.  Please retry operation as root.
root        : ERROR    certmonger failed to restart: Command '/sbin/service certmonger restart ' returned non-zero exit status 1
root        : DEBUG    args=/sbin/service certmonger stop 
root        : DEBUG    stdout=
root        : DEBUG    stderr=
root        : DEBUG    args=/sbin/service certmonger restart 
root        : DEBUG    stdout=Stopping certmonger:         [FAILED]
Starting certmonger:                                       [FAILED]
root        : DEBUG    stderr=Error connecting to D-Bus.
Insufficient access.  Please retry operation as root.
Failed to start the certmonger daemon
Automatic certificate management will not be available
root        : ERROR    certmonger failed to restart: Command '/sbin/service certmonger restart ' returned non-zero exit status 1
root        : DEBUG    args=/sbin/chkconfig certmonger on
root        : DEBUG    stdout=
root        : DEBUG    stderr=
...

Version-Release number of selected component (if applicable):
ipa-client-2.1.3-5.el5_9.2.x86_64.rpm

How reproducible:
Try to enroll a RHEL5.2 client with RHEL5.9 ipa-client packages

Steps to Reproduce:
1. Install RHEL5.2
2. Install ipa-client packages from RHEL5.9
3. Run ipa-client-install

Actual results:
Cert installation fails:
...
root        : DEBUG    args=/sbin/service messagebus start 
root        : DEBUG    stdout=Starting system message bus: 
root        : DEBUG    stderr=
root        : DEBUG    args=/sbin/service certmonger restart 
root        : DEBUG    stdout=Stopping certmonger:         [FAILED]
Starting certmonger:                                       [FAILED]
root        : DEBUG    stderr=Error connecting to D-Bus.
Insufficient access.  Please retry operation as root.
root        : ERROR    certmonger failed to restart: Command '/sbin/service certmonger restart ' returned non-zero exit status 1
root        : DEBUG    args=/sbin/service certmonger stop 
root        : DEBUG    stdout=
root        : DEBUG    stderr=
root        : DEBUG    args=/sbin/service certmonger restart 
root        : DEBUG    stdout=Stopping certmonger:         [FAILED]
Starting certmonger:                                       [FAILED]
root        : DEBUG    stderr=Error connecting to D-Bus.
Insufficient access.  Please retry operation as root.
Failed to start the certmonger daemon
Automatic certificate management will not be available
root        : ERROR    certmonger failed to restart: Command '/sbin/service certmonger restart ' returned non-zero exit status 1
root        : DEBUG    args=/sbin/chkconfig certmonger on
root        : DEBUG    stdout=
root        : DEBUG    stderr=
...

Expected results:
Cert installation correctly

Additional info:
ipa-client dependencies update dbus package, but because it's not restarted, the installation fails.
Maybe the solution is modify the installation procedure by performing a messagebus restart instead a start
Comment 1 Martin Kosek 2013-07-22 07:05:14 EDT
It seems to me that the restart should be rather performed by dbus itself during the upgrade procedure. ipa-client as a dbus consumer just makes sure that dbus is started as it is needed by certmonger. But I do not think that we should interfere with dbus upgrades.

Moving to dbus component to evaluate this issue.
Comment 2 RHEL Product and Program Management 2014-03-07 08:34:35 EST
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Comment 3 RHEL Product and Program Management 2014-06-02 09:03:06 EDT
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).

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