Bug 626801 - Pootle can't create /var/lib/pootle/po/.tmp
Summary: Pootle can't create /var/lib/pootle/po/.tmp
Alias: None
Product: Fedora
Classification: Fedora
Component: pootle   
(Show other bugs)
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Dwayne Bailey
QA Contact: Fedora Extras Quality Assurance
Depends On: 629934
TreeView+ depends on / blocked
Reported: 2010-08-24 13:13 UTC by Dwayne Bailey
Modified: 2012-08-16 21:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-16 21:37:14 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Dwayne Bailey 2010-08-24 13:13:48 UTC
Description of problem:
You get this traceback on a fresh install of Pootle on F14:
[Tue Aug 24 14:56:25 2010] [error] [client ::1] mod_wsgi (pid=32469): Exception occurred processing WSGI script '/usr/share/pootle/wsgi.py'.
[Tue Aug 24 14:56:25 2010] [error] [client ::1] Traceback (most recent call last):
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 230, in __call__
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     self.load_middleware()
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 33, in load_middleware
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 276, in __getattr__
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     self._setup()
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 40, in _setup
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     self._wrapped = Settings(settings_module)
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 73, in __init__
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     __import__(name)
[Tue Aug 24 14:56:25 2010] [error] [client ::1]   File "/usr/lib/python2.7/site-packages/pootle/settings.py", line 224, in <module>
[Tue Aug 24 14:56:25 2010] [error] [client ::1]     os.mkdir(tempfile.tempdir)
[Tue Aug 24 14:56:25 2010] [error] [client ::1] OSError: [Errno 13] Permission denied: '/var/lib/pootle/po/.tmp'

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

Steps to Reproduce:
1. Install Pootle
2. Browse to localhost/pootle
3. Check error in /var/log/http/error_log

Additional info:
Pootle is somehow unable to create the .tmp directory.  It seems to be fine with all other dirs that are needed.

Comment 1 Dwayne Bailey 2010-09-04 10:14:50 UTC
Until selinux-policy is updated you can run the following to allow writing:

chcon -R -t httpd_sys_content_rw_t /var/lib/pootle/po

Comment 2 Fedora End Of Life 2012-08-16 21:37:16 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

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