Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
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-3.3.1-testing/tools/python/xen/xm/main.py =================================================================== --- xen-3.3.1-testing.orig/tools/python/xen/xm/main.py +++ xen-3.3.1-testing/tools/python/xen/xm/main.py @@ -1937,6 +1937,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