** Description changed:

+ ===============================
+ 1. Impact: when libvirt is installed, sudo group members are not placed into 
group libvirtd.
+ 2. Development fix: sudo members are added to group libvirtd.
+ 3. Stable fix: same as development fix.
+ 4. Test case: install a new precise system; make sure at least one user is in 
group sudo; install libvirt-bin;  check for sudo group members to be in group 
libvirtd.
+ 5. Regression potential: If done wrongly, users who should not be in group 
libvirtd could be placed in the group.
+ ===============================
+ 
  In precise, admin users are added to the "sudo" group, and not the
  "admin" group like it used to be the case.
  
  The libvirt-bin.postinst file contains:
  
-     # Add each admin user to the libvirtd group
-     for u in $(grep "^admin:" /etc/group | sed -e "s/^.*://" -e "s/,/ /g"); do
-         adduser "$u" libvirtd >/dev/null || true
-     done
+     # Add each admin user to the libvirtd group
+     for u in $(grep "^admin:" /etc/group | sed -e "s/^.*://" -e "s/,/ /g"); do
+         adduser "$u" libvirtd >/dev/null || true
+     done
  
  This needs to be modified to add the "sudo" group also, while probably
  retaining the "admin" group for people who have upgraded from older
  releases.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libvirt-bin 0.9.13-0ubuntu12.2
  ProcVersionSignature: Ubuntu 3.5.0-24.37-generic 3.5.7.4
  Uname: Linux 3.5.0-24-generic x86_64
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  Date: Wed Feb 13 08:29:59 2013
  InstallationDate: Installed on 2012-11-13 (91 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  SourcePackage: libvirt
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.dnsmasq.d.libvirt.bin: [deleted]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1124127

Title:
  sudo group users not added to libvirtd group on install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1124127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to