Thread View: linux.debian.bugs.dist
5 messages
5 total messages
Started by MichaIng
Tue, 17 Nov 2026 19:50
Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Author: MichaIng
Date: Tue, 17 Nov 2026 19:50
Date: Tue, 17 Nov 2026 19:50
15 lines
2755 bytes
2755 bytes
Source: cloud-initramfs-tools Version: version 0.18.debian14 Upstream is at 0.58: https://git.launchpad.net/cloud-initramfs-tools Ubuntu has that right: https://packages.ubuntu.com/overlayroot Debian does not seem to track upstream releases at all: https://tracker.debian.org/pkg/cloud-initramfs-tools The upstream branch on Salsa wasn't updated since 2013, which matches 0.18: https://salsa.debian.org/cloud-team/cloud-initramfs-tools/-/tree/upstream This does not look intended. Upstream added support for dracut to overlayroot, which is (will be) the default initramfs implementation in Forky. At least that should be a good reason to full in recent upstream, and upload a new Debian release based on that before the Forky freeze? Best regards, Micha
Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Author: Noah Meyerhans
Date: Wed, 18 Nov 2026 13:40
Date: Wed, 18 Nov 2026 13:40
26 lines
2893 bytes
2893 bytes
On Tue, Nov 17, 2026 at 08:38:47PM +0100, MichaIng wrote: > Upstream is at 0.58: https://git.launchpad.net/cloud-initramfs-tools > > Ubuntu has that right: https://packages.ubuntu.com/overlayroot > > Debian does not seem to track upstream releases at all: > https://tracker.debian.org/pkg/cloud-initramfs-tools > > The upstream branch on Salsa wasn't updated since 2013, which matches 0.18: > https://salsa.debian.org/cloud-team/cloud-initramfs-tools/-/tree/upstream > > This does not look intended. Upstream added support for dracut to > overlayroot, which is (will be) the default initramfs implementation in > Forky. At least that should be a good reason to full in recent upstream, and > upload a new Debian release based on that before the Forky freeze? I'll take a look at updating it. We don't, afaik, rely on any of the binary packages from cloud-initramfs-tools in any of the cloud images, so this has largely fallen off our priority list. This is, of course, not the only place where this package might be useful, but since we're not particularly invested in it, it's probably worth trying to find somebody who's interested in it to help maintain it. noah
Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Author: MichaIng
Date: Wed, 18 Nov 2026 15:10
Date: Wed, 18 Nov 2026 15:10
17 lines
2661 bytes
2661 bytes
Thanks for having a look! In this case, as far as I interpret the upstream repo location, latest release tag (with .ubuntu suffix), and that Ubuntu uses it, someone at Canonical/Ubuntu community seems to be interested to maintain it. So maybe it is fine to turn around the common "who sources from whom" and track upstream, with minimal/only formal Debian CI/policy changes where needed. So the package stays useful with Dracut and possibly modern cryptsetup features. That said: There also went some commits into the package at Debian throughout the years, but they all look more like formalities and patches likely obsolete with recent upstream. Best regards, Micha
Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Author: Noah Meyerhans
Date: Wed, 18 Nov 2026 18:30
Date: Wed, 18 Nov 2026 18:30
24 lines
3286 bytes
3286 bytes
On Wed, Nov 18, 2026 at 03:59:13PM +0100, MichaIng wrote: > In this case, as far as I interpret the upstream repo location, latest > release tag (with .ubuntu suffix), and that Ubuntu uses it, someone at > Canonical/Ubuntu community seems to be interested to maintain it. So maybe > it is fine to turn around the common "who sources from whom" and track > upstream, with minimal/only formal Debian CI/policy changes where needed. So > the package stays useful with Dracut and possibly modern cryptsetup > features. > > That said: There also went some commits into the package at Debian > throughout the years, but they all look more like formalities and patches > likely obsolete with recent upstream. I've just uploaded 0.58+debian1 to experimental. Please test it and let me know if it works for you. overlayroot did not seem to work for me based only on setting the overlayroot="tmpfs" in /etc/overlayroot.conf, but it did work when I appended that setting to the kernel command line in /etc/default/grub. I don't *think* that's a packaging issue; it may be that upstream's dracut integration is not yet complete. Either way, please test and pass along your experiences. noah
Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Author: MichaIng
Date: Thu, 26 Nov 2026 16:50
Date: Thu, 26 Nov 2026 16:50
61 lines
5442 bytes
5442 bytes
Hi Noah, thanks for the update, and sorry for my delayed answer. I tested it, and must say, it provides surprisingly little gain for overlayroot: * I first tested it with initramfs-tools, to check through open bug reports. * The missing e2fsprogs dependency (or more generic solution) remains true in combination with initramfs-tools, as the hook explicitly copies mke2fs into the initramfs. * I could not find overlayroot depending on busybox. It worked without it on my tests. The mount call in the mentioned script has not changed, but maybe klibc's mount changed to make "-t" truly optional, or it depends on the filesystem type used (tmpfs in my case). * I did not check the /usr on separate drive topic, as IMO this is a useless edge case. The usr-merge transition basically underlines that. * The major open issue remains: As of GRUBs hardcodes a "ro" cmdline entry, the overlayfs is R/O, too, which kinda defeats its purpose, and causes e.g. the separately reported DHCP lease issue. Adding "rw" to the cmdline via /etc/default/grub does not help, since this is only appended, but does not replace the "ro" entry. And the overlayroot seems to follow the "ro" entry it sees first. "ro" hence needs to be manually removed from /boot/grub/grub.cfg, resp edited out of /etc/grub.d/10_linux to make it permanent. A "ro" cmdline entry is actually common, as the init system is doing the rw-remount later. So overlayroot IMO needs to ignore it, and rw-mount by default, with an option to switch to R/O, or the other way round. But the topic more interesting for me was Dracut support, which however turns out to be quite pointless: * It does not read /etc/overlayroot.conf, hence the comment there does not hold for Dracut, and it needs to be added to the cmdline instead. * All it does is translating the "overlayroot" cmdline entry into Dracut's native "rd.overlay", not even preserving options for e.g. "overlayroot=tmpfs:<opts>". And it prints a warning that "rd.overlay" should be used directly. * The overlayroot-chroot command can hence not work either when using Dracut, as its mounts the overlaying rootfs at a different location. * It does not suffer from the "ro" issue: The overlayfs is mounted R/W unless specified differently. Only the separate underlying rootfs mount follows the cmdline's "ro" entry. So when using initramfs-tools, overlayroot can do the job, but requires some tweaks which IMO need to be addressed before this is a worthy Debian package. When using Dracut, just enable its overlayfs module and add "rd.overlay" to the cmdline, to have a properly functional implementation. This overlayroot Dracut support is just a backwards compatibility approach, moving users to "rd.overlay", and it won't work at all for most overlayroot users who switch to Dracut, without doing manual adjustments, which then can better manually switch to "rd.overlay" directly. Since Debian switches its default to Dracut, and the interest in cloud-initramfs-tools seems to be low, dropping it for Forky might be well an alternative. But I did not test or know anything about the other tools provided by cloud-initramfs-tools. Best regards, Micha (@MichaIng)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads