gnome settings unexpected values

Chris Murphy lists at colorremedies.com
Wed Sep 25 20:37:15 UTC 2013


On Sep 25, 2013, at 11:23 AM, Chris Murphy <lists at colorremedies.com> wrote:

> 
> On Sep 25, 2013, at 10:48 AM, Rick Stevens <ricks at alldigital.com> wrote:
> 
>> 	hostnamectl --static set-hostname f20s.localdomain
>> 	hostnamectl --transient set-hostname oldmac.localdomain
> 
> OK so just did that and now I'm getting different behavior.
> 
> 1. man hostnamectl says "The static hostname is stored in /etc/hostname, see hostname(5) for more information." And yet
> 
> [root at f20s ~]# hostname
> oldmac.localdomain
> [root at f20s ~]# hostname -f
> hostname: Name or service not known
> [root at f20s ~]# cat /etc/hostname
> f20s.localdomain
> 
> 2. If I ssh to oldmac.local I get a "could not resolve hostname" message, if I ssh to f20s.local it works, yet I now get an oldmac prompt after logging out and back in:
> 
> [root at oldmac ~]# 
> 
> 
> 3. If I restart Avahi, now I have to ssh to oldmac.local instead of f20s.local. I cannot ssh to either oldmac.localdomain or f20s.localdomain, I get a "could not resolve hostname" message.
> 
> 4. Gnome is still set to oldmac.localdomain.

**snicker**

I rebooted, changing nothing else. Now I can't ssh in as oldmac.local, I have to use f20s.local. And now transient doesn't show up. So if I change things, I get some changes in behavior. If I restart processes, I get more changes in behavior. If I reboot, I get a complete reversal of behavior back to the way things were before any of the changes I made. This is a mess, honestly. I think the thing to do is set --static and leave everything else alone.

[root at f20s ~]# hostnamectl
   Static hostname: f20s.localdomain
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 8e4cbfea404512ae70096c6202c9a3bf
           Boot ID: 23cbdff8e1bf4ce9ac26ecc897b8447c
  Operating System: Fedora 20 (Heisenbug)
       CPE OS Name: cpe:/o:fedoraproject:fedora:20
            Kernel: Linux 3.12.0-0.rc2.git0.1.fc21.x86_64
      Architecture: x86_64

[root at f20s ~]# hostname
f20s.localdomain

[root at f20s ~]# hostname -f
hostname: Name or service not known

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


Chris Murphy


More information about the test mailing list