[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990140: upgrade-reports: lxc-attach does not start with apparmor problem after ugrade to 10.10



Hi Paul,

I just did an apt upgrade, error is history now.

Thank you, the QA team, the kernel team and all the people at Debian for
their hard, efficient and professional work behind the curtains now, in
the past and in the future - I respect and appreciate very much.

Wich you all the best, cheers

Bernd

Am 21.06.21 um 19:06 schrieb Paul Gevers:
Hi Bernd,

Thanks for your report.

On 21-06-2021 18:04, Bernd Breuer wrote:
after the recent upgrade to Buster 10.10 (including a kernel upgrade) the command 'lxc-attach' (out of the Linux Container (lxc) set of commands), typed in like

"sudo lxc-attach <container-name>"

stopped working with the error message

"lxc-attach: <container-name>: lsm/lsm.c: lsm_process_label_set_at: 174 Operation not permitted - Failed to set AppArmor label "unconfined"

The conainer itself is starting, but apparmor related config lines like

"lxc.apparmor.profile = unconfined"

produce the above mentioned error, also on another machine after the
same packages upgrade.

I expect lxc-attach to provide me a root shell in the running lxc-container like  it was the case before the recent upgrade.
As we didn't upgrade lxc during the point release, this *may* be caused
by the updated Linux kernel. What happens if you reboot using the
previous kernel?

Paul



Reply to: