Am 10.02.2013 20:41, schrieb Adam Nielsen:
> $ cat /etc/hostname
> korath
> 
> $ hostname
> korath
> 
> $ hostname -s
> localhost
> 
> $ hostname -f
> localhost.localdomain
> 
> Why is the short name being reported as localhost?  How can I change the 
> domain to my actual domain name instead of
> "localdomain"?  According to all the documentation, the domain name should 
> not be specified in /etc/hostname - so
> where should it go?

besides that this is more a question for your distributions
list and not the DEVEL upstream-list:

[root@srv-rhsoft:~]$ cat /etc/hostname
srv-rhsoft.rhsoft.net

[root@srv-rhsoft:~]$ hostname
srv-rhsoft.rhsoft.net
[root@srv-rhsoft:~]$ hostname -s
srv-rhsoft
[root@srv-rhsoft:~]$ hostname -d
rhsoft.net
[root@srv-rhsoft:~]$ hostname -f
srv-rhsoft.rhsoft.net

[root@srv-rhsoft:~]$ rpm -q systemd
systemd-197-1.fc18.2.x86_64

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to