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

Re: more setroubleshoot troubles ;)



[Top posting by choice]

These problems (failure to load plugins) are reported in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221850

The problem was introduced with the python 2.5 upgrade from the python
2.4 version setroubleshoot had been developed and tested under. Python
2.5 changed the semantics of module loading which caused our plugin
loading code to fail. This has been fixed in
setroubleshoot-1_8_14-1_fc7.

On Fri, 2007-01-05 at 07:06 -0800, Tom London wrote:
> /var/log/messages shows (get this in permissive mode too):
> 
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:00,246
> [plugin.ERROR] failed to load allow_daemons_dump_core plugin Traceback
> (most recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/allow_daemons_dump_core.py", line
> 21, in <module>     from setroubleshoot.util import * SystemError:
> Parent module 'plugins' not loaded
> Jan  5 06:49:00 localhost vmnet-dhcpd: All rights reserved.
> Jan  5 06:49:00 localhost kernel:   Normal       4096 ->   229376
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:01,134
> [plugin.ERROR] failed to load catchall plugin Traceback (most recent
> call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/catchall.py", line 22, in <module>
>    from setroubleshoot.util import * SystemError: Parent module
> 'plugins' not loaded
> <<<<....>>>>>
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:02,142
> [plugin.ERROR] failed to load httpd_enable_homedirs plugin Traceback
> (most recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/httpd_enable_homedirs.py", line 19,
> in <module>     from setroubleshoot.util import * SystemError: Parent
> module 'plugins' not loaded
> Jan  5 06:49:03 localhost vmnet-dhcpd: For info, please visit
> http://www.isc.org/dhcp-contrib.html
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:03,505
> [plugin.ERROR] failed to load home_tmp_bad_labels plugin Traceback
> (most recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/home_tmp_bad_labels.py", line 19,
> in <module>     from setroubleshoot.util import * SystemError: Parent
> module 'plugins' not loaded
> 
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:03,539
> [plugin.ERROR] failed to load allow_httpd_sys_script_anon_write plugin
> Traceback (most recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/allow_httpd_sys_script_anon_write.py",
> line 19, in <module>     from setroubleshoot.util import *
> SystemError: Parent module 'plugins' not loaded
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:03,558
> [plugin.ERROR] failed to load allow_execstack plugin Traceback (most
> recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/allow_execstack.py", line 19, in
> <module>     from setroubleshoot.util import * SystemError: Parent
> module 'plugins' not loaded
> Jan  5 06:49:03 localhost setroubleshoot: 2007-01-05 06:49:03,814
> [plugin.ERROR] failed to load public_content plugin Traceback (most
> recent call last):   File
> "/usr/lib/python2.5/site-packages/setroubleshoot/util.py", line 406,
> in load_plugins     mod = imp.load_module(module_name,
> *imp.find_module(plugin_name, [plugin_dir]))   File
> "/usr/share/setroubleshoot/plugins/public_content.py", line 19, in
> <module>     from setroubleshoot.util import * SystemError: Parent
> module 'plugins' not loaded
> 
> etc.
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
-- 
John Dennis <jdennis redhat com>

Learn. Network. Experience open source.
Red Hat Summit San Diego  |  May 9-11, 2007
Learn more: http://www.redhat.com/promo/summit/2007



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