#1093016 /bin/sh: 1: -o: not found : Invalid order of arguments passed by mount to mount.fuse3

Package:
mount
Source:
mount
Description:
tools for mounting and manipulating filesystems
Submitter:
Vassilis Virvilis
Date:
2025-01-14 17:09:04 UTC
Severity:
normal
#1093016#5
Date:
2025-01-14 15:17:52 UTC
From:
To:
Dear Maintainer,

Not sure if this a bug in the fuse3 package or in the mount package.

The problem is that mount passes the arguments of mount.fuse3 in the wrong
order.
Found by strace that this is what is passed:

/sbin/mount.fuse3 -o rw,users,nosuid,nodev,exec sshfs#user@machine:space/
/home/user/mnt/space

This is what mount.fuse3 expects:
$ /sbin/mount.fuse3 --help
usage: /sbin/mount.fuse3 type#[source] destination [-t type] [-o
opt[,opts...]]

In the command line if I move the -o options at the end the mount works.

  * What led up to the situation?

   I have an entry in my fstab for a sshfs mount and I was trying to mount

  * What exactly did you do (or not do) that was effective (or
    ineffective)?

    I gave the following command which was for several years before

    mount ~/mnt/space

  * What was the outcome of this action?

   It said:

   /bin/sh: 1: -o: not found

  * What outcome did you expect instead?

  I was expecting to actually mount the specified remote folder.

#1093016#10
Date:
2025-01-14 16:28:54 UTC
From:
To:
Please try again with mount, libmount1, etc version 2.40.4-1 or
newer.

Chris

#1093016#15
Date:
2025-01-14 16:40:51 UTC
From:
To:
yep - that fixed it

thanks a bunch

#1093016#20
Date:
2025-01-14 16:58:09 UTC
From:
To:
reassign 1093016 mount
found 1093016 mount/2.40.3-1
fixed 1093016 mount/2.40.4-1
affects 1093016 src:fuse3
close 1093016
thanks

Thanks for the feedback, reassigning to mount and marking it as done
there.

Chris