Adding default user fails due to lack of 'netdev' group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I've created a build using the 'standard' and 'cloud-image' tasks on Quantal, but without setting a default user.
Cloud-init fails with the following in the log.
2012-09-21 12:47:31,426 - helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/
2012-09-21 12:47:31,427 - cc_users_
2012-09-21 12:47:31,427 - __init__.py[DEBUG]: Creating name ubuntu
2012-09-21 12:47:31,427 - util.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['useradd', 'ubuntu', '--shell', '/bin/bash', '--comment', 'Ubuntu', '--groups', 'adm,audio,
2012-09-21 12:47:31,440 - util.py[WARNING]: Failed to create user Unexpected error while running command.
Command: ['useradd', 'ubuntu', '--shell', '/bin/bash', '--comment', 'Ubuntu', '--groups', 'adm,audio,
Exit code: 6
Reason: -
Stdout: ''
Stderr: "useradd: group 'netdev' does not exist\n" due to error.
2012-09-21 12:47:31,440 - util.py[DEBUG]: Failed to create user Unexpected error while running command.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cloud-init 0.7.0~bzr659-
ProcVersionSign
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Fri Sep 21 12:57:45 2012
PackageArchitec
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
Neil,
I'm curious as to what you tihnk the right behavior would be here.
a.) add the netdev user
b.) fail as it does now.