On 10/18/07, Stephen Smalley <sds(a)tycho.nsa.gov> wrote:
On Thu, 2007-10-18 at 07:37 -0700, Tom London wrote:
> I noticed that the initscript for setroubleshoot has a 'cleardb' entry
> that refers to /var/lib/setroubleshoot/database.xml:
>
> cleardb(){
> running=0
> [ -e /var/lock/subsys/$prog ] && running=1
> [ $running == 1 ] && stop
> echo $"Clearing database"
> rm -f /var/lib/setroubleshoot/database.xml
> [ $running == 1 ] && start
> return 0
> }
>
> But I don't seem to have that file:
>
> [tbl@localhost init.d]$ ls -l /var/lib/setroubleshoot
> total 256
> -rw------- 1 root root 251139 2007-10-11 09:42 audit_listener_database.xml
> [tbl@localhost init.d]$
>
> /usr/lib/python2.5/site-packages/setroubleshoot/config.py refers to
> audit_listener:
>
> 'database' : {
> 'database_dir' : {
> 'value' : '/var/lib/setroubleshoot',
> 'description' : '',
> },
> 'filename' : {
> 'value' : 'audit_listener',
> 'description' : '',
>
> Is there a mismatch here? My over reading?
looks like a bug to me - bugzilla it.
--
Stephen Smalley
National Security Agency
Done:
https://bugzilla.redhat.com/show_bug.cgi?id=338071
--
Tom London