Bug 1658053

Summary: [downstream clone - 4.2.8] Failed to start OpenSSH server daemon
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: redhat-virtualization-hostAssignee: Yuval Turgeman <yturgema>
Status: CLOSED ERRATA QA Contact: chyan
Severity: high Docs Contact: Rolfe Dlugy-Hegwer <rdlugyhe>
Priority: urgent    
Version: 4.2.8CC: chyan, cshao, huzhao, qiyuan, rdlugyhe, sbonazzo, weiwang, yaniwang, ycui, yturgema
Target Milestone: ovirt-4.2.8Keywords: Rebase, Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: vdsm-tool may change /etc/group, resulting in a changed label for selinux. Consequence: Openssh fails when trying to run chgrp for creating the host keys. Fix: Move selinux relabel after calling vdsm-tool. Result: /etc/group has the right selinux label, and the system is stable.
Story Points: ---
Clone Of: 1655003 Environment:
Last Closed: 2019-01-22 12:44:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1655003    
Bug Blocks:    

Description RHV bug bot 2018-12-11 06:58:58 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1655003 +++
======================================================================

Created attachment 1510098 [details]
screenshot, ks file and log related

Description of problem:
1.RHVH 4.2.8 installed in local machine, the status of service sshd : activating(auto-restart),Failed to start OpenSSH server daemon.
2.RHVH 4.2.8 installed in vm, the status of service sshd: inactive(dead).
2.RHVH4.2.7 installed, the status of service sshd : active(running)

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.2.8-20181128.0.el7_6



How reproducible:
100%
Regression bug
Keywords: sshd

 Steps to Reproduce:
1. install redhat-virtualization-host-4.2.8-20181128.0 via ks.
2. enter command "service sshd status"


Actual results:

1.local machine:Active:activating(auto-restart)
Nov 30 07:10:58 systemctl[1]:Failed to start OpenSSH server daemon.
2. VM (see attachment )

Expected results:

active(running)

(Originally by Chang Yan)

Comment 11 errata-xmlrpc 2019-01-22 12:44:15 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.

https://access.redhat.com/errata/RHBA-2019:0116