[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
azure vm create --vm-size=extrasmall --vm-name=smoser0930p "-- location=East US" --ssh-cert=/home/smoser/.ssh/id_rsa-smoser- az...@brickies.pem --no-ssh-password --ssh=22 smoser0930p b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_3-LTS- amd64-server-20130827-en-us-30GB smoser I confirmed with that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Stephan, Can you post the full image name? The SRU that triggered this is wasn't released till after 20130827, which makes me wonder if this is a different issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
It looks like the image dated 20130827 also appears to have this issue. Should this one be removed as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Due to the severity of the sudo bug, image Ubuntu-12_04_3-LTS- amd64-server-20130909-en-us-30GB is has been removed from the gallary. The new image has the same kernel and very few package version differences. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
New image, Ubuntu-12_04_3-LTS-amd64-server-20130916.1-en-us-30GB has been made public. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Scratch comment 15, wrong bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Image with fix is confirmed and is now pending replication in Windows Azure. The fixed image is: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_3-LTS-amd64-server-20130916.1-en-us-30GB -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Affected images are: Ubuntu_DAILY_BUILD-saucy-13_10-amd64-server-20130916-en-us-30GB Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20130916.1-en-us-30GB Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20130916-en-us-30GB Ubuntu-12_04_3-LTS-amd64-server-20130916.1-en-us-30GB -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
This bug was fixed in the package cloud-init - 0.6.3-0ubuntu1.7 --- cloud-init (0.6.3-0ubuntu1.7) precise-proposed; urgency=low * debian/patches/lp-1224684-azure-passwordless-sudo.patch: set up passwordless sudo for provisioned user on azure (LP: #1224684). -- Scott MoserFri, 13 Sep 2013 11:44:00 -0400 ** Changed in: cloud-init (Ubuntu Precise) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Started candidate build of 12.04.3 LTS Cloud Images. ETA is roughly 3hrs, plus another 2.5hrs for testing. Assuming things pass tests, I'll release a new image to Windows Azure only. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
I'm waiving the usual aging period as this is a critical regression. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Throughly tested -proposed: 1. Launched with username ubuntu, SSH Auth only 2. Launched with username utlemming, SSH Auth only 3. Launched with username ubuntu, password auth only 4. Launched with username utlemming, password auth only 5. Launched with username utlemming, SSH Auth with password set 6. Launched with username ubuntu, SSH Auth with password set Confirmed that sudo works as expected. Marking as confirmed. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
Hello Scott, or anyone else affected, Accepted cloud-init into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/cloud- init/0.6.3-0ubuntu1.7 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: cloud-init (Ubuntu Precise) Status: Confirmed => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
** Changed in: cloud-init (Ubuntu Precise) Assignee: (unassigned) => Ben Howard (utlemming) ** Changed in: cloud-init (Ubuntu) Assignee: (unassigned) => Ben Howard (utlemming) ** Changed in: cloud-init (Ubuntu) Assignee: Ben Howard (utlemming) => Scott Moser (smoser) ** Description changed: + [IMPACT] On Windows Azure for 12.04, cloud-init fails to set right user + name for the sudoer.d file unless the user sets a password. This means + that SSH-key auth users are locked out of sudo access, effectively + making the instance useless. + + This is critical, as instances that are affected are completely useless + for things requiring sudo access. There is no recovery and no work + around. + + This only affects new instances, not existing instances. However, it may + affect rebundled instances. + + [Test Case] Launch a new build with -proposed using SSH-only + authentication. The defined user in the launch should be able to "sudo + -i". + + [Regression Potential] Regression potential is low, as this fixes a + completely broken feature. + + [Original Report]: Launcing an instance like this: azure vm create --vm-size=extrasmall --vm-name=smoser0912pr-hack2 "--location=East US" --ssh-cert=/home/smoser/.ssh/id_rsa-smoser-az...@brickies.pem --no-ssh-password --ssh=22 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_3-LTS-amd64-server-20130909-en-us-30GB smoser results in being prompted for a password on sudo. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: cloud-init 0.6.3-0ubuntu1.6 ProcVersionSignature: Ubuntu 3.2.0-53.81-virtual 3.2.50 Uname: Linux 3.2.0-53-virtual x86_64 ApportVersion: 2.0.1-0ubuntu17.4 Architecture: amd64 Date: Thu Sep 12 20:45:02 2013 MarkForUpload: True PackageArchitecture: all ProcEnviron: - TERM=screen - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=screen + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1224684] Re: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure
** Summary changed: - cannot sudo, prompted for password + [SRU] cannot sudo, prompted for password on 12.04 Windows Azure -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1224684 Title: [SRU] cannot sudo, prompted for password on 12.04 Windows Azure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1224684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs