Bug 796807

Summary: change root's passwd in setup report "/etc/shadow" device busy
Product: Red Hat Enterprise Linux 5 Reporter: Chris Pelland <cpelland>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8CC: bsarathy, cpelland, cshao, gouyang, jboggs, leiwang, mburns, moli, ovirt-maint, pm-eus, sgordon, syeghiay, ycui
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-1.0-84.el5_8.1 Doc Type: Bug Fix
Doc Text:
Attempts to change the root user's password would result in a "device busy" error on the "/etc/shadow/" file. This occurred because multipathd held a lock on the file. The script that changes the password now restarts multipathd to release the lock, avoiding the "device busy" error.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 14:06:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 750149    
Bug Blocks:    

Description Chris Pelland 2012-02-23 17:14:35 UTC
This bug has been copied from bug #750149 and has been proposed
to be backported to 5.8 z-stream (EUS).

Comment 4 Mike Burns 2012-02-23 18:14:11 UTC
http://gerrit.virt.bos.redhat.com/gerrit/47

Comment 7 Stephen Gordon 2012-02-24 20:15: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:
Attempts to change the root user's password would result in a "device busy" error on the "/etc/shadow/" file. This occurred because multipathd held a lock on the file. The script that changes the password now restarts multipathd to release the lock, avoiding the "device busy" error.

Comment 8 errata-xmlrpc 2012-03-07 14:06:29 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-0367.html