Re: F37 proposal: Fallback Hostname (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 6/13/22 14:15, Neal Gompa wrote:
> On Mon, Jun 13, 2022 at 2:11 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
>>
>> On Mon, Jun 13, 2022 at 2:10 PM Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:
>>>
>>> On Fri, Jun 10, 2022 at 04:01:03PM -0400, Neal Gompa wrote:
>>>> openSUSE uses a randomly generated suffix for default hostnames, which
>>>> neatly solves this problem. It makes autodiscovery and other things
>>>> actually work properly. As it is, having just "fedora" breaks too much
>>>> stuff. If it was "fedora-XXXXX", then we could probably keep it.
>>>
>>> How do they implement this? I wonder if it would make sense to have
>>> systemd-hostname understand some character like # (which isn't valid in
>>> hostnames) in DEFAULT_HOSTNAME to be replaced with a random number seeded
>>> from the machine-id?
>>>
>>
>> YaST generates a linux-XXXX hostname when you install it. The "XXXX"
>> string is alphanumeric.
>>
> 
> Also, yeah, I think if systemd-hostname could do something like that,
> we could do that instead of forcing localhost.

I agree that having a template like linux-XXXX that could be substituted
in would be useful and I think we should probably do that for all variants
that will stick with the existing fallback hostname today. Maybe in a followup
change proposal?

I don't think that fixes all concerns that are embedded in this proposal, though.

Dusty
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux