[lxc-users] Something changed between 1.1.2 and 1.1.4 for unprivileged containers?

Dirk Geschke dirk at lug-erding.de
Thu Oct 15 19:22:25 UTC 2015

Hi all,

I have unprivileged containers running with lxc-1.1.2. They are 
started by a normal, non-root user and it works. But today I 
tried to start them with lxc-1.1.4 and it fails:

   WARN: could not reopen tty: Permission denied
   newuidmap: write to uid_map failed: Operation not permitted
   error mapping child
   setgid: Invalid argument
   lxc-start: conf.c: ttys_shift_ids: 3490 Failed to chown /dev/pts/3
   lxc-start: start.c: lxc_init: 450 Failed to shift tty into container
   lxc-start: start.c: __lxc_start: 1131 failed to initialize the
   lxc-start: lxc_start.c: main: 344 The container failed to start.
   lxc-start: lxc_start.c: main: 348 Additional information can be
   obtained by setting the --logfile and --logpriority options.

That's strange, if I go back to lxc-1.1.2 it works again. So
something has changed. Does anyone know, what changed or what
I have to change in order to get it running with 1.1.4, too?

Best regards

| Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
| Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
| dirk at geschke-online.de / dirk at lug-erding.de  / kontakt at lug-erding.de |

More information about the lxc-users mailing list