RH 7.3 named won't start

Kevin O'Gorman kogorman
Mon May 17 11:47:16 PDT 2004


On Tue, 13 May 2003, Keith Morse wrote:

> On Tue, 13 May 2003, Kevin O'Gorman wrote:
>
> > I'm moving some things around and want to get named working on a
> > machine that's had RH 7.3 for a while now.  I cannot get named
> > to start, apparently because it's having permissions trouble
> > with /var/run, which is owned by root, and mode 755.  It's
> > trying to start as 'named -u named' and I'm guessing it's
> > changing to user named before writing the PID file, so it's
> > short of privileges.
> >
> > How do I get this to work?
> >
>
>
> On mine, /var/run/ has a directory called named/ with the appropriate
> permissions for the named binary.
>
>
> [root at rigel root]# v /var/run/named/
> total 12
> drwxr-xr-x    2 named    named        4096 Mar 30 00:35 .
> drwxr-xr-x    6 root     root         4096 Jan  2 10:27 ..
> -rw-r--r--    1 named    named           6 Mar 30 00:35 named.pid
>
>
> [root at rigel root]# v /var/run | grep named
> drwxr-xr-x    2 named    named        4096 Mar 30 00:35 named
>

Yes, I have the same thing, but named is not using it.  According to
strace() it only attempts to open /var/run/named.pid, and does not
try the directory.

How can I set this behavior of named?

++ kevin



More information about the Linux-users mailing list