Re: [arch-general] [arch-dev-public] [PSA] minor filesystem changes
On Tue, 23 Oct 2012 16:43:23 +0200 Tom Gundersen <teg@jklm.no> wrote:
Hi guys,
I just pushed a new filesystem package to testing with two minor changes:
We now rely on nss-myhostname being installed, so we no longer have to instruct people to put their local hostname in /etc/hosts. The archlinux(7) manpage was updated to reflect that, as well as to refer to some features of systemd in testing which should make the basic setup more straight-forward (timezone and hostname config in particular).
So, is it safe to remove /etc/hosts after updating the filesystem, or there are some applications which still expect it?.. Thanks.
Please let me know if you notice any issues. When all of this moves to core, I guess the wiki/beginners guide should be updated too... ;-)
Cheers,
Tom
-- Leonid Isaev GnuPG key: 0x164B5A6D Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
On Tue, Oct 23, 2012 at 9:53 PM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
So, is it safe to remove /etc/hosts after updating the filesystem, or there are some applications which still expect it?
You probably still want to keep the standard one we ship, as it provides 'localhost' et al. -t
On Tue, Oct 23, 2012 at 9:53 PM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
On Tue, 23 Oct 2012 16:43:23 +0200 Tom Gundersen <teg@jklm.no> wrote:
Hi guys,
I just pushed a new filesystem package to testing with two minor changes:
We now rely on nss-myhostname being installed, so we no longer have to instruct people to put their local hostname in /etc/hosts. The archlinux(7) manpage was updated to reflect that, as well as to refer to some features of systemd in testing which should make the basic setup more straight-forward (timezone and hostname config in particular).
So, is it safe to remove /etc/hosts after updating the filesystem, or there are some applications which still expect it?.. Thanks.
For ipv4, I think applications using FQDN with "dnsdomainname", "hostname -f" will still need custom /etc/hosts. I doesn't find a way to provide (compatible with those softs) FQDN to nss-myhostname and systemd definition of hostname (understand without dots in /etc/hostname). For ipv6, despite a negative comment in code[1], reverse seems to get hostname and not localhost6. # getent hosts ::1 2a01:240:fe00:8205:223:14ff:fed2:9224 rwolf [1] http://git.0pointer.de/?p=nss-myhostname.git;a=blob;f=nss-myhostname.c;h=831... Cheers, -- Sébastien "Seblu" Luttringer https://www.seblu.net GPG: 0x2072D77A
participants (3)
-
Leonid Isaev
-
Sébastien Luttringer
-
Tom Gundersen