Sudoers writing broken when string

Bug #1079002 reported by Joshua Harlow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Joshua Harlow
cloud-init (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Just noticed this...

2012-11-15 03:04:03,257 - util.py[DEBUG]: Writing to /etc/sudoers.d/90-cloud-init-users - wb: [288] 336 bytes
2012-11-15 03:04:03,257 - util.py[DEBUG]: > # Created by cloud-init v. 0.7.1 on Thu, 15 Nov 2012 03:04:03 +0000
2012-11-15 03:04:03,257 - util.py[DEBUG]: >
2012-11-15 03:04:03,258 - util.py[DEBUG]: > # User rules for harlowja
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja A
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja L
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja L
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja =
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja (
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja A
2012-11-15 03:04:03,258 - util.py[DEBUG]: > harlowja L
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja L
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja )
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja N
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja O
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja P
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja A
2012-11-15 03:04:03,259 - util.py[DEBUG]: > harlowja S
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja S
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja W
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja D
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja :
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja A
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja L
2012-11-15 03:04:03,260 - util.py[DEBUG]: > harlowja L

Related branches

Revision history for this message
Joshua Harlow (harlowja) wrote :

I think i did that, my fault :(

Changed in cloud-init:
assignee: nobody → Joshua Harlow (harlowja)
status: New → In Progress
Joshua Harlow (harlowja)
Changed in cloud-init:
status: In Progress → Fix Committed
Scott Moser (smoser)
Changed in cloud-init:
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.1-0ubuntu3

---------------
cloud-init (0.7.1-0ubuntu3) raring; urgency=low

  * cherry pick relevant patches from trunk up to revision 745
  * fix writing of sudoers when suders rule is a string rather than
    an array (LP: #1079002)
  * add trailing slash to sudoers files that are written
  * fix resizefs module when 'noblock' was provided (LP: #1080985)
  * make sure there is no blank line before cloud-init entry in
    there are no blank lines in /etc/ca-certificates.conf (LP: #1077020)
 -- Scott Moser <email address hidden> Mon, 03 Dec 2012 21:45:48 -0500

Changed in cloud-init (Ubuntu):
status: New → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

fixed in 0.7.2

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.