91 lines
3.2 KiB
Diff
91 lines
3.2 KiB
Diff
diff -r -u setroubleshoot-1.9.4/src/config.py setroubleshoot-1.9.4.good/src/config.py
|
|
--- setroubleshoot-1.9.4/src/config.py 2007-03-19 14:56:59.000000000 -0400
|
|
+++ setroubleshoot-1.9.4.good/src/config.py 2007-05-07 14:25:12.438028000 -0400
|
|
@@ -32,7 +32,7 @@
|
|
|
|
_cfg = None
|
|
|
|
-CFG_FILE = os.path.join('/usr/local/etc/setroubleshoot', "%s.cfg" % 'setroubleshoot')
|
|
+CFG_FILE = os.path.join('/etc/setroubleshoot', "%s.cfg" % 'setroubleshoot')
|
|
|
|
LOG_CATEGORIES = ['rpc','xml','cfg','alert','sig','plugin','avc',
|
|
'email','gui', 'gui_data', 'program','database','server','dbus',
|
|
@@ -41,7 +41,7 @@
|
|
defaults = {
|
|
'general' : {
|
|
'pid_file' : {
|
|
- 'value' : '/usr/local/var/run/setroubleshootd.pid',
|
|
+ 'value' : '/var/run/setroubleshootd.pid',
|
|
'description' : '',
|
|
'readOnly' : False,
|
|
},
|
|
@@ -65,12 +65,12 @@
|
|
'readOnly' : True,
|
|
},
|
|
'data_dir' : {
|
|
- 'value' : '/usr/local/share/setroubleshoot',
|
|
+ 'value' : '/usr/share/setroubleshoot',
|
|
'description' : '',
|
|
'readOnly' : True,
|
|
},
|
|
'config_dir' : {
|
|
- 'value' : '/usr/local/etc/setroubleshoot',
|
|
+ 'value' : '/etc/setroubleshoot',
|
|
'description' : '',
|
|
'readOnly' : True,
|
|
},
|
|
@@ -93,7 +93,7 @@
|
|
},
|
|
'alert' : {
|
|
'status_icon' : {
|
|
- 'value' : os.path.join('/usr/local/share/setroubleshoot/gui','setroubleshoot_icon.png'),
|
|
+ 'value' : os.path.join('/usr/share/setroubleshoot/gui','setroubleshoot_icon.png'),
|
|
'description' : '',
|
|
'readOnly' : True,
|
|
},
|
|
@@ -104,7 +104,7 @@
|
|
},
|
|
'plugins' : {
|
|
'plugin_dir' : {
|
|
- 'value' : '/usr/local/share/setroubleshoot/plugins',
|
|
+ 'value' : '/usr/share/setroubleshoot/plugins',
|
|
'description' : '',
|
|
},
|
|
},
|
|
@@ -127,7 +127,7 @@
|
|
},
|
|
'database' : {
|
|
'database_dir' : {
|
|
- 'value' : '/usr/local/var/lib/setroubleshoot',
|
|
+ 'value' : '/var/lib/setroubleshoot',
|
|
'description' : '',
|
|
},
|
|
'filename' : {
|
|
@@ -141,7 +141,7 @@
|
|
'description' : '',
|
|
},
|
|
'path' : {
|
|
- 'value' : os.path.join('/usr/local/var/run/setroubleshoot','setroubleshoot_server'),
|
|
+ 'value' : os.path.join('/var/run/setroubleshoot','setroubleshoot_server'),
|
|
'description' : '',
|
|
'readOnly' : False,
|
|
},
|
|
@@ -203,7 +203,7 @@
|
|
The list of available categories is: [%s]''' % ', '.join(LOG_CATEGORIES),
|
|
},
|
|
'filename' : {
|
|
- 'value' : '/usr/local/var/log/setroubleshoot/setroubleshootd.log',
|
|
+ 'value' : '/var/log/setroubleshoot/setroubleshootd.log',
|
|
'description' : '',
|
|
},
|
|
'filemode' : {
|
|
@@ -301,7 +301,7 @@
|
|
'description' : 'The Subject: email header',
|
|
},
|
|
'recipients_filepath' : {
|
|
- 'value' : os.path.join('/usr/local/var/lib/setroubleshoot', 'email_alert_recipients'),
|
|
+ 'value' : os.path.join('/var/lib/setroubleshoot', 'email_alert_recipients'),
|
|
'description' : 'Path name of file with email recipients. One address per line, optionally followed by enable flag. Comment character is #. '
|
|
},
|
|
},
|