Bug#993391: [pkg-lxc-devel] Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-04 Thread pk
> Creation is necessary as you need a valid rootfs to work, and a valid > rootfs for an unprivileged container has to fit the usernamespace which > will be created upon startup of the container. "/" is not a valid rootfs > for an unprivileged container as the uid mappings are totally out of >

Bug#993391: [pkg-lxc-devel] Bug#993391: Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-02 Thread Pierre-Elliott Bécue
pk writes: > Can you post your complete config for autopkgtest-lxc-xwkkud, > autopkgtest-unstable or other working unpriv container? Your output > reads "unprivileged true". Because they are unprivileged which is the topic of the current discussion. -- PEB signature.asc Description: PGP

Bug#993391: [pkg-lxc-devel] Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-02 Thread Pierre-Elliott Bécue
Hi, pk writes: > Hello, > > I copy-pasted configuration and commands from > /usr/share/doc/lxc/README.Debian.gz under "Unprivileged containers". > Are you talking about another file? > https://salsa.debian.org/lxc-team/lxc/-/blob/7d692c266c63fced9417042ae904cc2a280b96d8/debian/README.Debian

Bug#993391: [pkg-lxc-devel] Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-02 Thread pk
Can you post your complete config for autopkgtest-lxc-xwkkud, autopkgtest-unstable or other working unpriv container? Your output reads "unprivileged true". Thanks

Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-02 Thread pk
Hello, I copy-pasted configuration and commands from /usr/share/doc/lxc/README.Debian.gz under "Unprivileged containers". Are you talking about another file? https://salsa.debian.org/lxc-team/lxc/-/blob/7d692c266c63fced9417042ae904cc2a280b96d8/debian/README.Debian lxc.rootfs defaults to the

Bug#993391: [pkg-lxc-devel] Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-01 Thread Pierre-Elliott Bécue
Control: severity -1 normal Hi, I don't like to make judgemental calls when I try to help our users, but here I'll still make a guess. I guess that you actually did not read carefully README.Debian.gz and therefore did not follow these instructions carefully. pk writes: > Thank you for

Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-01 Thread pk
Thank you for answering. kernel.unprivileged_userns_clone = 1 on my machine and on the Live DVD. All instructions of the README.Debian.gz were followed. To rule out machine-specific misconfiguration, this log is from the Live DVD, Debian 11.0 AMD64 Standard: Warning: Permanently added

Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-09-01 Thread Pierre-Elliott Bécue
Control: tags -1 +moreinfo Le mardi 31 août 2021 à 18:44:19+0200, pk1 a écrit : > Package: lxc > Version: 1:4.0.6-2 > Severity: important > X-Debbugs-Cc: pkoroau+...@gmail.com > > Dear Maintainer, > > > On a pristine Debian 11 install, the example from "Unprivileged containers" > section of

Bug#993391: lxc: Unprivileged lxc example from README.Debian.gz gives AppArmor error "Failed to mount proc"

2021-08-31 Thread pk1
Package: lxc Version: 1:4.0.6-2 Severity: important X-Debbugs-Cc: pkoroau+...@gmail.com Dear Maintainer, On a pristine Debian 11 install, the example from "Unprivileged containers" section of /usr/share/doc/lxc/README.Debian.gz gives "Failed to mount proc" with an AppArmor error in dmesg, but