Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Systemd uses new hostname file #29

Open
NOhs opened this issue Jan 20, 2017 · 1 comment
Open

Systemd uses new hostname file #29

NOhs opened this issue Jan 20, 2017 · 1 comment

Comments

@NOhs
Copy link
Collaborator

NOhs commented Jan 20, 2017

See also https://wiki.archlinux.org/index.php/Network_configuration#Set_the_hostname, /etc/hosts is still supported though.

@GPMueller
Copy link
Collaborator

GPMueller commented Feb 5, 2017

The /etc/nsswitch.conf is correctly configured by default (i.e. contents identical to here.
I cannot find out what needs to be edited so that

getent ahosts `hostname`

does not just return the trivial localhost.localdomain...

If I understand correctly, it should by default give the hostname from /etc/hostname if it is not configured in files (i.e. /etc/hosts).

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants