| Home Network Graphics Programming Misc System Help out Distributions specific contact interesting sites manpages tools FAQ Sitemap Imprint poll results Last additions: using iotop to find disk usage hogs using iotop to find disk usage hogs words:887 views:209390 userrating:May 25th. 2007: Words why adblockers are bad486 Views258469 Workaround and fixes for the current Core Dump Handling vulnerability affected kernels Workaround and fixes for the current Core Dump Handling vulnerability affected kernels words:161 views:149756 userrating:April, 26th. 2006: Words New subdomain: toolsntoys.linuxhowtos.org38 Views107295 How to force a check of the file systems How to force a check of the file systems words:179 views:37880 userrating:Oct, 18th. 2005: Words New features online: interactive search function34 Views58525 Sep, 5th. 2005: Words New website design online51 Views46400 Aug, 27th 2005: Words Existing articles can be edited by anyone now.134 Views13200 | Bind-Chroot-Howto (Debian)Version 1.0 This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web. This document comes without warranty of any kind! Install Bind And Chroot Itapt-get install bind9
Create the necessary directories under /var/lib: mkdir -p /var/lib/named/etc Then move the config directory from /etc to /var/lib/named/etc: mv /etc/bind /var/lib/named/etc Create a symlink to the new config directory from the old location (to avoid problems when bind is upgraded in the future): ln -s /var/lib/named/etc/bind /etc/bind Make null and random devices, and fix permissions of the directories: mknod /var/lib/named/dev/null c 1 3 We need to modify the startup script /etc/init.d/sysklogd of sysklogd so that we can still get important messages logged to the system logs. Modify the line: SYSLOGD="" so that it reads: SYSLOGD="-a /var/lib/named/dev/log": #! /bin/sh Restart the logging daemon: /etc/init.d/sysklogd restart Start up BIND, and check /var/log/syslog for any errors: /etc/init.d/bind9 start Good luck! From http://www.falkotimme.com/howtos/debian_bind_chroot/index.php rate this article: current rating: Your rating: back |

|
| 