canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
2.92k stars 871 forks source link

ubuntu is not added to sudo group #2393

Closed ubuntu-server-builder closed 1 year ago

ubuntu-server-builder commented 1 year ago

This bug was originally filed in Launchpad as LP: #1228228

Launchpad details
affected_projects = ['uvtool', 'cloud-init (Ubuntu)', 'cloud-init (Ubuntu Saucy)']
assignee = None
assignee_name = None
date_closed = 2013-11-19T21:55:02.427929+00:00
date_created = 2013-09-20T15:49:14.558453+00:00
date_fix_committed = 2013-09-30T16:13:59.754126+00:00
date_fix_released = 2013-11-19T21:55:02.427929+00:00
id = 1228228
importance = low
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1228228
milestone = None
owner = smoser
owner_name = Scott Moser
private = False
status = fix_released
submitter = racb
submitter_name = Robie Basak
tags = []
duplicates = []

Launchpad user Robie Basak(racb) wrote on 2013-09-20T15:49:14.558453+00:00

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.

ubuntu-server-builder commented 1 year ago

Launchpad user Robie Basak(racb) wrote on 2013-09-30T15:11:33.287949+00:00

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

ubuntu-server-builder commented 1 year ago

Launchpad user Robie Basak(racb) wrote on 2013-09-30T15:15:01.639037+00:00

$ 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

ubuntu-server-builder commented 1 year ago

Launchpad user Ben Howard(darkmuggle-deactivatedaccount) wrote on 2013-09-30T15:20:19.716905+00:00

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.

ubuntu-server-builder commented 1 year ago

Launchpad user Scott Moser(smoser) wrote on 2013-09-30T16:14:23.018239+00:00

fix committed in trunk at revno 880.

ubuntu-server-builder commented 1 year ago

Launchpad user Launchpad Janitor(janitor) wrote on 2013-10-07T16:49:29.926024+00:00

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


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

ubuntu-server-builder commented 1 year ago

Launchpad user Robie Basak(racb) wrote on 2013-10-08T14:27:59.732618+00:00

Verified fixed in Saucy cloud image (daily 20131008).

ubuntu-server-builder commented 1 year ago

Launchpad user Scott Moser(smoser) wrote on 2013-11-19T21:55:00.843149+00:00

fixed in 0.7.3