Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:12.2:PowerPC
xen
xen-xm-top-needs-root.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen-xm-top-needs-root.diff of Package xen
From: Charles Coffing <ccoffing@novell.com> Upstream: no Index: xen-4.1.2-testing/tools/python/xen/xm/main.py =================================================================== --- xen-4.1.2-testing.orig/tools/python/xen/xm/main.py +++ xen-4.1.2-testing/tools/python/xen/xm/main.py @@ -2201,6 +2201,10 @@ def xm_debug_keys(args): def xm_top(args): arg_check(args, "top", 0) + # A hack to get a clear error message if ran as non-root + if os.geteuid() != 0: + raise IOError() + os.system('xentop') def xm_dmesg(args):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor