Re: Dynamic DNS and failed journal
- From: Paul Howarth <paul@xxxxxxxxxxxx>
- Date: Mon, 31 Jul 2006 12:54:49 +0100
Tim wrote:
Tim:It (updating master records) certainly works in FC4, though I've set
SELinux options to allow named to overwrite master zone files.
Paul Howarth:It can't create new files such as journal files in /var/named/chroot/var/named though, as that's only writeable by root.
A bit of an oops with my prior post. I looked at the wrong server (one
of the slaves). This is my master server (on FC4, mind you):
ll /var/named/chroot/var/named/ -d
drwxr-x--- 6 named named 4096 Jul 31 19:14 /var/named/chroot/var/named/
My master DNS server can write its master records, and journal files, as
directed to by the DHCP server.
You must have changed the ownership/permissions then. The bind-chroot-9.3.1-20.FC4 package has:
drwxr-x--- 2 root named 0 Mar 31 01:01 /var/named/chroot
drwxr-x--- 2 root named 0 Mar 31 01:01 /var/named/chroot/dev
drwxr-x--- 2 root named 0 Mar 31 01:01 /var/named/chroot/etc
drwxr-x--- 2 root named 0 Mar 13 2003 /var/named/chroot/var
drwxr-x--- 2 root named 0 Aug 25 2004 /var/named/chroot/var/named
drwxrwx--- 2 named named 0 Aug 25 2004 /var/named/chroot/var/named/data
drwxrwx--- 2 named named 0 Jul 27 2004 /var/named/chroot/var/named/slaves
drwxrwx--- 2 root named 0 Mar 13 2003 /var/named/chroot/var/run
drwxrwx--- 2 named named 0 Mar 13 2003 /var/named/chroot/var/run/named
drwxrwx--- 2 named named 0 Mar 13 2003 /var/named/chroot/var/tmp
So /var/named/chroot/var/named is owned by root, not named. Mind you, it's writeable by group named. This is not the case in bind-chroot-9.3.2-20.FC5, which has:
drwxr-x--- 2 root named 0 Apr 19 15:12 /var/named/chroot
drwxr-x--- 2 root named 0 Apr 19 15:12 /var/named/chroot/dev
drwxr-x--- 2 root named 0 Apr 19 15:12 /var/named/chroot/etc
drwxr-x--- 2 root named 0 Mar 13 2003 /var/named/chroot/var
drwxr-x--- 2 root named 0 Apr 19 15:12 /var/named/chroot/var/named
drwxrwx--- 2 named named 0 Aug 25 2004 /var/named/chroot/var/named/data
drwxrwx--- 2 named named 0 Jul 27 2004 /var/named/chroot/var/named/slaves
drwxr-x--- 2 root named 0 Mar 13 2003 /var/named/chroot/var/run
drwxrwx--- 2 named named 0 Mar 13 2003 /var/named/chroot/var/run/named
drwxrwx--- 2 named named 0 Mar 13 2003 /var/named/chroot/var/tmp
Which has /var/named/chroot/var/named not writeable by group named.
There's also SELinux to consider - see:
http://www.isc.org/index.pl?/sw/bind/FAQ.php (search for "journal" on that page)
Mine's been sitting on permissive for a long time, and is allowed to
write to master files. I should switch back to enforcing and retest.
I agree that using the "slaves" directory for this seems wrong; the "data" directory would be better, and should also work OK.
Not sure that I've come across an explanation for what the data
directory is there for.
I'd wager it's there especially for DDNS users :-)
Paul.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Dynamic DNS and failed journal
- From: Brian Chadwick
- Re: Dynamic DNS and failed journal
- From: Paul Howarth
- Re: Dynamic DNS and failed journal
- From: Tim
- Re: Dynamic DNS and failed journal
- From: Paul Howarth
- Re: Dynamic DNS and failed journal
- From: Tim
- Dynamic DNS and failed journal
- Prev by Date: Re: OT: knowledgebase application
- Next by Date: Anti-Novell press briefing may not play well with Xensource
- Previous by thread: Re: Dynamic DNS and failed journal
- Next by thread: Re: Dynamic DNS and failed journal
- Index(es):
Relevant Pages
- Re: master pages and image URL
... As Teemu has mentioned, the "~/...." ... we can also programmatically embeded
asp.net applicaiton root ... | Subject: Re: master pages and image URL ...
|>> When an image is put on a master page... ... (microsoft.public.dotnet.framework.aspnet) - Re: More than One
... affect the sub applications. ... In addition, for Master page, we can
put different Master pages in ... referece Master pages in root application directory,
... Microsoft Online Support ... (microsoft.public.dotnet.framework.aspnet) - Re: Specifying javascript file path on Master pages
... The tilde character stands for the site's root when ASP.NET ... interprets
it. ... runs on the server. ... So I am trying to put them on Master page.
... (microsoft.public.dotnet.framework.aspnet) - Re: Specifying javascript file path on Master pages
... The tilde character stands for the site's root when ASP.NET interprets ...
So I am trying to put them on Master page. ... approach to fill src attribute from server
side but that does not fly ... (microsoft.public.dotnet.framework.aspnet) - Re: trouble with rollover buttons on master page
... The tilde in the "this.src..." ... my original problem where I don't want to
hard code the root. ... Notice the first line is var buttonFolder = ... one
of the buttons is defined in the master page markup as ... (microsoft.public.dotnet.framework.aspnet)