[Bug 729780] Re: bind9 fails to create pid file.

Andres Rodriguez andreserl at ubuntu-pe.org
Tue Mar 8 15:43:00 UTC 2011


Hi there,

Thank you for taking the time to report bugs and trying to make Ubuntu
better. Could you please provide the following information?

 - Sample configuration files
 - Could you please provide and step-by-step to be able to reproduce this bug report?
 - Have you installed bind9 first,t hen made configuration/permission changes after which you saw this error?

I've tried to reproduce this bug and I've been unsuccessful. What I did
is the following in a fresh Ubuntu install:

sudo apt-get install bind9

Mar  8 15:31:20 ubuntu named[2412]: starting BIND 9.7.0-P1 -u bind
Mar  8 15:31:20 ubuntu named[2412]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='
Mar  8 15:31:20 ubuntu named[2412]: adjusted limit on open files from 1024 to 1048576
Mar  8 15:31:20 ubuntu named[2412]: found 2 CPUs, using 2 worker threads
Mar  8 15:31:20 ubuntu named[2412]: using up to 4096 sockets
Mar  8 15:31:20 ubuntu named[2412]: loading configuration from '/etc/bind/named.conf'
Mar  8 15:31:20 ubuntu named[2412]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Mar  8 15:31:20 ubuntu named[2412]: using default UDP/IPv4 port range: [1024, 65535]
Mar  8 15:31:20 ubuntu named[2412]: using default UDP/IPv6 port range: [1024, 65535]
Mar  8 15:31:20 ubuntu named[2412]: listening on IPv6 interfaces, port 53
Mar  8 15:31:20 ubuntu named[2412]: listening on IPv4 interface lo, 127.0.0.1#53
Mar  8 15:31:20 ubuntu named[2412]: listening on IPv4 interface eth0, 192.168.122.138#53
Mar  8 15:31:20 ubuntu named[2412]: generating session key for dynamic DNS
Mar  8 15:31:20 ubuntu named[2412]: automatic empty zone: 254.169.IN-ADDR.ARPA
Mar  8 15:31:20 ubuntu named[2412]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Mar  8 15:31:20 ubuntu named[2412]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA

Note the permissions are not the ones you mention. Additionally, files
under /var/run are whipped out whenever the machine boots up and each
service creates new files after the boot up process. The wrong
permissions/ownership you have seen might be from a wrong configuration
file.

ubuntu at ubuntu:~/debian$ ls -l /var/run/named/
total 8
-rw-r--r-- 1 bind bind   5 2011-03-08 15:31 named.pid
-rw------- 1 bind bind 102 2011-03-08 15:31 session.key


ubuntu at ubuntu:~/debian$ ls -l /var/run/
total 36
[..]
drwxrwxr-x 2 root bind     80 2011-03-08 15:31 named
[..]


I'm marking this bug report as incomplete until further information is provided.

** Changed in: bind9 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.
https://bugs.launchpad.net/bugs/729780

Title:
  bind9 fails to create pid file.



More information about the Ubuntu-server-bugs mailing list