Only enable compat arch by default if supported by the kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
ubuntu-advantage-tools (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Kernels in 24.04 will start turning off COMPAT_32BIT_TIME meaning biarch binaries that use 32bit time will stop working.
Please consider to only automatically enable biarch if kernel actually has support it.
For example do not turn on i386 armhf riscv32 when running amd64 arm64 riscv64 kernels if they do not support compat_32bit_time and the architecture is known to not have been rebootstrapped for 64bit time. Separately I wonder if qemu-user-static can be used to emulate 32bit time syscalls on 64bit architecture, potentially requiring that to continue running i386 / armhf binaries going forward.
For pro client, this is more tricky, likely we will have to ensure foreign arch is turned off when transitioning to certain offers - for example FIPS and RT
Also it is likely we need to ensure that biarch is turned off when transitioning 24.04 LTS to ESM.
tags: | added: foundations-todo |
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | New → Triaged |
By "enabling biarch" do you mean adding the 32-bit architecture as a foreign architecture? We only do that for i386, and only for desktop I think (it's done in livecd-rootfs at image build time). Obviously can't do that for riscv!
Does this mean i386 binaries are going to stop working in 24.04? That seems like something that needs wider discussion.