[Bug 1054035] Re: Adding default user fails due to lack of 'netdev' group
Neil Wilson
neil at aldur.co.uk
Mon Sep 24 18:55:28 UTC 2012
On 24 September 2012 18:10, Scott Moser <smoser at ubuntu.com> wrote:
> I suppose this is probably for historical reasons. For all versions of
> our cloud images (hardy+), there was a 'netdev' user in which the 'ubuntu'
> was present (it is added by 'vmbuilder').
But the current stuff uses live-build - my system is derived from the
scripts that builds your cloud images.
And the hook in 030-create-user.chroot disable user creation for
Quantal.
if dist_ge "${codename}" quantal; then
echo "User creation on 12.10 is handled by cloud-init."
exit 0
fi
Netdev is created in a 025 default group hook.
echo "Adding admin group..."
addgroup --system --quiet admin
echo "Adding netdev group..."
addgroup --system --quiet netdev
Why have the hooks creating the default groups? Shouldn't they be in
the standard server installation packages so that a debootstrapped
Ubuntu system has the expected /etc/group layout?
--
Neil Wilson
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1054035
Title:
Adding default user fails due to lack of 'netdev' group
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1054035/+subscriptions
More information about the Ubuntu-server-bugs
mailing list