Package: libmount1
Version: 2.39.1-3
Severity: important

Hello, thanks for maintaining util-linux in Debian!

After upgrading to version 2.39.1-3, I experienced the following
issue. When I try to use 'pmount' to mount a vfat filesystem on
a USB mass storage device (a digital photocamera, in the present case)
I get a weird error message, claiming that the NTFS signature is missing.
Well, it's a vfat filesystem, so no surprise it's missing NTFS
features...

  $ pmount sdb1 camera
  NTFS signature is missing.
  Failed to mount '/dev/sdb1': Invalid argument
  The device '/dev/sdb1' doesn't seem to have a valid NTFS.
  Maybe the wrong device is used? Or the whole disk instead of a
  partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  NTFS signature is missing.
  Failed to mount '/dev/sdb1': Invalid argument
  The device '/dev/sdb1' doesn't seem to have a valid NTFS.
  Maybe the wrong device is used? Or the whole disk instead of a
  partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

If I use 'mount' (as the root user) and explicitly specify the
filesystem type, the partition is correctly mounted:

  # mount -t vfat /dev/sdb1 /mnt

However, this is impractical, as it requires root privileges.

As soon as I downgrade package libmount1 (and package mount) to
version 2.38.1-6, everything works again as usual:

  $ pmount sdb1 camera
  $ df --si /media/camera
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/sdb1             512M  7.0M  506M   2% /media/camera

What's going on?
Has libmount1/2.39.1-3 lost the capability to recognize vfat
filesystems?

Please investigate and fix this bug as soon as possible.
Thanks for your time and for any help you may provide!



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

Kernel: Linux 6.4.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmount1 depends on:
ii  libblkid1    2.39.1-3
ii  libc6        2.37-6
ii  libselinux1  3.5-1

libmount1 recommends no packages.

Versions of packages libmount1 suggests:
pn  cryptsetup-bin  <none>

-- no debconf information

Reply via email to