Re: gnome settings unexpected values

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

 



On Sep 25, 2013, at 10:48 AM, Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:
> 
> The commands should be:
> 
> 	hostnamectl --static set-hostname f20s.localdomain
> 	hostnamectl --transient set-hostname oldmac.localdomain
> 
> Not sure what happens if you place the options after the commands.

Yes I see in the man page that I have this reversed, but if it's a problem with superfluous or misunderstood information and it doesn't give me an error, that's a bug. So far I'm not seeing any difference in behavior with the order of the commands.


> The default is to set ALL hostnames to that specified so if the command is
> ignoring the option (because it's at the end), the last "hostnamectl"
> command you specified (in this case, oldmac.localdomain) becomes the
> pretty, transient AND static name. More or less what you're seeing.

No, the most recent command set transient to oldmac.localdomain which is then not used for ssh, and not listed with a subsequent hostnamectl, and is only used by Gnome. Everything else shows the static hostname set with the first command.

> 
> You should also check /etc/hosts to see if there's an entry in there for
> 127.0.0.1 referring to oldmac.localdomain.

[root@f20s ~]# cat /etc/hostname
f20s.localdomain



> Also keep in mind that a
> number of the utilities do reverse DNS lookups instead of using the
> hostname bits so you may be seeing a DNS artifact here.

Router running Tomato firmware lists the NIC MAC and IP with Name = f20s so at this point only Gnome is referencing this oldmac.localdomain thing. I might try changing it and see what gets changed elsewhere.


Chris Murphy
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux