#1050036 pmount: Can't mount anything since the recent update of libmount1

Package:
pmount
Source:
pmount
Description:
mount removable devices as normal user
Submitter:
Sébastien Dufromentel
Date:
2023-08-19 07:45:04 UTC
Severity:
normal
#1050036#5
Date:
2023-08-18 16:43:28 UTC
From:
To:
Dear Maintainer,

pmount was still perfectly working until recently, but now it fails any mount
complaining about a missing NTFS signature (even if the mounted drive is an
ext4 one, so shouldn't have any NTFS signature). It started a few weeks ago,
when libmount1 was updated from 2.38 to 2.39, so I guess it's related.

I tried to use the -t option to avoid this, but then I get an error from mount
complaining about “not mount point or bad option”, so it doesn't work either.
Don't exactly know what else I can try to have it working.

pumount still works, thought.

Regards,

#1050036#10
Date:
2023-08-19 07:31:10 UTC
From:
To:
This is due to pmount calling mount -o atime (among other options) to
mount a filesystem. But -o atime is broken on util-linux 2.39. This bug
is easily reproduceable with

    # mount -o atime /dev/sdd1 /mnt
    mount: /mnt: not mount point or bad option.
           dmesg(1) may have more information after failed mount system call.
    # mount /dev/sdd1 /mnt
    #

It just got fixed in the upstream repository, but is not included in the
2.39.2 release:

https://github.com/util-linux/util-linux/commit/2b99ee2526ae61be761b0e31c50e106dbec5e9e4

    Ingo

#1050036#15
Date:
2023-08-19 07:34:54 UTC
From:
To:
This bug is also tracked as #1042714 in the util-linux package.

    Ingo