Univention Bugzilla – Full Text Bug Listing |
Summary: | uvmmd-nodes.py throws SystemError: dynamic module not initialized properly | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | UMC - Virtual machines (UVMM) | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | best, damrose, hahn, markus.daehlmann, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.1-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 40255 |
Description
Janis Meybohm
2015-11-30 17:21:46 CET
I've found this trace on two other customer systems as well running UCS 4.0-0 and UCS 4.0-4 amd64 as well as i386 (4.1.0-ucs153-amd64 and 2.6.32-ucs64-amd64). Reproduction is not possible by simply importing the modules into the python interpreter but only by PyImport_ExecCodeModuleEx in handler.c The call to initlibvirtmod() fails, as virGlobalInit() checks for getuid()=0 == geteuid()=100 and aborts. # python -c 'import pwd,os;os.seteuid(pwd.getpwnam("listener").pw_uid);import libvirt' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/pymodules/python2.7/libvirt.py", line 20, in <module> import libvirtmod SystemError: dynamic module not initialized properly This is so since libvirt-1.2.X. (In reply to Philipp Hahn from comment #2) > This is so since libvirt-1.2.X. Since v1.1.4 to fix CVE-2013-4400(-3) r66332 | Bug #40133 UVMM: Remove unused imports Remove unused import of libvirt Package: univention-virtual-machine-manager-daemon Version: 5.0.1-8.611.201512150831 Branch: ucs_4.1-0 Scope: errata4.1-0 r66335 | Bug #40133 UVMM: Remove unused imports YAML univention-virtual-machine-manager-daemon.yaml Fix: OK YAML: OK |