[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856589: mkinitramfs fails with MODULES=dep and root on tmpfs



On Tue, 2017-03-07 at 18:00 +0100, Benjamin Drung wrote:
> Hi,
> 
> Am Montag, den 06.03.2017, 22:50 +0000 schrieb Ben Hutchings:
> > kdump-tools is overriding the MODULES setting; see this command in
> > /etc/kernel/postinst.d/kdump-tools:
> > 
> >     sed -e 's/MODULES=.*/MODULES=dep/' /etc/initramfs-
> > tools/initramfs.conf > "$initramfsdir/initramfs.conf" || true
> > 
> > As a workaround you could change that line into a copy.
> 
> You are right. My test case was broken since the configuration in
> /var/lib/kdump/initramfs-tools was regenerated on every call.
> 
> Using MODULES=most or MODULES=netboot (which I do now, see #856596)
> will not cause this warning. Then the question is: What is the correct
> behavior with MODULES=dep and root on tmpfs?

So long as initramfs-tools doesn't support booting from a tmpfs, it's
not clear what it should do.

Ben.

-- 
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: