🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6323

Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version

#6323
From: MichaIng
Date: Thu, 26 Nov 2026 16:50
61 lines
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)
Technical Details
Message-ID: <O3KPv-eiuH-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O0xlM-cvVW-3@gated-at.bofh.it> <O0O3f-cHb9-1@gated-at.bofh.it> <O0xlM-cvVW-3@gated-at.bofh.it> <O0Psm-cHZK-19@gated-at.bofh.it> <O0SzT-cJAr-19@gated-at.bofh.it> <O0xlM-cvVW-3@gated-at.bofh.it> <O0SzT-cJAr-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: MichaIng <micha@dietpi.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154247: cloud-initramfs-tools stuck on ancient upstream version
Date: Thu, 26 Nov 2026 17:50:01 +0100
Message-ID: <O3KPv-eiuH-5@gated-at.bofh.it>
References: <O0xlM-cvVW-3@gated-at.bofh.it> <O0O3f-cHb9-1@gated-at.bofh.it> <O0xlM-cvVW-3@gated-at.bofh.it> <O0Psm-cHZK-19@gated-at.bofh.it> <O0SzT-cJAr-19@gated-at.bofh.it> <O0xlM-cvVW-3@gated-at.bofh.it> <O0SzT-cJAr-19@gated-at.bofh.it>
X-Original-To: 1154247@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 16:47:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: MichaIng <micha@dietpi.com>, 1154247@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-cloud@lists.debian.org
X-Debian-Pr-Message: followup 1154247
X-Debian-Pr-Package: src:cloud-initramfs-tools
X-Debian-Pr-Source: cloud-initramfs-tools
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB, de-DE
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005236
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 61
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 17:45:29 +0100
X-Original-Message-ID: <3eef0d91-1a8f-4d97-88a2-191b8710e5f7@dietpi.com>
X-Original-References: <ce55a845-5f78-424e-8af3-52b8ddc1b0d8@dietpi.com> <av2pCMGnOAZq7976@doom.morgul.net> <ce55a845-5f78-424e-8af3-52b8ddc1b0d8@dietpi.com> <19e89e61-0746-4ffe-9e79-35d23c1d3e8e@dietpi.com> <av3r0lZFRQcmtgZJ@doom.morgul.net> <ce55a845-5f78-424e-8af3-52b8ddc1b0d8@dietpi.com> <av3r0lZFRQcmtgZJ@doom.morgul.net>