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

Tycho Andersen tycho.andersen at canonical.com
Thu Oct 15 19:36:23 UTC 2015


Hi Dirk,

On Thu, Oct 15, 2015 at 09:22:25PM +0200, Dirk Geschke wrote:
> 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
>    container
>    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?

How are you starting these (hand-built lxd?). lxc 1.1.2 => 1.1.3
reverted an ABI break which could cause some of these problems,
perhaps you're hitting that somehow?

Tycho

> Best regards
> 
> Dirk
> -- 
> +----------------------------------------------------------------------+
> | 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 |
> +----------------------------------------------------------------------+
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list