Red Hat Bugzilla – Bug 156850
up2date calls up2dateLog without importing it first
Last modified: 2007-11-30 17:11:05 EST
Description of problem:
up2date's top-level .py file calls up2dateLog.initLog(), but doesn't import
Version-Release number of selected component (if applicable):
Whenever there's an exception thrown by the client.
/usr/sbin/up2date needs "from up2date_client import up2dateLog" added around
line 24, after "/usr/share/rhn" is added to sys.path.
Created attachment 114391 [details]
Nalin's recommendation as a patch
I have applied Nalin's recommendation to up2date-4.4.17-1.src.rpm and created a
patch. Now, instead of throwing an exception, up2date logs the error to
up2date was replaced by pirut and put (package pirut) as of FC5. Only FC5 and
FC6 are currently fully supported; FC3 and FC4 are supported for security fixes
only. If this bug occurs in FC3 or FC4 and is a security bug, please change the
product to Fedora Extras and the version to match. If you can verify that the
bug exists in RHEL as well, please change the product and version appropriately.
The codebase for pirut and pup is quite different, but if a similar bug exists
in pirut and pup in FC5 or FC6, please change the product to pirut and the
version appropriately and update the bug report.
We apologize that the bug was not fixed before now. The status will be changed
to NEEDINFO, and if the bug is not updated with evidence that it is a security
bug or a bug that affects RHEL, it will be closed.
Closing per previous message.