On Sep 25, 2013, at 11:23 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: > > On Sep 25, 2013, at 10:48 AM, Rick Stevens <ricks@xxxxxxxxxxxxxx> 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@f20s ~]# hostname > oldmac.localdomain > [root@f20s ~]# hostname -f > hostname: Name or service not known > [root@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@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@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@f20s ~]# hostname f20s.localdomain [root@f20s ~]# hostname -f hostname: Name or service not known [root@f20s ~]# cat /etc/hostname f20s.localdomain Chris Murphy -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test