sudo group users not added to libvirtd group on install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Serge Hallyn | ||
Quantal |
Won't Fix
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
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-
# 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
ProcVersionSign
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.
Changed in libvirt (Ubuntu Precise): | |
status: | New → Triaged |
Changed in libvirt (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Raring): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
Changed in libvirt (Ubuntu Precise): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
description: | updated |
Thanks Marc. Looks like this is still present in Raring. Setting Importance to High as this presumably affects just about everyone using libvirt directly. I'll leave it to Serge to bump it down if he disagrees.