Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-14 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 13/02/13 20:01 did gyre and gimble: besides that Lennart's PC is technical absoluetly not needed But I want nice names showing up on my networked PCs at home when they show up in my media centre. A pretty host name is IMO a needed concept. Whether that fits in

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-13 Thread Reindl Harald
Am 13.02.2013 03:50, schrieb Lennart Poettering: On Wed, 13.02.13 05:42, Adam Nielsen (a.niel...@shikadi.net) wrote: Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-13 Thread Jóhann B. Guðmundsson
On 02/13/2013 02:50 AM, Lennart Poettering wrote: I am figure hostnamectl set-hostname is currently a bit too drastic, but I am not fond at all of the idea of adovcate this fqdn-as-kernel-hostname nonsense any further, it sounds like the wrong idea, from a very narrow IP+DNS mindset... I would

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-13 Thread Lennart Poettering
On Wed, 13.02.13 10:23, Reindl Harald (h.rei...@thelounge.net) wrote: Am 13.02.2013 03:50, schrieb Lennart Poettering: On Wed, 13.02.13 05:42, Adam Nielsen (a.niel...@shikadi.net) wrote: Use hostnamectl, assuming your systemd version is new enough:

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-13 Thread Reindl Harald
Am 13.02.2013 20:12, schrieb Lennart Poettering: On Wed, 13.02.13 10:23, Reindl Harald (h.rei...@thelounge.net) wrote: Am 13.02.2013 03:50, schrieb Lennart Poettering: On Wed, 13.02.13 05:42, Adam Nielsen (a.niel...@shikadi.net) wrote: Use hostnamectl, assuming your systemd version is

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-13 Thread Lennart Poettering
On Wed, 13.02.13 20:23, Reindl Harald (h.rei...@thelounge.net) wrote: this is a very bad style which became visible with this bug Well, it's not as simple as it might appear. hostnamectl set-hostname actually sets the pretty hostname (and should do that unaltered), then strips all the

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Adam Nielsen
Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but unfortunately this doesn't seem to work: $ hostnamectl set-hostname korath.my.domain.com $ cat /etc/hostname korathmydomaincom $

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Jóhann B. Guðmundsson
On 02/12/2013 07:42 PM, Adam Nielsen wrote: Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but unfortunately this doesn't seem to work: $ hostnamectl set-hostname korath.my.domain.com

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Lennart Poettering
On Wed, 13.02.13 05:42, Adam Nielsen (a.niel...@shikadi.net) wrote: Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but unfortunately this doesn't seem to work: $ hostnamectl

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-11 Thread Larry Baker
On my Arch Linux ARM system, everything can be set in /etc/network.d/wired-eth0. By default, the version of /etc/network.d/wired-eth0 is for DHCP. I switched that to the version for a fixed IP address first: # cd /etc/network.d # mv wired-eth0{,.orig} # cp examples/ethernet-static

[systemd-devel] How do you set the machine's domain name with systemd?

2013-02-10 Thread Adam Nielsen
Hi all, I have just switched my Arch Linux machine to systemd and it mostly works, but I'm encountering a few issues. For one, all my NFS mounts are failing, and it seems to be because I have granted permission via domain name, and since switching to systemd my machine no longer has a

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-10 Thread Reindl Harald
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?

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-10 Thread David Strauss
Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html On Sun, Feb 10, 2013 at 11:49 AM, Reindl Harald h.rei...@thelounge.net wrote: Am 10.02.2013 20:41, schrieb Adam Nielsen: $ cat /etc/hostname korath $ hostname