[arch-releng] [RFC] [PATCH] [archiso] Add DNS resolver support to archiso_pxe_common

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu Nov 24 08:12:34 EST 2011


On 11/24/2011 06:49 AM, Thomas Bächler wrote:
> Am 24.11.2011 03:25, schrieb Gerardo Exequiel Pozzi:
>> +    # Add DNS resolver support
>> +    # Do not "add_binary /lib/libnss_dns.so.2", because will add libnss_dns-VERSION.so.2 as libnss_dns.so.2
>> +    # Is not an issue will work (nobody links directly to VERSION), but is not nice.
>> +    add_symlink $(readlink /lib/libnss_dns.so.2) /lib/libnss_dns.so.2
>> +    add_binary $(readlink -f /lib/libnss_dns.so.2)
> Please, libnss_files, too - /etc/hosts is always useful. Also, shouldn't
> you add /etc/nssswitch.conf as well?
>
OK I will put files support.

Nope, bah depending what your want, now that nss_files will be add is 
likely that you want other behaviour than the default for "hosts" db 
(|dns [!UNAVAIL=return] files)| to (files dns) like provided by 
filesystem pkg.

What do you think? I can add a fixed nsswich.conf with only "hosts: 
files dns" or keep default behaviour, or any other thing...

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list