Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudoers writing broken when string #2325

Closed
ubuntu-server-builder opened this issue May 9, 2023 · 3 comments
Closed

Sudoers writing broken when string #2325

ubuntu-server-builder opened this issue May 9, 2023 · 3 comments
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

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

Launchpad details
affected_projects = ['cloud-init (Ubuntu)']
assignee = harlowja
assignee_name = Joshua Harlow
date_closed = 2013-05-15T19:57:44.114625+00:00
date_created = 2012-11-15T03:19:47.333537+00:00
date_fix_committed = 2012-11-16T02:49:57.273778+00:00
date_fix_released = 2013-05-15T19:57:44.114625+00:00
id = 1079002
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1079002
milestone = None
owner = harlowja
owner_name = Joshua Harlow
private = False
status = fix_released
submitter = harlowja
submitter_name = Joshua Harlow
tags = []
duplicates = []

Launchpad user Joshua Harlow(harlowja) wrote on 2012-11-15T03:19:47.333537+00:00

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

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 9, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Joshua Harlow(harlowja) wrote on 2012-11-15T03:21:21.176077+00:00

I think i did that, my fault :(

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Launchpad Janitor(janitor) wrote on 2012-12-04T03:14:15.684076+00:00

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 smoser@ubuntu.com Mon, 03 Dec 2012 21:45:48 -0500

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2013-05-15T19:57:42.396083+00:00

fixed in 0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant