Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #164479

BIND problem

From Glenn English <ghe@srv.slsware.net>
Newsgroups linux.debian.user
Subject BIND problem
Date 2016-02-22 11:00 +0100
Message-ID <r4VrB-3HO-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I'm seeing lots of:

> Feb 21 23:32:24 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-I5cJjYH7fV: open: permission denied
> Feb 21 23:36:54 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-zsVXbHkEG1: open: permission denied
> Feb 21 23:46:00 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-ngGrdGrU2a: open: permission denied
> Feb 21 23:49:26 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-Q0vQCUg5xd: open: permission denied
> Feb 21 23:58:36 log named[20061]: zone richeyrentals.com/IN: refresh: could not set file modification time of '/var/cache/bind/slaves/db.richeyrentals.com': permission denied
> Feb 21 23:59:56 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-Ef1P4JJ7WK: open: permission denied
> Feb 22 00:02:30 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-X7frzE1EHg: open: permission denied
> Feb 22 00:14:26 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-Mvis5kMjqB: open: permission denied
> Feb 22 00:14:54 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-5cVqqTAnb6: open: permission denied
> Feb 22 00:25:31 log named[20117]: zone richeyrentals.com/IN: refresh: could not set file modification time of '/var/cache/bind/slaves/db.richeyrentals.com': permission denied
> Feb 22 00:25:48 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-5n3f6qn0Cj: open: permission denied
> Feb 22 00:29:50 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-qbxXuXSlvZ: open: permission denied
> Feb 22 00:38:07 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-n99ZL1tdSc: open: permission denied
> Feb 22 00:43:19 log named[20117]: dumping master file: /var/cache/bind/slaves/tmp-yhcq7G3STF: open: permission denied
> Feb 22 00:51:46 log named[20061]: dumping master file: /var/cache/bind/slaves/tmp-8m09QHZPqR: open: permission denied
> Feb 22 00:53:20 log named[20061]: zone richeyrentals.com/IN: refresh: could not set file modification time of '/var/cache/bind/slaves/db.richeyrentals.com': permission denied

in my log.

I looked on the web, and no suggestion helped. Except one: one of then said his worked when he ran bind (aka named) as root. I tried that and sure enough, it 'fixed' the problem. Until monit somehow noticed the DNS wasn't running and started it from /etc/init.d (I'm still running Wheezy). 

It happens only on the master DNS server -- the slaves do their dumps successfully, or maybe they don't try.

I tried su -'ing from root to user bind (after giving bind a shell). No joy.

Everything in /var/cache/bind is owned by bind:bind, it's all owner and group writable, root manages to write the files, there are no complaints about the masters directory (there are also no files called tmp-*** in there), and I'm at a loss as to why there's a problem setting the modification time (touch does it just fine).

Has anyone seen this and fixed it? 

I'm guessing somebody's just kidding about the directory they're trying to write into, and their real directory is owned by user nobody...

-- 
Glenn English

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-22 11:00 +0100
  Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-22 11:20 +0100
    Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-22 21:30 +0100
      Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-22 22:00 +0100
        Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-22 23:00 +0100
          Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-22 23:20 +0100
            Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-23 00:00 +0100
              Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-23 05:10 +0100
                Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-23 09:50 +0100
                Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-23 16:10 +0100
                Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-23 17:00 +0100
                Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-23 22:30 +0100
                Re: BIND problem Reco <recoverym4n@gmail.com> - 2016-02-23 22:50 +0100
                Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-24 05:20 +0100
            Re: BIND problem Glenn English <ghe@srv.slsware.net> - 2016-02-23 00:00 +0100

csiph-web