[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ACL
From: |
Mark . Burgess |
Subject: |
Re: ACL |
Date: |
Fri, 13 Aug 2004 21:10:35 +0200 (MEST) |
Ah yes, found it maybe. Could you try the latest snapshot for me?
http://www.cfengine.org/src-mirror/cfengine-snap.tar.gz
M
On 13 Aug, Frederic Lamock wrote:
> Hi all,
>
> Is there a bug with cfengine 2.1.[6-9] and ACL. It seems these new versions
> do not support ACL. I
> compile cfengine with the option --enable-DCE (on Solaris 9 and on Linux )
> and when I try to run
> this simple program, I've got a segmenation fault (core dump). With version
> 2.1.5 of cfengine -->
> it's ok.
>
> ########
>
> control:
>
> actionsequence = ( files )
> domain = ( opoce.cec.eu.int )
>
> acl:
>
> { acl_hosts
> method:append
> fstype:solaris
> user:fred:rw-
>
> }
>
> files:
>
> /etc/hosts mode=644
> owner=root
> acl=acl_hosts
>
>
> ############
>
>
> Thx
>
> Here is the output :
>
> address@hidden /var/cfengine/bin/cfagent -n -d -f
> /var/cfengine/masters/inputs/cf.acl
> AddClassToHeap(Friday)
> AddClassToHeap(Hr15)
> AddClassToHeap(Min04)
> AddClassToHeap(Min00_05)
> AddClassToHeap(Q1)
> AddClassToHeap(Hr15_Q1)
> AddClassToHeap(Day13)
> AddClassToHeap(August)
> AddClassToHeap(Yr2004)
> Job start time set to Fri Aug 13 15:04:26 2004
> GetNameInfo()
> WildMatch(-,sunos)
> WildMatch(-,sunos)
> WildMatch(sunos,sunos)
> WildMatch(*,sun4u)
> WildMatch(4*,5.9)
> WildMatch(ultrix,sunos)
> WildMatch(hp-ux,sunos)
> WildMatch(aix,sunos)
> WildMatch(linux,sunos)
> WildMatch(sunos,sunos)
> WildMatch(sun4*,sun4u)
> WildMatch(5*,5.9)
> AddClassToHeap(solaris)
> AddClassToHeap(valerian)
> AddClassToHeap(valerian)
> AddClassToHeap(undefined_domain)
> AddClassToHeap(valerian)
> AddClassToHeap(32_bit)
> AddClassToHeap(sunos_5_9)
> AddClassToHeap(sun4u)
> AddClassToHeap(sunos_sun4u)
> AddClassToHeap(sunos_sun4u_5_9)
> AddClassToHeap(sparc)
> AddClassToHeap(sunos_sun4u_5_9_Generic_112233_04)
> AddClassToHeap(compiled_on_solaris2_9)
> Adding alias loghost..
> AddClassToHeap(loghost)
> GetInterfaceInfo()
> AddClassToHeap(net_iface_lo0)
> AddClassToHeap(net_iface_hme0)
> Adding hostip 158.167.96.5..
> AddClassToHeap(158_167_96_5)
> Adding hostname valerian..
> AddClassToHeap(valerian)
> Adding alias loghost..
> AddClassToHeap(loghost)
> AddClassToHeap(158_167_96)
> AddClassToHeap(ipv4_158_167_96_5)
> AddMacroValue(global.ipv4[hme0]=158.167.96.5)
> ExpandVarstring(158.167.96.5)
> Added Macro at hash address 3474 to object global with value
> ipv4[hme0]=158.167.96.5
> AddClassToHeap(ipv4_158_167_96)
> AddClassToHeap(ipv4_158_167)
> AddClassToHeap(ipv4_158)
> cfpopen(/sbin/ifconfig -a)
> Adding object mainNew Parser Object::(BEGIN PARSING
> /var/cfengine/masters/inputs/cf.acl)
> ##########################################################################
> # BEGIN PARSING /var/cfengine/masters/inputs/cf.acl
> ##########################################################################
> NEW ACTION control:
> (No actions pending in )
> InitializeAction()
> (No actions pending in )
>
> ==============================BEGIN NEW ACTION Control
> Defintions:=============
>
> Resetting CLASS to ANY
> LVALUE actionsequence
> HandleLVALUE(actionsequence) in action Control Defintions:
> EQUALS =
> LEFTBRACK
> RVAL-VAROBJ files
> IsInstallable(any) - true
> ExpandVarstring(files)
> Assign variable [actionsequence=files] when any)
> Installing item (files) in the action sequence list
> RIGHTBRACK
> LVALUE domain
> HandleLVALUE(domain) in action Control Defintions:
> EQUALS =
> LEFTBRACK
> RVAL-VAROBJ opoce.cec.eu.int
> IsInstallable(any) - true
> ExpandVarstring(opoce.cec.eu.int)
> Assign variable [domain=opoce.cec.eu.int] when any)
> AddClassToHeap(valerian_opoce_cec_eu_int)
> RIGHTBRACK
> NEW ACTION acl:
> (No actions pending in Control Defintions:)
> InitializeAction()
> (No actions pending in Control Defintions:)
>
> ==============================BEGIN NEW ACTION Access control
> lists:=============
>
> Resetting CLASS to ANY
> LBRACE
> BRACELIST-ID acl_hosts
> HandleBraceObjectID(acl_hosts) in action Access control lists:
> InstallACL(acl_hosts,any)
> IsInstallable(any) - true
> ExpandVarstring(acl_hosts)
> BRACELIST-VAROBJ method:append
> HandleClassifier(method:append) in action Access control lists:
> AddACE(acl_hosts,method:append,[any])
> IsInstallable(any) - true
> ExpandVarstring(acl_hosts)
> ExpandVarstring(method:append)
> Segmentation Fault (core dumped)
>
>
>
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ACL, Frederic Lamock, 2004/08/13
- Re: ACL,
Mark . Burgess <=