Bug 761357 - Multipathd service is stopped by default cause change password failed in single mode.
Summary: Multipathd service is stopped by default cause change password failed in sing...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ovirt-node
Version: 5.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-08 07:23 UTC by cshao
Modified: 2016-04-26 16:37 UTC (History)
11 users (show)

Fixed In Version: ovirt-node-1.0-80.el5
Doc Type: Bug Fix
Doc Text:
During a password change, multipathd was always stopped to prevent it from holding the /etc/shadow file open and preventing the password change from succeeding. In single mode, there is no multipathd, causing the password change to fail. This has been fixed by performing a condrestart of the multipathd service when changing the password instead.
Clone Of:
Environment:
Last Closed: 2012-02-21 05:05:28 UTC
Target Upstream Version:


Attachments (Terms of Use)
single first time (21.94 KB, image/jpeg)
2011-12-08 07:24 UTC, cshao
no flags Details
single shadow (6.00 KB, image/jpeg)
2011-12-08 07:25 UTC, cshao
no flags Details
single second time (23.72 KB, image/jpeg)
2011-12-08 07:25 UTC, cshao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0168 0 normal SHIPPED_LIVE Important: rhev-hypervisor5 security and bug fix update 2012-02-21 10:01:32 UTC

Description cshao 2011-12-08 07:23:44 UTC
Description of problem:
Auto install RHEV-H, enter single mode, change password failed in first time.
Get error: Authentication token manipulation error.


Version-Release number of selected component (if applicable):
rhev-hypervisor5-5.8-20111205.0.el5

How reproducible:
100%

Steps to Reproduce:
1. Auto install RHEV-H.
2. Enter single mode.
3. Change password by run /usr/libexec/ovirt-config-password.
  
Actual results:
1. Change password failed in single mode, get error: Authentication token manipulation error.
2. The password not persist in /etc/shadow file.
3. Change password can successful in second time. The password already persisted in /etc/shadow.
4. No such issue in rescue mode.
5. There is no such issue in rhev-hypervisor5-5.8-20111108.0.el5, so it is a regression bug.

Expected results:
Change password can successful without error.

Additional info:

Comment 1 cshao 2011-12-08 07:24:26 UTC
Created attachment 542385 [details]
single first time

Comment 2 cshao 2011-12-08 07:25:01 UTC
Created attachment 542386 [details]
single shadow

Comment 3 cshao 2011-12-08 07:25:33 UTC
Created attachment 542387 [details]
single second time

Comment 12 Mike Burns 2012-01-13 00:48:29 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:
During password changing, multipathd is stopped to prevent it from holding the /etc/shadow file open and preventing the password change from succeeding.  In single mode, there is no multipathd, causing password changing to fail.  This is fixed by doing a condrestart of the multipathd service.

Comment 13 Stephen Gordon 2012-02-10 14:18:01 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-During password changing, multipathd is stopped to prevent it from holding the /etc/shadow file open and preventing the password change from succeeding.  In single mode, there is no multipathd, causing password changing to fail.  This is fixed by doing a condrestart of the multipathd service.+During a password change, multipathd was always stopped to prevent it from holding the /etc/shadow file open and preventing the password change from succeeding.  In single mode, there is no multipathd, causing the password change to fail.  This has been fixed by performing a condrestart of the multipathd service when changing the password instead.

Comment 14 errata-xmlrpc 2012-02-21 05:05:28 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/RHSA-2012-0168.html


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