help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: virtual domains


From: Shawn
Subject: Re: virtual domains
Date: 27 Jun 2004 12:25:33 -0700

update:
 After further investigation, it seems that only 1 dir is failing
authentication? I see that the server is pulling new files from all
but my lscripts dir:

Jun 27 12:11:43 serv cfservd[1052]:  Host host.domain.com denied
access to /usr/local/var/cfengine/lscripts/inputrc
Jun 27 12:11:43 serv cfservd[1052]: Host authorization/authentication
failed or access denied
Jun 27 12:11:43 serv cfservd[1052]: From
(host=host.domain.com,user=root,ip=0.0.0.0)

 # ls -l /usr/local/var/cfengine/lscripts/inputrc
-rw-r--r--    1 root     root           77 May 19 11:19 inputrc

 # ll /usr/local/var/cfengine/
total 36
drwxr-xr-x    4 root     root         4096 Jun 22 12:33 cfrpms
drwxr-xr-x    2 root     root         4096 Jun 26 16:07 custom
drwxr-xr-x    2 root     root         4096 May  8 15:09 files
drwxr-xr-x    2 root     root         4096 Jun 26 16:30 inputs
drwxr-xr-x    2 root     root         4096 May 19 11:20 lscripts
drwxr-xr-x    2 root     root         4096 May  9 10:19 ppkeys
drwxr-xr-x    2 root     root         4096 Jun 21 12:31 scripts
drwxr-xr-x    2 root     root         4096 May  1 14:36 vscripts


in my cf.copy:
control:
  actionsequence = ( copy )

  masterfiles  = ( /usr/local/var/cfengine )
  ExcludeCopy  = ( *~ *% core )
  ExcludeLink  = ( *~ *% core )

copy:
 # copy the lscripts scripts
 $(masterfiles)/lscripts/bashrc  dest=/root/.bashrc
                              server=$(policyhost)
                              purge=false
                              backup=false
                              mode=0644
                              inform=false

cfservd.conf:
control:
 base                = ( /usr/local/var/cfengine )
 dirs                = ( "lscripts public custom files vscripts
inputs" )
 Split = ( " " )

admit:
  $(base)/$(dirs) $(hostlist)

Any help would be appreciated. It seems strange that only one dir on
the same level as other would not allow access. Plus all of the
permissions are the same as others that have no problems.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]