Control: tag -1 moreino

On Tue, 12 Jan 2021 21:23:55 -0600 Ryan Underwood
<neme...@icequake.net> wrote:
> Package: initramfs-tools
> Version: 0.139
> Severity: important
> 
> Dear Maintainer,
> 
> I understand that separate /usr is deprecated, but many users do not
> have the luxury of wiping and reinstalling their entire system. 
Rather,
> a simple dist-upgrade procedure is expected to produce a working
system,
> making a best effort to migrate previously supported configurations.
> 
> Given that, upgrading a system to buster will break booting if the
> following two conditions are true:
> * /usr is a mount for a separate block device
> * The block device containing the /usr filesystem is a LVM volume.

No, that's a well-tested scenario.  There must be something unusual
about your system configuration.
 
> The reason is because the script
> /usr/share/initramfs-tools/scripts/local-top/lvm2 only attempts to
> activate the root and resume devices, and no other devices.
[...]

That's intentional and not a bug.  We find out the root and resume
devices from the built-in defaults or kernel command line.  But we find
the /usr device from /etc/fstab, after fscking and mounting root. 
There's a separate script,
/usr/share/initramfs-tools/scripts/local-block/lvm2, that is called to
handle /usr and should activate its volume group.

How was /usr listed in /etc/fstab?

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.

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

Reply via email to