|
From: SourceForge.net <no...@so...> - 2003-12-08 11:57:39
|
Bugs item #856171, was opened at 2003-12-08 06:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=856171&group_id=34096 Category: Configuration / Scripts Group: all Status: Open Resolution: None Priority: 5 Submitted By: Heiko Zuerker (smiley73) Assigned to: Nobody/Anonymous (nobody) Summary: Bug with chrootig bind Initial Comment: Hello, all There is one problem with creating jail root for bind daemon. If configuration files are located in some subdirectory in /etc/named directory but not simply in /etc/named then during starting named daemon and creating jail directory there is errors with copying files from config subfolders (named.conf file is in attachment). This configuration worked in Devil-Linux 0.5. If all configuration files move from /etc/named/P subfolder to /etc/named then all works fine. I think that /etc/init.d/jail script incorrect process subfolders in /etc/named folder. Dec 4 11:53:51 src@test named[1238]: starting BIND 9.2.2 -u named -t /jail/ISC_BIND -c /etc/named.conf Dec 4 11:53:51 src@test named[1238]: using 1 CPU Dec 4 11:53:51 src@test named[1240]: loading configuration from '/etc/named.conf' Dec 4 11:53:51 src@test named[1240]: listening on IPv4 interface lo, 127.0.0.1#53 Dec 4 11:53:51 src@test named[1240]: listening on IPv4 interface eth0, 192.168.18.208#53 Dec 4 11:53:51 src@test named[1240]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2001082700 Dec 4 11:53:51 src@test named[1240]: zone somedomain.biz/IN: loading master file P/biz.somedomain: file not found Dec 4 11:53:51 src@test named[1240]: zone somedomain.com/IN: loading master file P/com.somedomaincom: file not found Dec 4 11:53:51 src@test named[1240]: zone localhost/IN: loaded serial 2001082700 Dec 4 11:53:51 src@test named[1240]: zone somedomain.com.ua/IN: loading master file P/ua.com.somedomain: file not found Dec 4 11:53:51 src@test named[1240]: zone somedomain.ua/IN: loading master file P/ua.somedomain: file not found Dec 4 11:53:51 src@test named[1240]: running Dec 4 11:53:51 src@test named[1240]: zone 0.0.127.in-addr.arpa/IN: sending notifies (serial 2001082700) Dec 4 11:53:51 src@test named[1240]: zone localhost/IN: sending notifies (serial 2001082700) // generated by named-bootconf.pl options { directory "/etc/named"; // forwarders { // }; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // "@(#)named.b.pri 4.3 Lachman System V STREAMS TCP source" // // Boot file for Primary Master Name Server // // // type domain source file or host // zone "." { type hint; file "root.hint"; }; // zone "0.0.127.in-addr.arpa" { type master; file "127.0.0"; }; zone "localhost" { type master; file "localhost"; }; // zone "somedomain.ua" { type master; file "P/ua.somedomain"; }; zone "somedomain.com" { type master; file "P/com.somedomaincom"; }; zone "somedomain.biz" { type master; file "P/biz.somedomain"; }; zone "somedomain.com.ua" { type master; file "P/ua.com.somedomain"; }; // logging { channel xfer_out_channel { file "/var/log/named-xfer.out" versions 9 size 524288; print-time yes; }; }; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=856171&group_id=34096 |