~ubuntubmw/+junk/add_key-fix

Viewing all changes in revision 1271.

  • Committer: Bernhard Wiedemann
  • Date: 2011-01-28 09:56:44 UTC
  • Revision ID: bwiedemann@bernhard-20110128095644-eah8p4kp038wqbg7
do not run virsh as root

this works only if care is taken that
libvirtd accepts connections from the eucalyptus user.
e.g. by using this snippet in the packaging post-install script

lv=/etc/libvirt/libvirtd.conf
if ! grep -q '^ *unix_sock_group *= *"eucalyptus"' $lv ; then
  echo 'unix_sock_group = "eucalyptus"' >> $lv
  echo 'unix_sock_rw_perms = "0770"' >> $lv
  echo 'auth_unix_rw = "none"' >> $lv
  insserv libvirtd
  /etc/init.d/libvirtd restart
fi

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: