zfsonlinux/debian/patches
Stoiko Ivanov d0e8c24e02 fix #4440: cherry-pick patch for mountpoint=legacy on /
As reported having set 'mountpoint=legacy' on the root dataset (for a
default install this would be 'rpool/ROOT/pve-1') for mounting through
e.g. /etc/fstab breaks booting in initramfs

The cherry-picked patch is already applied to zfs-2.1.8-staging
upstream so will be included in the next zfs point release.

reproduced the issue on a VM with ZFS on root by:
* booting into a PVE 7.3 iso (to have zfs and an inactive
  rpool/ROOT/pve-1)
* `zpool import -ocachefile=none -N -f rpool
* `zfs set mountpoint=legacy rpool/ROOT/pve-1`
* `mount -t zfs rpool/ROOT/pve-1 /mnt
* `echo "rpool/ROOT/pve-1 / zfs defaults 0 0" >> /mnt/etc/fstab`
* `zpool export rpool`
* reboot - the boot breaks with zfs-initramfs 2.1.7-pve1 but works
  with this patch applied

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2023-01-02 17:03:49 +01:00
..
0001-Check-for-META-and-DCH-consistency-in-autoconf.patch update submodule and patches to ZFS 2.1.3 2022-03-11 16:34:58 +01:00
0002-always-load-ZFS-module-on-boot.patch update submodule and patches for zfs-2.0.0 2021-01-13 14:14:01 +01:00
0003-Fix-the-path-to-the-zed-binary-on-the-systemd-unit.patch update submodule and patches for zfs-2.0.0 2021-01-13 14:14:01 +01:00
0004-import-with-d-dev-disk-by-id-in-scan-service.patch update zfs submodule to 2.1.7 and refresh patches 2022-12-06 16:39:35 +01:00
0005-Enable-zed-emails.patch update submodule and patches to ZFS 2022-06-28 16:12:01 +02:00
0006-dont-symlink-zed-scripts.patch update submodule and patches to ZFS 2.1.1-staging 2021-09-28 06:10:53 +02:00
0007-Use-installed-python3.patch update submodule and patches to ZFS 2.1.2 2022-01-11 11:30:14 +01:00
0008-Add-systemd-unit-for-importing-specific-pools.patch update zfs submodule to 2.1.7 and refresh patches 2022-12-06 16:39:35 +01:00
0009-Patch-move-manpage-arcstat-1-to-arcstat-8.patch update submodule and patches to ZFS 2022-06-28 16:12:01 +02:00
0010-arcstat-Fix-integer-division-with-python3.patch update zfs submodule to 2.1.6 and refresh patches 2022-10-04 16:06:34 +02:00
0011-arc-stat-summary-guard-access-to-l2arc-MFU-MRU-stats.patch update zfs submodule to 2.1.7 and refresh patches 2022-12-06 16:39:35 +01:00
0012-initramfs-Fix-legacy-mountpoint-rootfs.patch fix #4440: cherry-pick patch for mountpoint=legacy on / 2023-01-02 17:03:49 +01:00
series fix #4440: cherry-pick patch for mountpoint=legacy on / 2023-01-02 17:03:49 +01:00