Marked this back to confirmed.
The fix that was applied in cbf93eb4ae9f [1] did not actually fix the problem.

The user-data to show a bug is:
#cloud-config
users:
  - default
  - name: foobar
    gecos: "My User"
    groups: sudo, adm
  - name: wark
    groups: [sudo, adm]
  - name: wark2
    groups: [sudo, "adm "]

The 'wark2' user is not really necessary, but the change proposed at [2]
would normalize that trailing white space out also.


--
[1] 
https://git.launchpad.net/cloud-init/commit/?id=cbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e
[2] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/313458

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1354694

Title:
  useradd crashes if group list contains whitespace on Fedora

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1354694/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to