<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>12828</bug_id>
          
          <creation_ts>2002-12-28 01:45 0000</creation_ts>
          <short_desc>Aide fails to initialize databases making it useless on this platform</short_desc>
          <delta_ts>2003-08-17 07:28:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>1.4_rc1</version>
          <rep_platform>Sparc</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>a-wall@qwest.net</reporter>
          <assigned_to>sparc@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>a-wall@qwest.net</who>
            <bug_when>2002-12-28 01:45:08 0000</bug_when>
            <thetext>All versions of aide in the portage tree fail when trying to create a proper 
database when running &quot;aide --init&quot; to create a database &quot;aide.db&quot; to check the
systems with. 

Since aide is the only intrusion detector i am aware in the portage tree i feel
it is a high priority.


thanks,
-aaron</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-01-05 09:46:13 0000</bug_when>
            <thetext>In testing aide-0.9, it seems that this is fixed.  aide-0.9 is currently marked
~sparc in portage. Aaron, let me know if this works for you and if so, I will
change the keyword to sparc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-01-15 14:00:07 0000</bug_when>
            <thetext>Marked aide-0.8 as -sparc as aide --init is broken and changed aide-0.9&apos;s
keyword from ~sparc to sparc as it works here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-01-15 20:50:09 0000</bug_when>
            <thetext>Apparently, it&apos;s not fixed in all cases.  A config that works on x86 does not
work on sparc.  Looking into it further.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>a-wall@qwest.net</who>
            <bug_when>2003-01-28 15:44:35 0000</bug_when>
            <thetext>Works for me but i am not working with the default gentoo aide.conf 
i think perhaps that should be changed to the one that is on the aide site.


config as follows
--------------------------------------snip------------------------------
#AIDE conf

   # Here are all the things we can check - these are the default rules
   #
   #p:      permissions
   #i:      inode
   #n:      number of links
   #u:      user
   #g:      group
   #s:      size
   #b:      block count
   #m:      mtime
   #a:      atime
   #c:      ctime
   #S:      check for growing size
   #md5:    md5 checksum
   #sha1:   sha1 checksum
   #rmd160: rmd160 checksum
   #tiger:  tiger checksum
   #R:      p+i+n+u+g+s+m+c+md5
   #L:      p+i+n+u+g
   #E:      Empty group
   #&gt;:      Growing logfile p+u+g+i+n+S

   # You can alse create custom rules - my home made rule definition goes like this
   #
   MyRule = p+i+n+u+g+s+b+m+c+md5+sha1

   # Next decide what directories/files you want in the database

   /    MyRule #check only permissions, inode, user and group for etc
 #  /bin MyRule      # apply the custom rule to the files in bin
 #  /sbin MyRule     # apply the same custom rule to the files in sbin
 #  /var MyRule
 #  /home/MyRule
   !/var/log/.*     # ignore the log dir it changes too often
   !/var/spool/.*   # ignore spool dirs as they change too often
   !/var/log/wtmp$  # ignore the file /var/adm/utmp
---------------------snip---------------------------------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-08-17 07:28:24 0000</bug_when>
            <thetext>Closing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>