Bug 98719 - [RFE] Option to set hostname and default
Summary: [RFE] Option to set hostname and default
Status: RESOLVED MOVED
Alias: None
Product: realmd
Classification: Unclassified
Component: realmd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact: yelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 13:50 UTC by Stephen Gallagher
Modified: 2018-10-12 21:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stephen Gallagher 2016-11-14 13:50:02 UTC
It is not uncommon for systems to have a generic default hostname such as "localhost.localdomain" (Fedora, RHEL, CentOS, etc.)

If a user has not explicitly chosen their hostname before running realmd, the following should happen:

* realmd should offer a command-line flag (and D-BUS option) to set the hostname explicitly during enrollment
* If no hostname is provided and the machine's current name matches a whitelist of known default names, realmd should either refuse to enroll or else generate a unique default hostname (including the domain name being joined).


Note that there is an open RFE with systemd for generating repeatable unique strings from the machine-id for this purpose: https://github.com/systemd/systemd/issues/4667
Comment 1 GitLab Migration User 2018-10-12 21:21:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/realmd/realmd/issues/12.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.