FS#78664 - [util-linux] 2.39-4 mount no longer follows /etc/fstab
Attached to Project:
Arch Linux
Opened by Rev. LeRoy D. Cressy (rev.cressy) - Wednesday, 31 May 2023, 13:48 GMT
Last edited by Christian Hesse (eworm) - Friday, 09 June 2023, 12:48 GMT
Opened by Rev. LeRoy D. Cressy (rev.cressy) - Wednesday, 31 May 2023, 13:48 GMT
Last edited by Christian Hesse (eworm) - Friday, 09 June 2023, 12:48 GMT
|
Details
Description:
When I attempt to mount a flash drive or external drive I get: mount: /mnt/backup: must be superuser to use mount. The mount command no longer follows the directions in /etc/fstab! user,noauto,rw,exec I rated this with a severity of low because to me it is just an annoyance, but other users who are not listed in the /etc/sudoers file could find this as a real problem. Additional info: * package version(s) 2.39-4 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: attempt to mount a flash drive or external drive as a normal user. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 09 June 2023, 12:48 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.39-6
Friday, 09 June 2023, 12:48 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.39-6
https://bbs.archlinux.org/viewtopic.php?id=286042
https://bbs.archlinux.org/viewtopic.php?id=286053
I don't know what are the upstream release plans but it's not obvious the next release will be soon.
The new mount API caused some fallout, that needs to be reacted on.
I switched the package to build from git, and fast-forwarded to current stable/v2.39 in util-linux 2.39-5. Please give it a try...
I have a tmpfs in fstab like this, "exec" is after "user" as the man page says it needs to be:
> tmpfs /long/path/tmp tmpfs defaults,nofail,noauto,user,exec 0 0
util-linux 2.39-1 through 2.39-5 breaks this for me:
> $ mount /long/path/tmp
> mount: /long/path/tmp: must be superuser to use mount.
With util-linux 2.38.1-4 this works fine.
(Weirdly util-linux-libs 2.39-5 + util-linux 2.39-4 works fine? But I think that's probably not a good idea to do^^)