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

2022-06-15 Thread Matthew Miller
On Wed, Jun 15, 2022 at 02:11:11PM +0200, Kamil Paral wrote: > I think we currently hardcode all live images to have "localhost-live" > hostname in the kickstart, because of some x11 bug a long time ago which > failed with a plain "localhost": >

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

2022-06-15 Thread Kamil Paral
On Tue, Jun 14, 2022 at 4:50 PM Michael Catanzaro wrote: > I think we should add this. > > However, gnome-initial-setup is a bit late because currently anaconda > uses hostname to name your btrfs subvolumes. :( > > anaconda would perhaps be a better place, but only if it uses hostnamed > so as

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

2022-06-14 Thread Dusty Mabe
On 6/14/22 07:13, Neal Gompa wrote: > On Tue, Jun 14, 2022 at 6:53 AM Peter Boy wrote: >> >> >> >>> Am 14.06.2022 um 06:25 schrieb Matthew Miller : >>> >>> On Mon, Jun 13, 2022 at 11:08:21PM +0200, Peter Boy wrote: So we might have to handle this differently for desktop type and server

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

2022-06-14 Thread Dusty Mabe
On 6/13/22 14:15, Neal Gompa wrote: > On Mon, Jun 13, 2022 at 2:11 PM Neal Gompa wrote: >> >> On Mon, Jun 13, 2022 at 2:10 PM Matthew Miller >> wrote: >>> >>> On Fri, Jun 10, 2022 at 04:01:03PM -0400, Neal Gompa wrote: openSUSE uses a randomly generated suffix for default hostnames,

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

2022-06-14 Thread Michael Catanzaro
On Tue, Jun 14 2022 at 10:42:59 AM -0400, Neal Gompa wrote: GNOME Initial Setup does not offer the ability to set your computer name. I'm not sure why given that both Windows and Mac do to ensure things work properly on a network, but it's not a thing with GNOME's initial setup wizard. I

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

2022-06-14 Thread Neal Gompa
On Tue, Jun 14, 2022 at 10:29 AM Matthew Miller wrote: > > On Tue, Jun 14, 2022 at 12:53:19PM +0200, Peter Boy wrote: > > Given that cloud-init, for example, can configure a system as fine-grained > > as Anaconda, I think it's more about whether a system is running in a > > managed or unmanaged

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

2022-06-14 Thread Matthew Miller
On Tue, Jun 14, 2022 at 03:41:14PM +0200, Peter Boy wrote: > If I try to summarise all the comments and discussions, the change proposal, > as it is, is not perfect. But each participant can be happy with the > resulting configuration. > > - desktops, because nothing changes for them > - cloud,

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

2022-06-14 Thread Matthew Miller
On Tue, Jun 14, 2022 at 12:53:19PM +0200, Peter Boy wrote: > Given that cloud-init, for example, can configure a system as fine-grained > as Anaconda, I think it's more about whether a system is running in a > managed or unmanaged environment. As I understand it, it's about the "hand off" between

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

2022-06-14 Thread Peter Boy
> Am 14.06.2022 um 13:13 schrieb Neal Gompa : > > On Tue, Jun 14, 2022 at 6:53 AM Peter Boy wrote: >> >> >> >> >> And with server type systems, perhaps we can assume that system >> administrators knows what they are doing? >> > > In my experience, this statement is so rarely true (in

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

2022-06-14 Thread Neal Gompa
On Tue, Jun 14, 2022 at 6:53 AM Peter Boy wrote: > > > > > Am 14.06.2022 um 06:25 schrieb Matthew Miller : > > > > On Mon, Jun 13, 2022 at 11:08:21PM +0200, Peter Boy wrote: > >> So we might have to handle this differently for desktop type and server > >> type systems. > > > > I think the key

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

2022-06-14 Thread Peter Boy
> Am 14.06.2022 um 06:25 schrieb Matthew Miller : > > On Mon, Jun 13, 2022 at 11:08:21PM +0200, Peter Boy wrote: >> So we might have to handle this differently for desktop type and server >> type systems. > > I think the key difference is whether basic configuration is > expected as part of

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

2022-06-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 13, 2022 at 04:12:49PM -0400, Matthew Miller wrote: > On Mon, Jun 13, 2022 at 09:38:01PM +0200, Peter Boy wrote: > > >> YaST generates a linux- hostname when you install it. The "" > > >> string is alphanumeric. > > > > > > Also, yeah, I think if systemd-hostname could do

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

2022-06-13 Thread Matthew Miller
On Mon, Jun 13, 2022 at 11:08:21PM +0200, Peter Boy wrote: > So we might have to handle this differently for desktop type and server > type systems. I think the key difference is whether basic configuration is expected as part of Anaconda, or whether there's a further configuration step. The

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

2022-06-13 Thread Peter Boy
> Am 13.06.2022 um 22:12 schrieb Matthew Miller : > > On Mon, Jun 13, 2022 at 09:38:01PM +0200, Peter Boy wrote: YaST generates a linux- hostname when you install it. The "" string is alphanumeric. >>> >>> Also, yeah, I think if systemd-hostname could do something like

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

2022-06-13 Thread Matthew Miller
On Mon, Jun 13, 2022 at 09:38:01PM +0200, Peter Boy wrote: > >> YaST generates a linux- hostname when you install it. The "" > >> string is alphanumeric. > >> > > > > Also, yeah, I think if systemd-hostname could do something like that, > > we could do that instead of forcing localhost.

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

2022-06-13 Thread Peter Boy
> Am 13.06.2022 um 20:15 schrieb Neal Gompa : > > On Mon, Jun 13, 2022 at 2:11 PM Neal Gompa wrote: >> >> ... >> YaST generates a linux- hostname when you install it. The "" >> string is alphanumeric. >> > > Also, yeah, I think if systemd-hostname could do something like that, > we

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

2022-06-13 Thread Matthew Miller
On Mon, Jun 13, 2022 at 02:09:35PM -0400, Matthew Miller wrote: > 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

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

2022-06-13 Thread Neal Gompa
On Mon, Jun 13, 2022 at 2:11 PM Neal Gompa wrote: > > On Mon, Jun 13, 2022 at 2:10 PM Matthew Miller > 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

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

2022-06-13 Thread Neal Gompa
On Mon, Jun 13, 2022 at 2:10 PM Matthew Miller 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

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

2022-06-13 Thread Matthew Miller
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

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

2022-06-13 Thread Matthew Miller
On Thu, Jun 02, 2022 at 03:27:43PM -0400, Ben Cotton wrote: > The enablement upstream was in > https://github.com/systemd/systemd/pull/5175 and the BZ requesting the > change in Fedora was > https://bugzilla.redhat.com/show_bug.cgi?id=1392925. The original > reasoning being that `localhost` is a

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

2022-06-10 Thread Neal Gompa
On Fri, Jun 10, 2022 at 3:55 PM Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Jun 02, 2022 at 03:27:43PM -0400, Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/FallbackHostname > > The proposal here is to enable variants of Fedora Linux to configure > > their default/fallback

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

2022-06-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 02, 2022 at 03:27:43PM -0400, Ben Cotton wrote: > https://fedoraproject.org/wiki/Changes/FallbackHostname > The proposal here is to enable variants of Fedora Linux to configure > their default/fallback hostname and to set the default for variants > targetting servers (Cloud, CoreOS,

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

2022-06-02 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/FallbackHostname This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering

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

2022-06-02 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/FallbackHostname This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering