ubuntu is not added to sudo group

Bug #1228228 reported by Robie Basak on 2013-09-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)

Bug Description

On Precise, the "ubuntu" user in cloud images is automatically added to the libvirtd group when libvirtd-bin is installed. This seems to have stopped in Saucy, and needs investigation for the juju use case.

Related branches

Robie Basak (racb) wrote :

This seems to happen because ubuntu does not belong to the "sudo" group even after login on Saucy daily cloud images, tested today.

summary: - ubuntu is not added to libvirtd group
+ ubuntu is not added to sudo group
Robie Basak (racb) wrote :

$ id
uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev)
$ groups
ubuntu adm dialout cdrom floppy audio dip video plugdev netdev
$ cat /etc/cloud/build.info
build_name: server
serial: 20130925

Per http://bazaar.launchpad.net/~ubuntu-installer/user-setup/master/view/head:/user-setup-apply#L164 adding the default user is consistant with the Ubuntu Installer.

Pending MP.

Scott Moser (smoser) wrote :

fix committed in trunk at revno 880.

Changed in cloud-init:
status: New → Fix Committed
importance: Undecided → Low
Robie Basak (racb) on 2013-10-01
Changed in cloud-init (Ubuntu Saucy):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.3~bzr884-0ubuntu1

cloud-init (0.7.3~bzr884-0ubuntu1) saucy; urgency=low

  * New upstream snapshot.
    * allow disabling of growpart via file /etc/growroot-disabled
      (LP: #1234331)
    * add default user to sudo group (LP: #1228228)
    * fix disk creation on azure (LP: #1233698)
    * DatasourceSmartOS: allow availabiltity-zone to be fed from the
      datasource via 'region' (which allows 'mirrors' and other things
      to make use of it).
 -- Scott Moser <email address hidden> Fri, 04 Oct 2013 21:08:07 -0400

Changed in cloud-init (Ubuntu Saucy):
status: Triaged → Fix Released
Robie Basak (racb) wrote :

Verified fixed in Saucy cloud image (daily 20131008).

Changed in uvtool:
status: New → Fix Released
Scott Moser (smoser) wrote :

fixed in 0.7.3

Changed in cloud-init:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers