{SPAM?} Re: [Pdns-users] chroot environtment - how to fix?

Michiel van Es info at pcintelligence.nl
Wed Jan 21 15:11:23 UTC 2004



Norbert Sendetzky schreef op 21-1-2004 15:45 het volgende:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Wednesday 21 January 2004 15:41, Michiel van Es wrote:
>  
>
>>When I enable the chrooted environment the default is ./
>>What is ./ for directory? Is that the /etc/powerdns folder?
>>And I got some problems restarting Pdns..I heard that you have to
>>copy the /etc/resolv.conf file to the chrooted directory.
>>Does anyone have some experience with the newest pdns version
>>running in a chrooted environment?
>>    
>>
>
>Look at last years mailing list archive (4. quarter I think). There's 
>a long thread about chroot'ed environments.
>
>IIRC, you need /etc/resolv.conf, /lib/*nss* and possibly a few other 
>files in /var/run/
>
>
>Norbert
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iEYEARECAAYFAkAOkHwACgkQxMLs5v5/7eByhQCfbxnpIZvvqLIJhd4cL4LabQkG
>bvMAnibq+P0jv7z5TQoePPpq2HJ0ih/t
>=tivO
>-----END PGP SIGNATURE-----
>
>
>  
>
Norbert thanks,
but It still does not work for me.
The only thing I see in the mailinglist, is to have a chroot directory 
(/var/chroot) and make an /etc and /lib directory in that directory.
Than copy the /etc/hosts,/etc/resolv.conf and /etc/nsswitch.conf to the 
/var/chroot/etc directory.
The libnss* copied to the /var/chroot/lib directory, restarted pdns but 
still no luck:

Jan 21 15:08:00 server pdns[27158]: Unable to queue notification of 
domain 'pcintelligence.nl': nameservers do not resolve!

Isn't there a specif clue what to be done or to be copied?

Thanks in advance.

regards,

Michiel


More information about the Pdns-users mailing list