Bug 786055 - Restart multipathd daemon should run in a background operation, should not display in screen
Summary: Restart multipathd daemon should run in a background operation, should not di...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ovirt-node
Version: 5.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 790880 807971
TreeView+ depends on / blocked
 
Reported: 2012-01-31 09:53 UTC by Ying Cui
Modified: 2016-04-26 15:41 UTC (History)
9 users (show)

Fixed In Version: ovirt-node-1.0-85.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 17:54:42 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0143 0 normal SHIPPED_LIVE rhev-hypervisor5 bug fix update 2013-01-08 22:53:23 UTC

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


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