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.

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to