Bug 974027

Summary: non-root users can't run tuna
Product: [Fedora] Fedora Reporter: Jiri Kastner <jkastner>
Component: tunaAssignee: Petr Oros <poros>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: acme, cz172638, poros
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tuna-0.11.1-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 996885 (view as bug list) Environment:
Last Closed: 2013-08-02 03:38:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 996885    

Description Jiri Kastner 2013-06-13 10:12:20 UTC
Description of problem:
only root can successfully launch tuna 

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

How reproducible:
always

Steps to Reproduce:
1. install tuna-0.11
2. run it as non-root
3. check output

Actual results:

[user@localhost ~]$ tuna                                                     |
Traceback (most recent call last):                                              |
  File "/usr/bin/tuna", line 647, in <module>                                   |
    main()                                                                      |
  File "/usr/bin/tuna", line 641, in main                                       |
    app = tuna_gui.main_gui(kthreads, uthreads, cpus_filtered)                  |
  File "/usr/lib/python2.7/site-packages/tuna/tuna_gui.py", line 52, in __init__|
    self.check_env()                                                            |
  File "/usr/lib/python2.7/site-packages/tuna/tuna_gui.py", line 156, in check_e|
nv                                                                              |
    os.mkdir("/root/.local/")                                                   |
OSError: [Errno 13] Permission denied: '/root/.local/' 

Expected results:
tuna executed with limited functionality

Additional info:

Comment 1 Fedora Update System 2013-07-29 08:13:02 UTC
tuna-0.11.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/tuna-0.11.1-1.fc19

Comment 2 Fedora Update System 2013-07-30 17:33:12 UTC
Package tuna-0.11.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tuna-0.11.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13851/tuna-0.11.1-1.fc19
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-08-01 06:30:53 UTC
tuna-0.11.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/tuna-0.11.1-1.fc18

Comment 4 Fedora Update System 2013-08-02 03:38:10 UTC
tuna-0.11.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-08-06 23:39:35 UTC
tuna-0.11.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.