<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi All,<br>
    <br>
    I appear to be having a problem exporting auditd logs into the
    Spacewalk front end.<br>
    <br>
    I have followed the necessary steps as listed on the wiki:<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://fedorahosted.org/spacewalk/wiki/AuditReviewing">https://fedorahosted.org/spacewalk/wiki/AuditReviewing</a><br>
    <br>
    But the page still appears to be blank after configuration. Below I
    have listed the current setup:<br>
    <br>
    1. /etc/rhn/rhn.conf has been configured to point to the audit
    logdir:<br>
    <br>
    [root@spacewalk audit]# tail -n2 /etc/rhn/rhn.conf<br>
    # enable audit logging<br>
    web.audit.logdir = /var/satellite/systemlogs<br>
    <br>
    2. Directories created for the test host (in this case the spacewalk
    host itself):<br>
    <br>
    [root@spacewalk audit]# ls -la /var/satellite/systemlogs/<br>
    total 0<br>
    drwxr-xr-x 4 tomcat tomcat 38 Jun 25 10:17 .<br>
    drwxr-xr-x 6 apache root   60 Jun 25 12:27 ..<br>
    drwxr-xr-x 3 tomcat tomcat 18 Jun 25 10:17 localhost<br>
    <br>
    Audit directory is present:<br>
    <br>
    [root@spacewalk audit]# ls -la /var/satellite/systemlogs/localhost/<br>
    total 0<br>
    drwxr-xr-x 3 tomcat tomcat 18 Jun 25 10:17 .<br>
    drwxr-xr-x 4 tomcat tomcat 38 Jun 25 10:17 ..<br>
    drwxr-xr-x 2 tomcat tomcat 42 Jun 25 12:17 audit<br>
    <br>
    And the audit log (parsed with aup.c) is present also:<br>
    <br>
    [root@spacewalk audit]# ls -la
    /var/satellite/systemlogs/localhost/audit/<br>
    total 3692<br>
    drwxr-xr-x 2 tomcat tomcat      42 Jun 25 12:17 .<br>
    drwxr-xr-x 3 tomcat tomcat      18 Jun 25 10:17 ..<br>
    -rw-r--r-- 1 tomcat tomcat  348542 Jun 25 12:16 audit1.parsed<br>
    <br>
    <br>
    I have tried setting the ownership/group to both "apache" and
    "tomcat" but this does not appear to help.<br>
    <br>
    3. Finally, the following command was run previously (before
    changing ownership to tomcat) as listed by the wiki:<br>
    <br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    [root@spacewalk audit]# namei -m
    /var/satellite/systemlogs/localhost/audit/<br>
    f: /var/satellite/systemlogs/localhost/audit/<br>
     dr-xr-xr-x /<br>
     drwxr-xr-x var<br>
     drwxr-xr-x satellite<br>
     drwxr-xr-x systemlogs<br>
     drwxr-xr-x localhost<br>
     drwxr-xr-x audit<br>
    <br>
    The logs for tomcat,httpd and auditd show no related errors.<br>
    <br>
    Despite the above no audit logs are displayed on the front end. Does
    anyone have any ideas as to why this could be?<br>
    <br>
    Kind Regards,<br>
    Sam Caise<br>
  </body>
</html>

<br>
<div><hr></div><pre style="white-space:pre-wrap;color:rgb(80,0,80);background-color:rgb(255,255,255)"><span style="border-collapse:collapse;white-space:normal"><div style="font-family:arial,sans-serif;font-size:13px"><span style="border-collapse:separate"><span style="color:rgb(0,0,0)">InVADE International Ltd, </span><span style="color:rgb(0,0,0)">Orchard Street Business Centre, </span><span style="color:rgb(0,0,0)">13-14 Orchard Street, </span><span style="color:rgb(0,0,0)">Bristol, </span><span style="color:rgb(0,0,0)">BS1 5EH</span><font face="tahoma, sans-serif" style="color:rgb(51,51,51)"><br></font></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">Company Registration Number: 3660482 Registered in England and Wales </span></div></span></pre><div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">This email, and any attachment, is intended only for the attention of the addressee. Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroy all copies and inform the sender by return email. If you have received this email in error, please return it to the sender and highlight the error. We accept no legal liability for the content of the message. Any opinions or views presented are solely the responsibility of the author and do not necessarily represent those of InVADE. We cannot guarantee that this message has not been modified in transit, and this message should not be viewed as contractually binding. Although we have taken reasonable steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.</span></div></div>