[vdsm] Remove vdsm sudo calls in one step

2012-06-13 Thread xiaxia347os
There are still some sudo calls in vdsm, mostly calls misc.exec with sudo=True. Instead of adding interfaces for each call, how about changing the misc.exec() to let it contact supervdsm when sudo=True? This could leave existing sudo call code unchanged. I wonder why supervdsm exposes many

Re: [vdsm] Remove vdsm sudo calls in one step

2012-06-13 Thread Dan Kenigsberg
On Wed, Jun 13, 2012 at 04:35:19PM +0800, xiaxia347os wrote: There are still some sudo calls in vdsm, mostly calls misc.exec with sudo=True. Instead of adding interfaces for each call, how about changing the misc.exec() to let it contact supervdsm when sudo=True? This could leave existing