[SRU] walinuxagent mangles server identity and access on upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
walinuxagent (Ubuntu) |
Fix Released
|
Critical
|
James Page | ||
Precise |
Fix Released
|
Critical
|
Louis Bouchard | ||
Quantal |
Fix Released
|
Critical
|
Louis Bouchard | ||
Raring |
Fix Released
|
Critical
|
James Page |
Bug Description
SRU justification
Impact : Users of Precise cloud image on Azure cloud loose sudoers identity when upgrading or doing a reconfiguration of the waliuxagent package
Fix : Comment #4 outlines the changes made to fix the problem
Test Case :
- Create a 12.04 Precise instance on Azure
- run dpkg-reconfigure walinuxagent
- log out and log back int
User should be able to use 'sudo' to gain administrator's privileges from the user account defined when the instance was created.
Regression : None expected as no change in functionality only packaging/
Description of the problem :
walinxuagent, as packaged will result in a server losing its identity at agent installation or at agent start. Specifically, it will remove /var/lib/waagent (containing provisioning meta-data), /etc/ssh/
Related branches
- Ubuntu Development Team: Pending requested
-
Diff: 5628 lines (+269/-5041)19 files modified.pc/000_ubuntu_init_resolvconf.patch/waagent (+0/-2335)
.pc/001_ubuntu_agent_startup.patch/waagent (+0/-2395)
.pc/applied-patches (+0/-2)
Changelog (+12/-0)
debian/changelog (+34/-0)
debian/control (+10/-0)
debian/patches/000_resolv-conf.patch (+32/-0)
debian/patches/000_ubuntu_init_resolvconf.patch (+0/-153)
debian/patches/001-strip-init-d.patch (+36/-0)
debian/patches/001_ubuntu_agent_startup.patch (+0/-22)
debian/patches/series (+2/-2)
debian/postinst (+7/-2)
debian/preinst (+16/-0)
debian/prerm (+2/-3)
debian/rules (+3/-4)
debian/upstart (+24/-0)
debian/walinuxagent-data-saver.lintian-overrides (+10/-0)
debian/walinuxagent-data-saver.preinst (+16/-0)
waagent (+65/-123)
description: | updated |
information type: | Private → Public |
affects: | Ubuntu Precise → walinuxagent (Ubuntu Precise) |
description: | updated |
Changed in walinuxagent (Ubuntu Precise): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in walinuxagent (Ubuntu Quantal): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in walinuxagent (Ubuntu Precise): | |
status: | Confirmed → In Progress |
Changed in walinuxagent (Ubuntu Quantal): | |
status: | Confirmed → In Progress |
summary: |
- walinuxagent mangles server identity and access on upgrade + [SRU] walinuxagent mangles server identity and access on upgrade |
tags: |
added: verification-done-precise removed: verification-needed-precise |
This file has a pre-built copy of waalinuxagent from my proposed branch. Its will only mangle /etc/sudoers. d/waagent.
For full replication, run "dpkg-reconfigure walinuxagent" on a vanilla windows Azure instance.