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

Reindl Harald h.reindl at thelounge.net
Wed Feb 13 01:23:13 PST 2013



Am 13.02.2013 03:50, schrieb Lennart Poettering:
> On Wed, 13.02.13 05:42, Adam Nielsen (a.nielsen at 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 set-hostname korath.my.domain.com
> 
> So, we currently clean up names here a bit too drastically

you are making a big mistake here
if you think the input is wrong stop with a error message
but do NOT write different things as the users input in config files

this is a very bad style which became visible with this bug

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130213/6d432f5c/attachment.pgp>


More information about the systemd-devel mailing list