Seen the first lunar test with the fix. Overall we now have: - 859 mb (before) -> 984 mb (bug) -> 899 mb (fixed)
So there would be more to get back to the old sizes, but I've understood that this seemed to be what can be done for now. I'll update again to confirm once I see the change land in Mantic. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2015867 Title: Kernel 6.1 bumped the disk consumption on default images by 15% Status in linux package in Ubuntu: Fix Committed Status in linux source package in Lunar: Fix Released Status in linux source package in Mantic: Fix Committed Bug description: [Impact] After enabling Rust support in the kernel we noticed an increased size in linux-headers, because all the Rust libraries required to build out-of-tree kernel modules are now included in linux-headers directly. The increased size goes from ~30MB to ~100MB. This extra size is not worth it, considering the small amount of users that are going to experiment Rust in the kernel at the moment. [Test case] Install linux-headers and check the size of /usr/src/linux- headers-`uname -r`. [Fix] Some work has already done to reduce the size of linux-headers by dropping some binary artifacts (*.o and *.cmd) that are not required to build out-of-tree kernel modules. Ideally it'd be nicer to provide a separate package (called for example linux-lib-rust-`uname -r`) to ship the Rust-specific dependencies (libraries / headers). In this way linux-headers would be restored back to the original size, those that want to experiment Rust in the kernel can simply install linux-lib-rust and we can prevent wasting space in the cloud images. [Regression potential] Introducing a new package in the kernel may break something in our kernel promotion workflow, so with this change applied we need to pay a little more attention when the kernel is going to be promoted to release/updates. [Original bug report] Hi, in the regular monitoring of metrics there was a bump in disk size last week. The default image once installed consumes now 994 (formerly 859) megabytes. Looking at the consumers there was much noise, but the biggest change was linux-headers-5.19.0-1008-kvm 25197 -> linux-headers-6.2.0-1002-kvm 108072 linux-modules-5.19.0-1008-kvm 76090 -> linux-modules-6.2.0-1002-kvm 97221 I haven't looked deeper yet. Is that an accident and will be fixed soon, is that a change we can do nothing about, anything in between? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2015867/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp