On 29.10.2022 21:32, Joe Pfeiffer wrote:
Further follow-up:  the problem appears to be that something else has
already put mount.fuse3 in the initramfs.  Replacing the failing line
with

copy_exec /sbin/mount.fuse3 /sbin || true

allows me to create the initramfs, and the system boots, but I doubt
it's an optimal solution.

I don't have the same issues with initramfs, but maybe this will help to find what script also puts mount.fuse3 into initramfs:
$ grep -iE 'fuse|fuse3' /usr/share/initramfs-tools/hooks/*

This is the output on my system:
/usr/share/initramfs-tools/hooks/fuse:copy_exec /sbin/mount.fuse3 /sbin
/usr/share/initramfs-tools/hooks/fuse:manual_add_modules fuse
/usr/share/initramfs-tools/hooks/ntfs_3g:PREREQ="fuse"

Also, this will list all fuse-related installed packages:
$ dpkg -l | grep -iE 'fuse|fuse3'

This is the output on my system:
ii  exfat-fuse 1.3.0-2                                amd64        read and write exFAT driver for FUSE ii  fuse3 3.10.3-2                               amd64        Filesystem in Userspace (3.x version) ii  fuseiso 20070708-3.2+b1                        amd64        FUSE module to mount ISO filesystem images ii  libfuse2:amd64 2.9.9-5                                amd64        Filesystem in Userspace (library) ii  libfuse3-3:amd64 3.10.3-2                               amd64        Filesystem in Userspace (library) (3.x version) ii  libntfs-3g883 1:2017.3.23AR.3-4+deb11u2              amd64        read/write NTFS driver for FUSE (runtime library) ii  lxcfs 4.0.7-1                                amd64        FUSE based filesystem for LXC ii  ntfs-3g 1:2017.3.23AR.3-4+deb11u2              amd64        read/write NTFS driver for FUSE

If you've got another script in hooks directory that also tries to copy mount.fuse3, you can find a package it comes from:
E.g. $ apt-file find /usr/share/initramfs-tools/hooks/fuse

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Reply via email to