Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1108206 - sshd should run at least once before ipa-client-install
sshd should run at least once before ipa-client-install
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.1
Unspecified Unspecified
medium Severity unspecified
: rc
: ---
Assigned To: Martin Kosek
Namita Soman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-11 10:48 EDT by Martin Kosek
Modified: 2015-03-05 05:11 EST (History)
2 users (show)

See Also:
Fixed In Version: ipa-4.0.3-1.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-05 05:11:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0442 normal SHIPPED_LIVE Moderate: ipa security, bug fix, and enhancement update 2015-03-05 09:50:39 EST

  None (edit)
Description Martin Kosek 2014-06-11 10:48:26 EDT
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4055

When `sshd` is not run before ipa-client-install is run (like in a kickstart), machine has no SSH keys generated and they are thus not uploaded to client host entry on FreeIPA server.

ipa-client-install man page should be updated to state that fact.
Comment 1 Martin Kosek 2014-06-11 11:23:29 EDT
This request is already fixed in upstream FreeIPA project. Please refer to the linked ticket for additional details and related commits.
Comment 3 Xiyang Dong 2015-01-05 14:33:14 EST
Verified on ipa-client-4.1.0-13.el7.x86_64:

[root@qe-blade-05 ~]# man ipa-client
.
.
.

   Assumptions
       The ipa-client-install script assumes that the machine has already generated SSH keys. It will not gener‐
       ate SSH keys of its own accord. If SSH keys are not present (e.g when running the ipa-client-install in a
       kickstart, before ever running sshd), they will not be uploaded to the client host entry on the server.
.
.
.
Comment 5 errata-xmlrpc 2015-03-05 05:11:28 EST
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://rhn.redhat.com/errata/RHSA-2015-0442.html

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