Thanks, this is exactly the info I need. I'll give it another go. --- Sviataslau Svirydau <http://www.epam.com/~Sviataslau_Svirydau> wrote: > Hello, > > robert wrote: > > >Hi. I understand that you added the chroot feature to Privoxy. I run under Linux (Debian > >GNU/Linux) and am having one problem. The process starts up and stays up, but whenever a DNS > >lookup happens, it always fails. > > > >To help me debug my configuration, could you please do a "ls -lgR /etc/privoxy/" so I can see > what > >files I need? > > > >Thanks! > > Do you mean process fails when running in a chroot? If you running in a > chroot that you may need additional chroot configuration for making > resolver libraries working. > My configuration is: > > # pwd > /var/lib/privoxy > # ls -lgR ./lib/ > ./lib/: > total 280 > -rwxr-xr-x 1 root 73644 Dec 17 19:30 libnsl.so.1 > -rwxr-xr-x 1 root 12984 Dec 17 19:30 libnss_dns.so.2 > -rwxr-xr-x 1 root 36808 Dec 17 19:30 libnss_files.so.2 > -rwxr-xr-x 1 root 14320 Dec 17 19:30 libnss_hesiod.so.2 > -rwxr-xr-x 1 root 35284 Dec 17 19:30 libnss_nis.so.2 > -rwxr-xr-x 1 root 39928 Dec 17 19:30 libnss_nisplus.so.2 > -rwxr-xr-x 1 root 61644 Dec 17 19:30 libresolv.so.2 > > # ls -lgR ./etc/ > ./etc/: > total 20 > -rw-r--r-- 1 root 26 Jan 19 17:25 host.conf > -rw-r--r-- 1 root 311 Jan 28 15:41 hosts > -rw-r--r-- 1 root 767 Sep 11 09:27 localtime > -rw-r--r-- 1 root 1854 Oct 6 12:44 nsswitch.conf > drwx--x--- 3 privoxy 146 Feb 4 15:39 privoxy > -rw-r--r-- 1 root 94 Oct 6 12:46 resolv.conf > > ./etc/privoxy: > total 160 > -rw-r----- 1 privoxy 31399 Feb 4 15:40 config > -rw-r----- 1 privoxy 31296 Feb 4 09:44 config.old > -rw-r----- 1 privoxy 39617 Feb 4 15:36 default.action > -rw-r----- 1 privoxy 28943 Jan 30 17:29 default.filter > -rw-r----- 1 privoxy 4122 Apr 1 2003 standard.action > drwx--x--- 2 privoxy 4096 Feb 4 15:37 templates > -rw-r----- 1 privoxy 3366 Oct 1 2002 trust > -rw-r----- 1 privoxy 5928 Jan 30 18:48 user.action > > ./etc/privoxy/templates: > total 276 > -rw-r----- 1 privoxy 9468 Nov 11 15:10 blocked > -rw-r----- 1 privoxy 4615 Aug 23 2002 cgi-error-404 > -rw-r----- 1 privoxy 4930 Aug 23 2002 cgi-error-bad-param > -rw-r----- 1 privoxy 4201 Nov 28 2002 cgi-error-disabled > -rw-r----- 1 privoxy 3877 Aug 23 2002 cgi-error-file > -rw-r----- 1 privoxy 4347 Aug 23 2002 cgi-error-file-read-only > -rw-r----- 1 privoxy 5012 Aug 23 2002 cgi-error-modified > -rw-r----- 1 privoxy 4965 Aug 23 2002 cgi-error-parse > -rw-r----- 1 privoxy 4839 May 12 2002 cgi-style.css > -rw-r----- 1 privoxy 4640 Aug 24 2002 connect-failed > -rw-r----- 1 privoxy 3769 Aug 23 2002 default > -rw-r----- 1 privoxy 6107 Aug 23 2002 edit-actions-add-url-form > -rw-r----- 1 privoxy 37799 Aug 23 2002 edit-actions-for-url > -rw-r----- 1 privoxy 602 Aug 23 2002 edit-actions-for-url-filter > -rw-r----- 1 privoxy 12888 Dec 17 18:35 edit-actions-list > -rw-r----- 1 privoxy 2230 May 12 2002 edit-actions-list-button > -rw-r----- 1 privoxy 5086 Dec 17 18:35 edit-actions-list-section > -rw-r----- 1 privoxy 3583 Dec 17 18:35 edit-actions-list-url > -rw-r----- 1 privoxy 5863 Aug 23 2002 edit-actions-remove-url-form > -rw-r----- 1 privoxy 6199 Aug 23 2002 edit-actions-url-form > -rw-r----- 1 privoxy 523 Apr 10 2002 mod-local-help > -rw-r----- 1 privoxy 1243 Aug 23 2002 mod-support-and-service > -rw-r----- 1 privoxy 296 Apr 3 2003 mod-title > -rw-r----- 1 privoxy 325 Apr 10 2002 mod-unstable-warning > -rw-r----- 1 privoxy 4730 Aug 24 2002 no-such-domain > -rw-r----- 1 privoxy 4452 Aug 23 2002 show-request > -rw-r----- 1 privoxy 12471 Feb 20 2003 show-status > -rw-r----- 1 privoxy 4180 Aug 23 2002 show-status-file > -rw-r----- 1 privoxy 5316 Aug 23 2002 show-url-info > -rw-r----- 1 privoxy 4859 Aug 23 2002 show-version > -rw-r----- 1 privoxy 7153 Aug 23 2002 toggle > -rw-r----- 1 privoxy 3489 Aug 23 2002 toggle-mini > -rw-r----- 1 privoxy 5728 Aug 23 2002 untrusted > >