[Bug 1054035] Re: Adding default user fails due to lack of 'netdev' group

Neil Wilson neil at aldur.co.uk
Mon Sep 24 15:33:54 UTC 2012


Why are you creating a default user in the 'netdev' group by default
when the standard Ubuntu server installation doesn't appear to create
that group?

That doesn't make any sense. It's always going to fail.

On 24 September 2012 16:24, Scott Moser <smoser at ubuntu.com> wrote:
> I'm not sure I understand.
> The way to handle this in cloud-init now is just to be more explicit with your user-data or config (/etc/cloud/cloud.cfg.d).
>
> #cloud-config
> groups:
>  - foogroup
> users:
>  - name: ubuntu
>    primary-group: foogroup
>
> Then you'll get what you asked for.
> In the past if the user 'ubuntu' did not exist, it would not be created at all.
> Now, if no 'users' item is specified in config, then it expects that the default user can be created.
>
> So, since that default user cannot be created, it is at least arguable
> that the right path is to fail.  Creating groups not explicitly
> requested by the user would seem wrong.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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


-- 
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