Package: libguestfs0t64
Version: 1:1.56.2-4
Severity: normal
Control: affects -1 guestmount guestfish

Dear Maintainer,

Mounting a filesystem using the guestmount program or guestfish
applying the mount-local command fails. This is the output when run
with LIBGUESTFS_TRACE enabled:

libguestfs: trace: set_recovery_proc false
libguestfs: trace: set_recovery_proc = 0
libguestfs: trace: add_drive "Qemu VMs/s390x-virt/image.qcow2"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: max_disks
libguestfs: trace: max_disks = 255
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "force_kvm"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/run/user/1000"
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: launch = 0
libguestfs: trace: mount_options "" "/dev/sda1" "/"
libguestfs: trace: mount_options = 0
libguestfs: trace: umask 0
libguestfs: trace: umask = 18
libguestfs: trace: mount_local "/home/sg/guest_fs"
libguestfs: error: fuse_mount failed: /home/sg/guest_fs, see error messages 
above
libguestfs: trace: mount_local = -1 (error)
libguestfs: trace: close
libguestfs: trace: internal_autosync
libguestfs: trace: internal_autosync = 0

In contrast, running the same tests using fuse2 based version
1:1.54.1-3 of library and applications works fine.

Please find attach reproducers for guestmount and guestfish. Just
invoke them with a suitable image as positional parameter. I used
images originating from https://people.debian.org/~gio/dqib/ to run my
tests.

Sven

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libguestfs0t64 depends on:
ii  acl               2.3.2-2+b2
ii  attr              1:2.5.2-3+b1
ii  binutils          2.45.50.20251209-1+b1
ii  bsdextrautils     2.41.3-2
ii  btrfs-progs       6.17.1-1
ii  bzip2             1.0.8-6+b1
ii  clevis-luks       20-1
ii  cpio              2.15+dfsg-2.1
ii  cryptsetup-bin    2:2.8.3-1
ii  dash              0.5.12-12
ii  db-util           5.3.4
ii  dhcpcd-base       1:10.3.0-7
ii  diffutils         1:3.12-1
ii  dosfstools        4.2-1.2
ii  e2fsprogs         1.47.2-3+b8
ii  exfatprogs        1.3.1-1
ii  extlinux          3:6.04~git20190206.bf6db5b4+dfsg1-3.2
ii  f2fs-tools        1.16.0-2+b1
ii  fdisk             2.41.3-2
ii  file              1:5.46-5+b1
ii  gawk              1:5.3.2-1
ii  gdisk             1.0.10-2
ii  gostsum           3.0.3+git20251212.7f6d61a-2
ii  grub2-common      2.14~git20250718.0e36779-2
ii  icoutils          0.32.3-6
ii  iproute2          6.18.0-1
ii  kmod              34.2-2+b1
ii  ldmtool           0.2.5-2
ii  less              668-1
ii  libacl1           2.3.2-2+b2
ii  libaugeas0        1.14.1-1+b6
ii  libc6             2.42-10+b1
ii  libcap2           1:2.75-10+b5
ii  libfuse3-4        3.18.1-1
ii  libhivex0         1.3.24-2+b2
ii  libjson-c5        0.18+ds-1.1
ii  libpcre2-8-0      10.46-1+b1
ii  librpm10          6.0.1-1
ii  libselinux1       3.9-4+b1
ii  libsystemd0       259-1
ii  libtirpc3t64      1.3.6+ds-1
ii  libtsk19t64       4.12.1+dfsg-3+b1
ii  libvirt0          12.0.0-1
ii  libxml2-16        2.15.1+dfsg-2+b1
ii  libyara10         4.5.4-1+b1
ii  lsscsi            0.32-2
ii  lvm2              2.03.31-2+b1
ii  lzop              1.04-2
ii  mdadm             4.5-2
ii  mount             2.41.3-2
ii  mtools            4.0.49-1
ii  netpbm            2:11.13.00-3
ii  ntfs-3g           1:2022.10.3-5+b1
ii  openssh-client    1:10.2p1-3
ii  osinfo-db         0.20250606-1
ii  parted            3.6-6+b1
ii  pciutils          1:3.14.0-1+b2
ii  procps            2:4.0.4-9+b1
ii  psmisc            23.7-2
ii  qemu-system-x86   1:10.2.0+ds-2
ii  qemu-utils        1:10.2.0+ds-2
ii  scrub             2.6.1+git20240819.9b4267e-1
ii  sleuthkit         4.12.1+dfsg-3+b1
ii  squashfs-tools    1:4.7.4-1
ii  supermin          5.2.2-7
ii  syslinux          3:6.04~git20190206.bf6db5b4+dfsg1-3.2
ii  systemd-sysv      259-1
ii  udev              259-1
ii  util-linux        2.41.3-2
ii  util-linux-extra  2.41.3-2
ii  uuid-runtime      2.41.3-2
ii  xz-utils          5.8.2-2
ii  zerofree          1.1.1-1+b1
ii  zstd              1.5.7+dfsg-3+b1

Versions of packages libguestfs0t64 recommends:
pn  libguestfs-hfsplus  <none>
pn  libguestfs-xfs      <none>

Versions of packages libguestfs0t64 suggests:
pn  libguestfs-gfs2    <none>
pn  libguestfs-jfs     <none>
pn  libguestfs-nilfs   <none>
pn  libguestfs-rescue  <none>
pn  libguestfs-rsync   <none>

-- no debconf information

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: test-guestmount.sh
Description: application/shellscript

Attachment: test-guestfish.sh
Description: application/shellscript

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

Reply via email to