Re: Dynamic DNS and failed journal



On 7/31/06, Brian Chadwick <brianchad@xxxxxxxxxxxxxx> wrote:

Hi

On FC5 I have dhcpd running and attemtping to update the DNS server from
DHCP.

a log output from bind is as follows:

31-Jul-2006 17:27:55.658 general: notice: running
31-Jul-2006 17:28:08.013 update: info: client 192.168.10.254#32826:
updating zone 'bac.org.au/IN': adding an RR at 'box.bac.org.au' A
31-Jul-2006 17:28:08.014 update: info: client 192.168.10.254#32826:
updating zone 'bac.org.au/IN': adding an RR at 'box.bac.org.au' TXT
31-Jul-2006 17:28:08.015 general: info: journal file
/var/named/bac.org.au.hosts.jnl does not exist, creating it
31-Jul-2006 17:28:08.016 general: error:
/var/named/bac.org.au.hosts.jnl: create: permission denied
31-Jul-2006 17:28:08.016 update: info: client 192.168.10.254#32826:
updating zone 'bac.org.au/IN': error: journal open failed: unexpected
error

I am sure my dhcpd and named config files are ok, as far as allowing
dynamic updates are concerned anyway ... but there seems to be a
permission problem in trying to create bind's zone journal.

I have fiddled with permissions, even going so far as to use 777 !! ...
but the error persists. The update apparantly fails because this journal
can not be created and/or written. This is a stock standard FC5
installation.

I suspect this is something to do with the chrooted environment in which
bind is running ....

Any ideas people?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Hi Brian!

Not really my thing but I will be following this with interest.

My guess, SElinux does not allow dhcpd to create a file there.

Good hunting!

Tod --
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Dynamic DNS and failed journal
    ... On FC5 I have dhcpd running and attemtping to update the DNS server from DHCP. ... updating zone 'bac.org.au/IN': adding an RR at 'box.bac.org.au' TXT ... I suspect this is something to do with the chrooted environment in which bind is running .... ...
    (Fedora)
  • Re: BIND is doing my head in...
    ... > I've spent the last seven hours trying to teach myself all about BIND ... > dhcpd, Samba, Sendmail, and so on, but BIND is doing my head in. ... The Win2k Laptop is being assigned an IP from ... > when I try and ping the domain. ...
    (comp.os.linux)
  • Re: [SLE] DHCP, Bind9 and DDNS setup
    ... >> I'm trying to set up dhcpd and bind to provide dynamic dns here at ... >> single defined entry. ... If named.keys is not workd readable then dhcpd cannot read it since it ...
    (SuSE)
  • Re: DHCP and DNS
    ... > packages do I need to add to run these? ... I'd say bind and dhcpd. ... The Microsoft Torque Wrench: what do you want to shear today? ...
    (comp.os.linux.networking)
  • Re: Setting up bind and dhcp in solaris 10 (from netbsd)
    ... For dhcpd, use ISC dhcpd, and your config file will copy without changes. ... Sun's DHCP server is rather annoying in most ways, ... As far as Bind 9, ISC wrote bind 9, and although Sun has likely mucked abotu ...
    (comp.unix.solaris)