NC fails to start when running as non-root with HYPERVISOR=xen
Bug #354895 reported by
Dmitrii Zagorodnov
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Released
|
High
|
Dmitrii Zagorodnov |
Bug Description
In xen < 3.3 the 'xm' command is 'taintable' and therefore one cannot run it with EUID=0, which means get_xen_info cannot run as non-root, which means NC cannot run as non-root with HYPERVISOR="xen".
/opt/eucalyptus
Error: Most commands need root access. Please try again as root.
inputs are tainted
Error: Most commands need root access. Please try again as root.
inputs are tainted
Error: Most commands need root access. Please try again as root.
inputs are tainted
...
Changed in eucalyptus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
solution: removed all 'xm' invocations, using virNodeGetInfo() instead
------- ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ------- - ------- ------- ------- ------- ------- ------- ------- ----
revno: 259
committer: Dmitrii Zagorodnov <email address hidden>
branch nick: 1.5
timestamp: Fri 2009-04-03 18:42:48 -0700
message:
merging
---
revno: 250.1.1
committer: Dmitrii Zagorodnov <email address hidden>
branch nick: 1.5_testing
timestamp: Fri 2009-04-03 18:40:23 -0700
message:
fixing lp:354846, lp:352896, and 354895: increasing per-instance limit of attached volumes in NC, verifying HYPERVISOR in nc_test, removing 'xm' invocations
-------