Hi,

Sorry, this took way too long to get back. Here is what I was trying to do
and get an error with attribute "acl" when I use it against a directory.

I am trying to test latest available version of aide, on CentOS 7 and not
all dependencies are available via yum, so I installed a few manually in
non standard paths.


*sudo yum install -y bison flex pcre-devel.x86_64 zlib-devel.x86_64
libgcrypt-devel.x86_64 libgcrypt.x86_64 mhash-devel.x86_64
libcryptui-devel.x86_64 gettext-0.19.8.1-2.el7.x86_64./configure
--with-zlib=/home/nutan/aide/zlib-1.2.11/ --disable-static*


Configure script succeeded when ran with zlib (resolve libz requirement)
and disabled static.
aide is now running -










*[nutan@aide aide-0.16.2]$ aide --versionAide 0.16.2Compiled with the
following
options:WITH_MMAPWITH_PCREWITH_LSTAT64WITH_READDIR64WITH_MHASHCONFIG_FILE =
"/usr/local/etc/aide.conf"[nutan@aide aide-0.16.2]$ *


NOW, the problem area -

I created a aide.conf file and add following to it -

*[nutan@aide rtest]$ sudo more /usr/local/etc/aide.conf*

*database=file:/var/lib/aide/aide.db*

*database_out=file:/var/lib/aide/aide.db.new*

*database_new=file:/var/lib/aide/aide.db.new*

*gzip_dbout=yes*


*summarize_changes=no*


*grouped=yes*


*verbose = 10*


*report_base16 = no*


*Checksums = sha512+tiger*


*# The checksums of the databases to be printed in the report*

*# Set to 'E' to disable.*

*database_attrs = Checksums*


*# check test direcotry *

*/home/nutan/aide/rtest p+n+u+g+s+acl+selinux+xattrs+md5+sha256+sha512*

*[nutan@aide rtest]$ *


when "aide --init" is run, then I see error of expression.

[nutan@aide rtest]$ aide --init
Gzip-support not compiled in.
21:Error in expression:acl
Configuration error
[nutan@aide rtest]$


If I remove "acl" from attributes list, then I see same error for xattrs.
When I remove xattrs too, I get aide to initialize for the first time as
expected.

Is this because of build steps?? I'll atleast need acl to be part of the
attributes list.

Help Please...!!


Thanks,
Nutan

On Tue, 12 Nov 2019 at 10:59, Nutan Vishwakarma <[email protected]>
wrote:
>
>
>> Hi,
>>
>> I compiled aide-0.16.2 which these options -
>>
>> ./configure --with-zlib=/home/nutan/zlib-1.2.11/ --disable-static
>>
>>
>> and it compiled well, but at the time of aide --init or --check, I get
error for using gzip_dbout=yes and AUDIT = p+u+g+sha512+acl
>> in my aide.conf file.
>>
>> When I check version, it does not show WITH_ZLIB -
>>
>> Aide 0.16.2
>>
>>
>> Compiled with the following options:
>>
>>
>> WITH_MMAP
>>
>> WITH_PCRE
>>
>> WITH_LSTAT64
>>
>> WITH_READDIR64
>>
>> WITH_MHASH
>>
>> CONFIG_FILE = "/usr/local/etc/aide.conf"
>>
>>
>>
>> Any idea what could be going wrong ? I also need to get "acl" working.
>>
>> thanks,
>> Nutan
>>


-- 
Er Nutan Vishwakarma
Mob: 07893212071
P
 Please consider your environmental responsibility:
Before printing this e-mail, ask yourself whether you need a hard copy.
GO GREEN.....I am Doing my BIT.
_______________________________________________
Aide mailing list
[email protected]
https://www.ipi.fi/mailman/listinfo/aide

Reply via email to