Bug 98719

Summary: [RFE] Option to set hostname and default
Product: realmd Reporter: Stephen Gallagher <sgallagh>
Component: realmdAssignee: Stef Walter <stefw>
Status: RESOLVED MOVED QA Contact: yelley
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.