<div dir="ltr">Hi,<br><br>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.<br><br>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.<br><br><i><font face="times new roman, serif">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<br>./configure --with-zlib=/home/nutan/aide/zlib-1.2.11/ --disable-static</font></i><br><br><br>Configure script succeeded when ran with zlib (resolve libz requirement) and disabled static.<br>aide is now running -<br><br><i><font face="times new roman, serif">[nutan@aide aide-0.16.2]$ aide --version<br>Aide 0.16.2<br>Compiled with the following options:<br>WITH_MMAP<br>WITH_PCRE<br>WITH_LSTAT64<br>WITH_READDIR64<br>WITH_MHASH<br>CONFIG_FILE = "/usr/local/etc/aide.conf"<br>[nutan@aide aide-0.16.2]$ </font></i><br><br><br>NOW, the problem area -<br><br>I created a aide.conf file and add following to it -<br><br>





<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>[nutan@aide rtest]$ sudo more /usr/local/etc/aide.conf</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>database=file:/var/lib/aide/aide.db</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>database_out=file:/var/lib/aide/aide.db.new</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>database_new=file:/var/lib/aide/aide.db.new</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>gzip_dbout=yes</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>summarize_changes=no</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>grouped=yes</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>verbose = 10</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>report_base16 = no</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>Checksums = sha512+tiger</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i># The checksums of the databases to be printed in the report</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i># Set to 'E' to disable.</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>database_attrs = Checksums</i></font></span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72);min-height:20px"><font face="times new roman, serif"><i><br></i></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i># check test direcotry<span class="gmail-Apple-converted-space"> </span></i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>/home/nutan/aide/rtest p+n+u+g+s+acl+selinux+xattrs+md5+sha256+sha512</i></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;color:rgb(46,255,18);background-color:rgba(0,0,0,0.72)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font face="times new roman, serif"><i>[nutan@aide rtest]$<span class="gmail-Apple-converted-space" style=""> </span></i></font></span></p></blockquote>


<br>when "aide --init" is run, then I see error of expression.<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px">[nutan@aide rtest]$ aide --init<br>Gzip-support not compiled in.<br>21:Error in expression:acl<br>Configuration error<br>[nutan@aide rtest]$ </blockquote><div><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">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.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Is this because of build steps?? I'll atleast need acl to be part of the attributes list.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Help Please...!!</div><br><br><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Thanks,</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Nutan</div><br>On Tue, 12 Nov 2019 at 10:59, Nutan Vishwakarma <<a href="mailto:nutan.vishwakarma@gmail.com">nutan.vishwakarma@gmail.com</a>> wrote:<br>><br>><br>>> Hi,<br>>><br>>> I compiled aide-0.16.2 which these options -<br>>><br>>> ./configure --with-zlib=/home/nutan/zlib-1.2.11/ --disable-static<br>>><br>>><br>>> 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<br>>> in my aide.conf file. <br>>><br>>> When I check version, it does not show WITH_ZLIB -<br>>><br>>> Aide 0.16.2<br>>><br>>><br>>> Compiled with the following options:<br>>><br>>><br>>> WITH_MMAP<br>>><br>>> WITH_PCRE<br>>><br>>> WITH_LSTAT64<br>>><br>>> WITH_READDIR64<br>>><br>>> WITH_MHASH<br>>><br>>> CONFIG_FILE = "/usr/local/etc/aide.conf"<br>>><br>>><br>>><br>>> Any idea what could be going wrong ? I also need to get "acl" working.<br>>><br>>> thanks,<br>>> Nutan<br>>><br><br><br>-- <br>Er Nutan Vishwakarma<br>Mob: 07893212071<br>P<br> Please consider your environmental responsibility:<br>Before printing this e-mail, ask yourself whether you need a hard copy.<br>GO GREEN.....I am Doing my BIT.<br></div>