Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1036209

Summary: [AIO] ssh issues
Product: Red Hat Enterprise Virtualization Manager Reporter: Alon Bar-Lev <alonbl>
Component: ovirt-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, dfediuck, eedri, iheim, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: is27 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:14:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1027349, 1049022    

Description Alon Bar-Lev 2013-11-29 18:49:29 UTC
If ~root/.ssh is missing and selinux enabled, it will be created without proper selinux attributes, causing ssh to fail.

Comment 2 Alon Bar-Lev 2013-12-03 19:58:52 UTC
1. If ~root/.ssh is missing and selinux enabled, it will be created without proper selinux attributes, causing ssh to fail.

2. If ~root/.ssh is missing it is created using mode 0755 and not 0700.

3. Validate /etc/ssh/sshd_config, if PermitRootLogin is no then fail early.

Comment 3 Alon Bar-Lev 2013-12-03 20:18:52 UTC
Sandro, please verify and continue from this point.

Thanks!

Comment 4 Sandro Bonazzola 2013-12-06 07:52:28 UTC
(In reply to Alon Bar-Lev from comment #3)
> Sandro, please verify and continue from this point.
> 
> Thanks!

Thank you for the patch.

Comment 5 Sandro Bonazzola 2013-12-06 09:36:24 UTC
verified on upstream master, merged upstream master.
pushed to upstream 3.3 branch.

Comment 6 Sandro Bonazzola 2013-12-06 10:01:35 UTC
verified and approved on 3.3 branch, pending merge.
pushed to 3.3.2 branch, added this bug as blocker for upstream 3.3.2 release.

Comment 8 Itamar Heim 2014-01-21 22:14:37 UTC
Closing - RHEV 3.3 Released

Comment 9 Itamar Heim 2014-01-21 22:22:13 UTC
Closing - RHEV 3.3 Released