[augeas-devel] augeas on AIX

David Lutterkort lutter at redhat.com
Tue Aug 11 00:35:44 UTC 2009


On Sat, 2009-08-08 at 23:02 +0200, Kristof Willaert wrote:
> I ran it with the following result:
> 
> $ augtool print
> FILTER: Aliases
>   glob(/etc/aliases, pathc=1) = 0
>   0 matches
> FILTER: Sudoers
>   glob(/etc/sudoers, pathc=1) = 0
>   fnmatch(*.augnew, sudoers, pathc=1) = 1
>   fnmatch(*.augsave, sudoers, pathc=1) = 1
>   fnmatch(*.rpmsave, sudoers, pathc=1) = 1
>   fnmatch(*.rpmnew, sudoers, pathc=1) = 1
>   fnmatch(*~, sudoers, pathc=1) = 1
>   0 matches

It seems that the REALLOC_N is failing, and it looks that that's the
case because Augeas assumes that the pathv in a glob_t is allocated in a
specific manner. Even if this doesn't fix your issue, it needs to be
done. Can you try the attached patch (on top of the previous two) and
let me know if that fixes your issue ?

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Do-not-assume-how-glob-allocates-gl_pathv.patch
Type: text/x-patch
Size: 2866 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20090810/3cd61c7a/attachment.bin>


More information about the augeas-devel mailing list