named erroring out

This is a discussion on named erroring out within the Linux Security forums, part of the System Security and Security Related category; I'm trying to set up a caching named on an RHEL 3 system. When I try to run it, ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2004
Dan Stromberg
 
Posts: n/a
Default named erroring out


I'm trying to set up a caching named on an RHEL 3 system.

When I try to run it, I get:

Dec 15 14:05:28 hostname named[9153]: couldn't open pid file
'/var/run/named/named.pid': Permission denied

Dec 15 14:05:48 hostname named[9153]: exiting (due to
early fatal error)

strace'ing named indicates that named is Not setuid'ing, but it Is using
capalities. I assume it's these capabilty restrictions that are
preventing named from writing to /var/run/named, which is mode 770, and
owned by the "named" user.

Does anyone have any thoughts on how to make named work on this RHEL 3
system?

Thanks!

Reply With Quote
  #2 (permalink)  
Old 12-16-2004
Colin McKinnon
 
Posts: n/a
Default Re: named erroring out

Dan Stromberg wrote:

>
> Dec 15 14:05:28 hostname named[9153]: couldn't open pid file
> '/var/run/named/named.pid': Permission denied
>
> Dec 15 14:05:48 hostname named[9153]: exiting (due to
> early fatal error)
>
> strace'ing named indicates that named is Not setuid'ing, but it Is using
> capalities. I assume it's these capabilty restrictions that are
> preventing named from writing to /var/run/named, which is mode 770, and
> owned by the "named" user.
>
> Does anyone have any thoughts on how to make named work on this RHEL 3
> system?


No, but if you're sure it's not a permissions issue you migt want to check
the chroot environment to make sure it contains the *directory*
var/run/named

HTH

C.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0