Bug 499858 - The module should use mktemp() or tempfile module to generate temporary file
Summary: The module should use mktemp() or tempfile module to generate temporary file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhnlib
Version: 5.4
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Pradeep Kilambi
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On: 434781
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-08 15:42 UTC by Pradeep Kilambi
Modified: 2010-02-23 12:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 434781
Environment:
Last Closed: 2009-09-02 11:20:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1353 0 normal SHIPPED_LIVE rhnlib bug fix and enhancement update 2009-09-01 10:50:16 UTC

Comment 3 Petr Sklenar 2009-07-15 10:30:29 UTC
adding keywords: SanityOnly and  leaving ON_QA
patch is there and applicable:
-------------
sanity test 1:
cat /etc/sysconfig/rhn/up2date  | grep tmpDir
tmpDir[comment]=Use this Directory to place the temporary transport files
tmpDir=/newtmp


I wrote in the end of file /usr/lib/python2.4/site-packages/rhn/SmartIO.py :

x=getDefaultStorage
print x()

when yum starts than tempdir was shown:

# yum install zsh
/tmp
/tmp
/newtmp
/newtmp
/newtmp
Loaded plugins: rhnplugin, security
etc
-------------
sanity test 2:
RHN PROXY works as expected, could download many package
=========
all tests seems OK, verified

Comment 5 errata-xmlrpc 2009-09-02 11:20:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1353.html


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