[Bug 2064144] Re: lxc ships apparmor config that confuses aa-logprof

2024-06-05 Thread Aleksandr Mikhalitsyn
If I understand correctly, a proper replacement for mount options=(rw,make-unbindable) -> **, is mount options=(rw,make-unbindable) -> /{,**}, It turned out that replacing it with: mount options=(rw,make-unbindable) -> /**, does not work properly and restricts anything on / (see also

[Bug 2064144] Re: lxc ships apparmor config that confuses aa-logprof

2024-06-04 Thread Aleksandr Mikhalitsyn
JFYI: https://github.com/lxc/lxc/pull/4452 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064144 Title: lxc ships apparmor config that confuses aa-logprof To manage notifications about this bug

[Bug 2062176] Re: Cannot launch armhf containers on arm64 host under noble

2024-06-04 Thread Aleksandr Mikhalitsyn
Another reproducer: # cat test2.c #include #include void *threadfn(void *ptr) { return NULL; } int main(int argc, char **argv) { pthread_t thread; pthread_create(, NULL, , NULL); pthread_join(thread, NULL); return 0; } # arm-linux-gnueabihf-gcc -D_FILE_OFFSET_BITS=64

[Bug 2062176] Re: Cannot launch armhf containers on arm64 host under noble

2024-06-04 Thread Aleksandr Mikhalitsyn
>The test case given in the github issue is invalid, because it builds without the default noble compiler flags of -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 so tells us nothing about what code is actually being run as part of noble that depends on the old syscall. It's not invalid, cause we can't

[Bug 2062176] Re: Cannot launch armhf containers on arm64 host under noble

2024-06-04 Thread Aleksandr Mikhalitsyn
Hi Steve, I have described a reason of this issue above: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2062176/comments/3 >So this is not a bug in glibc, This is not a bug. This is a kernel configuration issue. Kernel configuration has COMPAT_32BIT_TIME=n, but must have COMPAT_32BIT_TIME=y

[Bug 2062176] Re: Cannot launch armhf containers on arm64 host under noble

2024-05-30 Thread Aleksandr Mikhalitsyn
This is the reason: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/noble/tree/debian.raspi/config/annotations?h=master-next#n155 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038582 Minimal reproducer: # cat test.c #define _GNU_SOURCE #include #include

[Bug 2064144] Re: lxc ships apparmor config that confuses aa-logprof

2024-05-27 Thread Aleksandr Mikhalitsyn
From LXC side, we probably should fix this too, just to follow the AppArmor spec. I'll prepare a PR for that. John, what's the best way to validate AppArmor profiles syntax and conformance with the spec? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2066148] Re: Ubuntu Noble lacks of CRIU package

2024-05-21 Thread Aleksandr Mikhalitsyn
New debdiff. Tested with https://launchpad.net/~mihalicyn/+archive/ubuntu/criu-noble- test/+packages ** Patch added: "deb.diff" https://bugs.launchpad.net/ubuntu/+source/criu/+bug/2066148/+attachment/5780743/+files/deb.diff -- You received this bug notification because you are a member of

[Bug 2066148] Re: Ubuntu Noble lacks of CRIU package

2024-05-21 Thread Aleksandr Mikhalitsyn
** Patch removed: "deb.diff" https://bugs.launchpad.net/ubuntu/+source/criu/+bug/2066148/+attachment/5779927/+files/deb.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066148 Title: Ubuntu

[Bug 2066148] Re: Ubuntu Noble lacks of CRIU package

2024-05-20 Thread Aleksandr Mikhalitsyn
Tested with PPA and it looks like compile-time problem is fixed, but now we have the next one: https://launchpadlibrarian.net/730889722/buildlog_ubuntu-noble-ppc64el.criu_3.17.1-3ubuntu1_BUILDING.txt.gz mkdir -p /<>/debian/criu/usr/lib/powerpc64le-linux-gnu install -m 755 lib/c/libcriu.so

[Bug 2066148] Re: Ubuntu Noble lacks of CRIU package

2024-05-20 Thread Aleksandr Mikhalitsyn
It's clearly a false-positive on GCC 13.2 Attaching a Debian diff with workaround (disable warnings and prevent compilation failures). ** Patch added: "deb.diff" https://bugs.launchpad.net/ubuntu/+source/criu/+bug/2066148/+attachment/5779927/+files/deb.diff -- You received this bug

[Bug 2066148] [NEW] Ubuntu Noble lacks of CRIU package

2024-05-20 Thread Aleksandr Mikhalitsyn
Public bug reported: It looks like because of build failures on Noble toolchain: https://launchpad.net/ubuntu/noble/+source/criu/+builds precisely the same version was building just fine on Mantic. $ rmadison criu -u ubuntu criu | 2.0-2ubuntu3 | xenial/universe | source,

[Bug 2060965] Re: liblxc is missing in 24.04

2024-04-15 Thread Aleksandr Mikhalitsyn
Hi! Couldn't you check if this is fixed for you? This is what I see now on Noble: root@lxc-test-noble:~# apt search liblxc Sorting... Done Full Text Search... Done golang-gopkg-lxc-go-lxc.v2-dev/noble 0.0+git20230621.be98af2-1 all Go bindings for liblxc liblxc-common/noble,now

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu3 (Noble)

2024-04-12 Thread Aleksandr Mikhalitsyn
https://autopkgtest.ubuntu.com/packages/l/lxc all tests are green, except i386 (which is broken for years :-( and this should not block a migration). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2060965] Re: liblxc is missing in 24.04

2024-04-11 Thread Aleksandr Mikhalitsyn
Hi! I would suggest to way 1-2 days, because right now we are trying to get https://launchpad.net/ubuntu/+source/lxc/1:5.0.3-2ubuntu5 in Noble. This should solve this problem too. I can only guess that your problem connected with that 1:5.0.1-0ubuntu8 was early replaced by 1:5.0.3-2ubuntu1, but

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu3 (Noble)

2024-04-10 Thread Aleksandr Mikhalitsyn
** Patch added: "debdiff.diff" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2059550/+attachment/5763468/+files/debdiff.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059550 Title:

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu3 (Noble)

2024-04-10 Thread Aleksandr Mikhalitsyn
Ok, lxc/1:5.0.3-2ubuntu4 was uploaded and it's getting better but, unfortunately, "lxc-test-unpriv" test wasn't skipped really. Despite this bug (https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2056461) I was able to make my local autopkgtest environment to work: autopkgtest \

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu3 (Noble)

2024-04-10 Thread Aleksandr Mikhalitsyn
Thanks, Julian! Once this version pass all tests and reach archives I'll prepare PRs for https://salsa.debian.org/lxc-team/lxc to be in sync with Debian. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu2 (Noble)

2024-04-10 Thread Aleksandr Mikhalitsyn
It's worth mentioning that this debdiff includes not only tests disabling but also fix that allows to build source package on Ubuntu. If you do: pull-lp-source liblxc-dev noble-proposed cd lxc-5.0.3 debuild -S -d you will see something like this: dpkg-source -b . dpkg-source: info: using

[Bug 2059550] Re: autopkgtest failures on 1:5.0.3-2ubuntu2 (Noble)

2024-04-10 Thread Aleksandr Mikhalitsyn
** Patch added: "debdiff.diff" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2059550/+attachment/5763115/+files/debdiff.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059550 Title:

[Bug 2056461] Re: autopkgtest-virt-qemu on noble images sometimes hangs doing copydown

2024-04-09 Thread Aleksandr Mikhalitsyn
Looks like I'm facing the same issue: /testbed-packages autopkgtest-virt-qemu: DBG: +> cat autopkgtest-virt-qemu: DBG: +>? autopkgtest-virt-qemu: DBG: +", 'deststdout', "<_io.BufferedReader name='/dev/null'>", 'devnull_read', <_io.BufferedReader name='/dev/null'>] autopkgtest-virt-qemu: DBG:

[Bug 2059550] [NEW] autopkgtest failures on 1:5.0.3-2ubuntu2 (Noble)

2024-03-28 Thread Aleksandr Mikhalitsyn
Public bug reported: We can see autopkgtest failures on Noble: https://autopkgtest.ubuntu.com/packages/lxc 1:5.0.3-2ubuntu2 from noble-proposed/universe Details from log (https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/l/lxc/20240327_203000_ce7d4@/log.gz):