Bug #1814

ssh key injected via context does not work with selinux in enforcing mode

Added by Karanbir Singh over 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:03/16/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Context
Target version:Release 4.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.8

Description

When injecting a key using SSH_PUBLIC_KEY via the context mechanism, the target key needs to have its selinux context set correctly. The easy way to do this will be 'restorecon -r ~/.ssh' once the files are put in. At this time ( in 3.8.x ) the key only works when there is no selinux active.

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Category set to Context

This should be included in the rpm version only... or probably check for restorecon before doing it

#2 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Closed
  • Target version set to Release 4.0
  • Resolution set to fixed

Also available in: Atom PDF