Bug 895581

Summary: [abrt] xen-4.1.1-1.fc15: tempfile.py:201:_get_default_tempdir:IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Product: [Fedora] Fedora Reporter: John L. Ries <jries>
Component: xenAssignee: Michael Young <m.a.young>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jforbes, kraxel, m.a.young, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4a2edb4f6d7b268aa9652db07e26043cf41f45d9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-15 14:37:29 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Attachments:
Description Flags
File: executable
none
File: smolt_data none

Description John L. Ries 2013-01-15 10:11:19 EST
Version-Release number of selected component:
xen-4.1.1-1.fc15

Additional info:
libreport version: 2.0.18
cmdline:        
kernel:         2.6.38.8-35.fc15.x86_64

backtrace:
:tempfile.py:201:_get_default_tempdir:IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
:
:Traceback (most recent call last):
:  File "/usr/sbin/xm", line 5, in <module>
:    from xen.xm import main
:  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 51, in <module>
:    from xen.xend.server.DevConstants import xenbusState
:  File "/usr/lib64/python2.7/site-packages/xen/xend/server/DevConstants.py", line 21, in <module>
:    xoptions = XendOptions.instance()
:  File "/usr/lib64/python2.7/site-packages/xen/xend/XendOptions.py", line 566, in instance
:    inst = XendOptionsFile()
:  File "/usr/lib64/python2.7/site-packages/xen/xend/XendOptions.py", line 158, in __init__
:    self.configure()
:  File "/usr/lib64/python2.7/site-packages/xen/xend/XendOptions.py", line 176, in configure
:    self.loglevel_default))
:  File "/usr/lib64/python2.7/site-packages/xen/xend/XendLogging.py", line 135, in init
:    logfilename = tempfile.mkstemp("-xend.log")[1]
:  File "/usr/lib64/python2.7/tempfile.py", line 286, in mkstemp
:    dir = gettempdir()
:  File "/usr/lib64/python2.7/tempfile.py", line 254, in gettempdir
:    tempdir = _get_default_tempdir()
:  File "/usr/lib64/python2.7/tempfile.py", line 201, in _get_default_tempdir
:    ("No usable temporary directory found in %s" % dirlist))
:IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
:
:Local variables in innermost frame:
:dirlist: ['/tmp', '/var/tmp', '/usr/tmp', '/']
:e: OSError(13, 'Permission denied')
:name: 'kV0Vfm'
:seq: 0
:filename: '/kV0Vfm'
:flags: 131266
:namer: <tempfile._RandomNameSequence instance at 0x1cc3518>
:dir: '/'

Potential duplicate bug: 770631
Comment 1 John L. Ries 2013-01-15 10:11:22 EST
Created attachment 678827 [details]
File: executable
Comment 2 John L. Ries 2013-01-15 10:11:24 EST
Created attachment 678828 [details]
File: smolt_data
Comment 3 Michael Young 2013-01-15 14:37:29 EST
Fedora 15 reached its End of Life about 6 months ago, so no further work is being done on it. There are changes to mitigate against this particular bug in later versions of Fedora.