[Bug 942144] [NEW] Using bindhome option of ubuntu template conflicts with ubuntu user

Sidnei da Silva 942144 at bugs.launchpad.net
Mon Feb 27 18:35:44 UTC 2012

Public bug reported:

Recent changes introduced the creation of an 'ubuntu' user with sudo
access by default. However, that conflicts with the --bindhome option if
the user specified for --bindhome has uid/gid 1000.

<sidnei> hallyn, hola, looks like lxc-create -t ubuntu -- -b <username> doesn't work anymore if <username> has uid/gid 1000, the ubuntu user created in the lxc has the same uid/gid
<hallyn> sidnei: gosh, good point.  could you open a bug on that?
<sidnei> hallyn, oki
<hallyn> stgraber: ^ i will make lxc not create the ubuntu user if -b is specified, and add the bound user to sudo/admin group instead.
 stgraber: ^ lemme know if there's a reason that's a bad idea
<hallyn> sidnei: thanks
<sidnei> hallyn, np
<stgraber> hallyn: sounds good

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu30
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 15:30:59 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20111208)
 PATH=(custom, user)
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxc (Ubuntu)
     Importance: High
         Status: Confirmed

** Tags: amd64 apport-bug precise

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  Using bindhome option of ubuntu template conflicts with ubuntu user

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list