| Summary: | iotop failed with non-root user | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nucleo <alekcejk> |
| Component: | iotop | Assignee: | Adel Gadllah <adel.gadllah> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | adel.gadllah, kernel-maint, mhlavink, michel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-06 13:44:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Seems to have something to do with the newer kernel versions; I run a self-compiled 3.1.0-rc kernel on my F-15 machine and it's affected by this problem too, with iotop-0.4.3-1.fc15 So adding kernel maintainers to CC. closing as duplicate of abrt report, because abrt will cc more people there *** This bug has been marked as a duplicate of bug 742883 *** |
Description of problem: iotop can not be run with non root user but with works fine. Version-Release number of selected component (if applicable): iotop-0.4.3-1.fc17 Steps to Reproduce: 1. Start iotop with non-root user 2. 3. Actual results: Traceback (most recent call last): File "/usr/bin/iotop", line 16, in <module> main() File "/usr/lib/python2.7/site-packages/iotop/ui.py", line 563, in main main_loop() File "/usr/lib/python2.7/site-packages/iotop/ui.py", line 553, in <lambda> main_loop = lambda: run_iotop(options) File "/usr/lib/python2.7/site-packages/iotop/ui.py", line 465, in run_iotop return curses.wrapper(run_iotop_window, options) File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper return func(stdscr, *args, **kwds) File "/usr/lib/python2.7/site-packages/iotop/ui.py", line 457, in run_iotop_window process_list = ProcessList(taskstats_connection, options) File "/usr/lib/python2.7/site-packages/iotop/data.py", line 373, in __init__ self.update_process_counts() File "/usr/lib/python2.7/site-packages/iotop/data.py", line 429, in update_process_counts stats = self.taskstats_connection.get_single_task_stats(thread) File "/usr/lib/python2.7/site-packages/iotop/data.py", line 158, in get_single_task_stats reply = GeNlMessage.recv(self.connection) File "/usr/lib/python2.7/site-packages/iotop/genetlink.py", line 50, in recv msg = conn.recv() File "/usr/lib/python2.7/site-packages/iotop/netlink.py", line 229, in recv raise err OSError: Netlink error: Operation not permitted (1) Expected results: iotop should work for any user. Additional info: On F15 machine iotop-0.4.3-1.fc15 works fine with non-root user so maybe something broken on Rawhide machine but I don't know what can be broken there.