[Bug 458163] Re: [regression] euca_rootwrap fixes affected eucalyptus power management (powerwake)

Dustin Kirkland dustin.kirkland at gmail.com
Thu Oct 22 19:26:31 BST 2009


A bit more explanation...

Before euca_rootwrap was rewritten:
 * powerwake ran as root:root
 * thus, powerwake had write access to /var/cache/powerwake/ethers
 * and powerwake worked just fine

After euca_rootwrap was rewritten:
 * powerwake was whitelisted, but wasn't given root access
 * now, powerwake runs as eucalyptus:eucalyptus
 * which is fine to send the magic WoL packet
 * however, the cache file is not writable
 * and thus, powerwake now itself throws an exception

As stated above, we can fix this entirely in powerwake with a trivial
fix, testing W_OK on /var/cache/powerwake/ethers.

:-Dustin

-- 
[regression] euca_rootwrap fixes affected eucalyptus power management (powerwake)
https://bugs.launchpad.net/bugs/458163
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list