SCIENTIFIC-LINUX-USERS Archives

July 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Mon, 25 Jul 2011 01:52:22 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
On 2011/07/23 15:37, Todd And Margo Chester wrote:
> On 07/23/2011 08:25 AM, Nico Kadel-Garcia wrote:
>> On Sat, Jul 23, 2011 at 2:14 AM, Todd And Margo Chester
>> <[log in to unmask]> wrote:
>>> On 07/22/2011 10:41 PM, Nico Kadel-Garcia wrote:
>>>> Youve got named running in the chrooted environment in
>>>> /var/named/chroot. Yank out the bind-chroot package for now, restorie
>>>> it when you've had a chance to read and review the documentaiton.
>>> Hi Nico,
>>>
>>> When I had originally ported, I copied the computer directory tree
>>>
>>> /var/named/chroot
>> This looks like part of your problem. When you "copied" it, did your
>> copying preserve ownership of all the files? Did you use tar, rsync,
>> scp, or what?
>
> tar

With or without --selinux?

Top level ls --lcontext output should look something like this. Make sure
the lower level files are setup appropriately, too:
drwxr-x---. 6 system_u:object_r:named_conf_t:s0 root  named 4096 Jul  7 
15:07 chroot
drwxrwx---. 2 system_u:object_r:named_cache_t:s0 named named 4096 Jul  7 
15:07 data
drwxrwx---. 2 system_u:object_r:named_cache_t:s0 named named 4096 Jul 24 
23:13 dynamic
drwxrwx---. 2 system_u:object_r:named_cache_t:s0 named named 4096 Jul 24 
17:22 local
-rw-r-----. 1 system_u:object_r:named_conf_t:s0 root  named 1892 Feb 18 
2008 named.ca
-rw-r-----. 1 system_u:object_r:named_zone_t:s0 root  named  152 Dec 15 
2009 named.empty
-rw-r-----. 1 system_u:object_r:named_zone_t:s0 root  named  152 Jun 21 
2007 named.localhost
-rw-r-----. 1 system_u:object_r:named_zone_t:s0 root  named  168 Dec 15 
2009 named.loopback
drwxrwx---. 2 system_u:object_r:named_cache_t:s0 named named 4096 Jul  7 
15:07 slaves


{^_^}

ATOM RSS1 RSS2