[Touch-packages] [Bug 1779582] Re: Unable to create unpriviledged container

2018-07-03 Thread Alex Garel
I close it for it does not happen with other name. So there should have
been a specific problem for the first vm, which maybe pre-exists in some
way.

** Changed in: lxc (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1779582

Title:
  Unable to create unpriviledged container

Status in lxc package in Ubuntu:
  Invalid

Bug description:
  I already have a lot of unpriviledged container initialized while on
  versions prior to 18.04.

  I normally got all necessary pieces:

  $ cat /etc/subuid
  alex:165536:65536
  $ cat /etc/subgid
  alex:165536:65536
  $ cat .config/lxc/default.conf 
  lxc.net.0.type = veth
  lxc.net.0.link = lxcbr0
  lxc.net.0.flags = up
  lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
  lxc.idmap = u 0 165536 65536
  lxc.idmap = g 0 165536 65536

  
  I tried to create a new container and it failed.

  $ lxc-create -n gym -l DEBUG -t download -- -d ubuntu -r xenial -a amd64
  Error creating container gym

  $ cat .local/share/lxc/gym/gym.log 
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type u nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type g nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 DEBUGlxc_conf - 
conf.c:chown_mapped_root:3086 - trying to chown 
"/home/alex/.local/share/lxc/gym" to 1001

  I got this:

  $ ls -ld .local/share/lxc/gym
  drwxr-xr-x 2 165536 alex 4096 juil.  1 22:34 .local/share/lxc/gym

  So I don't know where it's failing and why !

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lxc 3.0.1-0ubuntu1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul  1 22:36:11 2018
  InstallationDate: Installed on 2015-11-10 (964 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  KernLog:
   
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to bionic on 2018-05-04 (58 days ago)
  defaults.conf:
   lxc.net.0.type = veth
   lxc.net.0.link = lxcbr0
   lxc.net.0.flags = up
   lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1779582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1779582] Re: Unable to create unpriviledged container

2018-07-03 Thread Alex Garel
Here it is !

But

1. at the time being a container named gym already exist (for I used
lxc-copy to create it)

So I tried:

$ lxc-create -n gym2 -o lxc.debug -l DEBUG -t download -- -d ubuntu -r
xenial -a amd64

and to my surprise it worked.

So there might have been something specific to the "gym" folder and I
propose to close the ticket !

** Attachment added: "lxc.debug"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1779582/+attachment/5159146/+files/lxc.debug

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1779582

Title:
  Unable to create unpriviledged container

Status in lxc package in Ubuntu:
  Invalid

Bug description:
  I already have a lot of unpriviledged container initialized while on
  versions prior to 18.04.

  I normally got all necessary pieces:

  $ cat /etc/subuid
  alex:165536:65536
  $ cat /etc/subgid
  alex:165536:65536
  $ cat .config/lxc/default.conf 
  lxc.net.0.type = veth
  lxc.net.0.link = lxcbr0
  lxc.net.0.flags = up
  lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
  lxc.idmap = u 0 165536 65536
  lxc.idmap = g 0 165536 65536

  
  I tried to create a new container and it failed.

  $ lxc-create -n gym -l DEBUG -t download -- -d ubuntu -r xenial -a amd64
  Error creating container gym

  $ cat .local/share/lxc/gym/gym.log 
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type u nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type g nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 DEBUGlxc_conf - 
conf.c:chown_mapped_root:3086 - trying to chown 
"/home/alex/.local/share/lxc/gym" to 1001

  I got this:

  $ ls -ld .local/share/lxc/gym
  drwxr-xr-x 2 165536 alex 4096 juil.  1 22:34 .local/share/lxc/gym

  So I don't know where it's failing and why !

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lxc 3.0.1-0ubuntu1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul  1 22:36:11 2018
  InstallationDate: Installed on 2015-11-10 (964 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  KernLog:
   
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to bionic on 2018-05-04 (58 days ago)
  defaults.conf:
   lxc.net.0.type = veth
   lxc.net.0.link = lxcbr0
   lxc.net.0.flags = up
   lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1779582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1779582] Re: Unable to create unpriviledged container

2018-07-03 Thread Stéphane Graber
Can you run:
  lxc-create -n gym -o lxc.debug -l DEBUG -t download -- -d ubuntu -r xenial -a 
amd64

And attach the "lxc.debug" file?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1779582

Title:
  Unable to create unpriviledged container

Status in lxc package in Ubuntu:
  New

Bug description:
  I already have a lot of unpriviledged container initialized while on
  versions prior to 18.04.

  I normally got all necessary pieces:

  $ cat /etc/subuid
  alex:165536:65536
  $ cat /etc/subgid
  alex:165536:65536
  $ cat .config/lxc/default.conf 
  lxc.net.0.type = veth
  lxc.net.0.link = lxcbr0
  lxc.net.0.flags = up
  lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
  lxc.idmap = u 0 165536 65536
  lxc.idmap = g 0 165536 65536

  
  I tried to create a new container and it failed.

  $ lxc-create -n gym -l DEBUG -t download -- -d ubuntu -r xenial -a amd64
  Error creating container gym

  $ cat .local/share/lxc/gym/gym.log 
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type u nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type g nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 DEBUGlxc_conf - 
conf.c:chown_mapped_root:3086 - trying to chown 
"/home/alex/.local/share/lxc/gym" to 1001

  I got this:

  $ ls -ld .local/share/lxc/gym
  drwxr-xr-x 2 165536 alex 4096 juil.  1 22:34 .local/share/lxc/gym

  So I don't know where it's failing and why !

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lxc 3.0.1-0ubuntu1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul  1 22:36:11 2018
  InstallationDate: Installed on 2015-11-10 (964 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  KernLog:
   
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to bionic on 2018-05-04 (58 days ago)
  defaults.conf:
   lxc.net.0.type = veth
   lxc.net.0.link = lxcbr0
   lxc.net.0.flags = up
   lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1779582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1779582] Re: Unable to create unpriviledged container

2018-07-01 Thread Alex Garel
I forgot to mention :

$ getfacl /home/alex
getfacl : suppression du premier « / » des noms de chemins absolus
# file: home/alex
# owner: alex
# group: alex
user::rwx
user:165536:--x
group::r-x
mask::r-x
other::---

and so all the way down to /home/alex/.local/share/lxc/

Also lxc-copy is working !

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1779582

Title:
  Unable to create unpriviledged container

Status in lxc package in Ubuntu:
  New

Bug description:
  I already have a lot of unpriviledged container initialized while on
  versions prior to 18.04.

  I normally got all necessary pieces:

  $ cat /etc/subuid
  alex:165536:65536
  $ cat /etc/subgid
  alex:165536:65536
  $ cat .config/lxc/default.conf 
  lxc.net.0.type = veth
  lxc.net.0.link = lxcbr0
  lxc.net.0.flags = up
  lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
  lxc.idmap = u 0 165536 65536
  lxc.idmap = g 0 165536 65536

  
  I tried to create a new container and it failed.

  $ lxc-create -n gym -l DEBUG -t download -- -d ubuntu -r xenial -a amd64
  Error creating container gym

  $ cat .local/share/lxc/gym/gym.log 
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type u nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 INFO lxc_confile - 
confile.c:set_config_idmaps:1666 - Read uid map: type g nsid 0 hostid 165536 
range 65536
  lxc-create gym 20180701213443.653 DEBUGlxc_conf - 
conf.c:chown_mapped_root:3086 - trying to chown 
"/home/alex/.local/share/lxc/gym" to 1001

  I got this:

  $ ls -ld .local/share/lxc/gym
  drwxr-xr-x 2 165536 alex 4096 juil.  1 22:34 .local/share/lxc/gym

  So I don't know where it's failing and why !

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lxc 3.0.1-0ubuntu1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul  1 22:36:11 2018
  InstallationDate: Installed on 2015-11-10 (964 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  KernLog:
   
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to bionic on 2018-05-04 (58 days ago)
  defaults.conf:
   lxc.net.0.type = veth
   lxc.net.0.link = lxcbr0
   lxc.net.0.flags = up
   lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1779582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp