Bug 156850 - up2date calls up2dateLog without importing it first
up2date calls up2dateLog without importing it first
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bret McMillan
Fanny Augustin
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-04 13:46 EDT by Nalin Dahyabhai
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-05 11:22:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Nalin's recommendation as a patch (372 bytes, patch)
2005-05-14 22:57 EDT, David Costanzo
no flags Details | Diff

  None (edit)
Description Nalin Dahyabhai 2005-05-04 13:46:05 EDT
Description of problem:
up2date's top-level .py file calls up2dateLog.initLog(), but doesn't import
up2dateLog.

Version-Release number of selected component (if applicable):
4.4.17-1

How reproducible:
Whenever there's an exception thrown by the client.

Additional info:
/usr/sbin/up2date needs "from up2date_client import up2dateLog" added around
line 24, after "/usr/share/rhn" is added to sys.path.
Comment 1 David Costanzo 2005-05-14 22:57:17 EDT
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
/var/log/up2date.
Comment 2 John Thacker 2006-10-29 15:21:54 EST
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.
Comment 3 John Thacker 2006-11-05 11:22:23 EST
Closing per previous message.

Note You need to log in before you can comment on or make changes to this bug.