Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 750826

Summary: [abrt] anaconda-13.21.146-1.el6: __init__.py:846:_open:IOError: [Errno 13] Permission denied: '/tmp/anaconda.log'
Product: Red Hat Enterprise Linux 6 Reporter: Michal Nowak <mnowak>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dfediuck, nobody+abrt-devel-list, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4f9865a534ef834a62f99f85b358f8b8e487201e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-02 13:18:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Nowak 2011-11-02 13:18:04 UTC
abrt version: 2.0.5
cmdline:        
executable:     /usr/sbin/anaconda
kernel:         2.6.32-211.el6.x86_64
reason:         __init__.py:846:_open:IOError: [Errno 13] Permission denied: '/tmp/anaconda.log'
time:           Mon 24 Oct 2011 11:15:17 AM CEST
uid:            500
username:       newman

sosreport.tar.xz: Binary file, 2092736 bytes

backtrace:
:__init__.py:846:_open:IOError: [Errno 13] Permission denied: '/tmp/anaconda.log'
:
:Traceback (most recent call last):
:  File "/usr/sbin/anaconda", line 620, in <module>
:    import anaconda_log
:  File "/usr/lib/anaconda/anaconda_log.py", line 105, in <module>
:    logger = AnacondaLog()
:  File "/usr/lib/anaconda/anaconda_log.py", line 57, in __init__
:    autoLevel=False, minLevel=logging.DEBUG)
:  File "/usr/lib/anaconda/anaconda_log.py", line 81, in addFileHandler
:    logfileHandler = logging.FileHandler(file)
:  File "/usr/lib64/python2.6/logging/__init__.py", line 827, in __init__
:    StreamHandler.__init__(self, self._open())
:  File "/usr/lib64/python2.6/logging/__init__.py", line 846, in _open
:    stream = open(self.baseFilename, self.mode)
:IOError: [Errno 13] Permission denied: '/tmp/anaconda.log'
:
:Local variables in innermost frame:
:self: <logging.FileHandler instance at 0x1f36878>

comment:
:Execute `anaconda` as a user and w/o write access to /tmp/anaconda.log (or /tmp/program.log, /tmp/storage.log, /dev/tty3):
:
:$ ll /tmp/anaconda.log 
:-rw-r--r--. 1 root root 1590 Oct 24 11:15 /tmp/anaconda.log

event_log:
:2011-10-24-11:25:36> Logging into Bugzilla at https://bugzilla.redhat.com
:2011-10-24-11:25:38  Checking for duplicates
:2011-10-24-11:25:40  Creating a new bug
:2011-10-24-11:25:43  New bug id: 748367
:2011-10-24-11:25:43  Adding attachments to bug 748367
:2011-10-24-11:25:43  Logging out
:2011-10-24-11:25:44  Status: NEW https://bugzilla.redhat.com/show_bug.cgi?id=748367
:2011-10-26-12:00:09> Compressing data
:2011-10-26-12:00:16  Uploaded: 784 of 2045 kbytes
:2011-10-26-12:00:29  Creating a new case...
:2011-10-26-12:00:48  Uploaded: 1504 of 2045 kbytes
:2011-10-26-12:00:56  URL=https://api.access.redhat.com/rs/cases/00554564

reported_to:
:email: root@localhost
:Bugzilla: URL=https://bugzilla.redhat.com/show_bug.cgi?id=748367
:RHTSupport: TIME=2011-10-25-15:00:00 URL=https://api.access.redhat.com/rs/cases/00554106
:RHTSupport: TIME=2011-10-26-11:57:48 URL=https://api.access.redhat.com/rs/cases/00554563
:RHTSupport: TIME=2011-10-26-12:00:56 URL=https://api.access.redhat.com/rs/cases/00554564