setroubleshoot question: database.xml ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

tom
-- 
Tom London

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux