Bug 786055

Summary: Restart multipathd daemon should run in a background operation, should not display in screen
Product: Red Hat Enterprise Linux 5 Reporter: Ying Cui <ycui>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.8CC: bsarathy, cshao, gouyang, jboggs, leiwang, mburns, moli, ovirt-maint, sgordon
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-1.0-85.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 17:54:42 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:    
Bug Blocks: 790880, 807971    

Description Ying Cui 2012-01-31 09:53:42 UTC
Description:
When setup root password via interactive UI, there restart multipathd daemon should run in a background operation, should not display in screen, if it is shown in screen will let the user confuse that why set root password need to restart multipathd first.

build:
rhev-hypervisor5-5.8-20120130.0.el5

********************screenshot**********************

SSH password authentication is currently enabled.

1) Set the administrator password      3) Return to menu
2) Toggle SSH password authentication
Choose an option: 1


 Configure passwords


Set the system administrator's (root) password:
Stopping multipathd daemon:                                [  OK  ]
Starting multipathd daemon:                                [  OK  ]
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: Authentication token manipulation error
Changing password for user root.
File already persisted: /etc/shadow



SSH password authentication is currently enabled.

1) Set the administrator password      3) Return to menu
2) Toggle SSH password authentication

****************************************************

Comment 1 Mike Burns 2012-01-31 13:04:39 UTC
diff --git a/scripts/ovirt-config-password b/scripts/ovirt-config-password
index 473429d..efdc2b6 100755
--- a/scripts/ovirt-config-password
+++ b/scripts/ovirt-config-password
@@ -43,7 +43,7 @@ set_password () {
     # Set the password for the root user first
     printf "\nSet the system administrator's (root) password:\n"
     # refresh paths or /etc/shadow will fail to copy
-    service multipathd condrestart
+    service multipathd condrestart >/dev/null 2>&1
     unmount_config /etc/shadow
     passwd root
     ovirt_store_config /etc/shadow

Comment 3 RHEL Program Management 2012-04-02 10:18:51 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 9 errata-xmlrpc 2013-01-08 17:54:42 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-2013-0143.html