Bug 996885

Summary: non-root users can't run tuna
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Kastner <jkastner>
Component: tunaAssignee: John Kacur <jkacur>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: acme, anton, jkacur, jkastner, poros
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 974027 Environment:
Last Closed: 2014-06-13 11:12:46 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: 974027, 996954    
Bug Blocks:    

Description Jiri Kastner 2013-08-14 08:45:07 UTC
+++ This bug was initially created as a clone of Bug #974027 +++

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:

--- Additional comment from Fedora Update System on 2013-07-29 04:13:02 EDT ---

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

--- Additional comment from Fedora Update System on 2013-07-30 13:33:12 EDT ---

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).

--- Additional comment from Fedora Update System on 2013-08-01 02:30:53 EDT ---

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

--- Additional comment from Fedora Update System on 2013-08-01 23:38:10 EDT ---

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.

--- Additional comment from Fedora Update System on 2013-08-06 19:39:35 EDT ---

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.

Comment 1 Jiri Kastner 2013-08-14 08:46:49 UTC
this bug was resolved in upstream (0.11.1)

Comment 3 John Kacur 2013-11-07 14:33:02 UTC
@Jiri - this should be fixed in RHEL too, since I have the latest from upstream, but it would help me to verify this if you had cited a commit. Thanks

Comment 5 John Kacur 2013-11-07 23:08:14 UTC
Is there any way you can keep the fedora bz numbers out of the commit name?

Comment 8 Ludek Smid 2014-06-13 11:12:46 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.