Sorry for the delay. I have been travelling (and stuck in the Volcano cloud).
I recommend upgrading to Cfengine 3, because I know you need something to do in
your spare
time ;-)
Mark
Michael Durket wrote:
> In file do.c (revision 632 in the subversion repository for cfengine 2) at
> the very end of
> the routine UnMount (around line 2350) are these statements:
>
> if ((! DONTDO) && (NUMBEROFEDITS > 0))
> {
> SaveItemList(filelist,VFSTAB[VSYSTEMHARDCLASS],VREPOSITORY);
> AuditLog('y',ptr->audit,ptr->lineno,"Saving filesystem table",CF_CHG);
> }
>
> However, in the AuditLog statement, ptr is NULL, having been set that way
> due to the exit of the "for" loop above (starting around line 2186) so the
> AuditLog
> statement generates an immediate segfault.
>
> I don't know whether or not this code was intended to be executed within the
> "for"
> loop scope or not so am not sure what the most appropriate patch to fix this
> would be.
> My guess would be to change the AuditLog statement to:
>
> AuditLog('y',NULL,0,"Saving filesystem table",CF_CHG);
>
> but even if that's correct, not being an official developer I suspect I
> cannot enter a patch
> into the repository and would appreciate it if someone who was such a
> developer would
> do so.
>
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine