Summary: | Fresh emerge of net-dns/bind-9.2.2-r3 has a broken init script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aidan Taniane <aidanjt> |
Component: | [OLD] Server | Assignee: | Jeffrey Forman (RETIRED) <jforman> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | voxus |
Priority: | Low | ||
Version: | 2004.3 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aidan Taniane
2005-03-15 14:33:03 UTC
updated info, zap resets the init script, the init script says its started OK.. however top shows it hasn't started at all and further attempts to use the init script fails, back to the drawing board. the entire thing is non-functional upon attempting to run bind with `named -n 1 -c /etc/bind/named.conf -u named` it died without any error messages, i retried the same command but adding the -g arg, and this was the result: Mar 16 00:42:20.593 starting BIND 9.2.2-P1 -g -c /etc/bind/named.conf -n 1 -u named Mar 16 00:42:20.593 using 1 CPU Mar 16 00:42:20.596 loading configuration from '/etc/bind/named.conf' Mar 16 00:42:20.597 listening on IPv4 interface eth0, 192.168.0.2#53 Mar 16 00:42:20.598 listening on IPv4 interface lo, 127.0.0.1#53 Mar 16 00:42:20.601 command channel listening on 127.0.0.1#953 Mar 16 00:42:20.601 ignoring config file logging statement due to -g option Mar 16 00:42:20.601 couldn't open pid file '/var/run/named.pid': Permission denied Mar 16 00:42:20.601 exiting (due to early fatal error) as you can see bind is attempting to use /var/run/named.pid as the pid file instead of /var/run/named/named.pid for which it has permissions to read and write files. If i remember correctly assigning the pid file a location is a compile time option, i'll look over the sources and ebuild now. fixed in 9.2.5 thanks, Aidan |