Package: sshfs
Version: 3.7.1+repack-2
Severity: grave
Justification: renders package unusable

Given the following setup:

 - remote directory mounted to /mnt/incoming on server using the
   following options:
   sshfs -d --debug librarian@archive:/mnt/incoming /mnt/incoming -o 
rw,delay_connect,transform_symlinks,idmap=user,allow_other,uid=1011,gid=1011,identityfile=/home/librarian/.ssh/id_rsa,dev,suid,dir_cache=no
 - /mnt/incoming bind-mounted to /srv/nfs/incoming
 - /srv/nfs/incoming exported through nfsv4
 - /srv/nfs/incoming nfsv4-mounted on workstation on /net/media/incoming

Listing the contents of /mnt/incoming or the bind-mounted version on
/srv/nfs/incoming works without problems, as does accessing files
residing in these directories.

Attempting to access the nfs-exported version of this filesystem from a 
workstation leads to sshfs aborting with the following assertion:

  [00035] OPENDIR
    [00035]         HANDLE       17bytes (0ms)
     unique: 66, success, outsize: 32
  unique: 68, opcode: READDIRPLUS (44), nodeid: 1, insize: 80, pid: 0
  sshfs: ../sshfs.c:2216: sftp_readdir_async: Assertion `offset == 0' failed.
  Aborted

When mounted with the directory cache enabled (dir_cache=yes) this
assertion occurs in cache_readdir instead.


-- System Information:
Debian Release: 11.4
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.39-1-pve (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, 
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sshfs depends on:
ii  fuse3           3.10.3-2
ii  libc6           2.31-13+deb11u3
ii  libfuse3-3      3.10.3-2
ii  libglib2.0-0    2.66.8-1
ii  openssh-client  1:8.4p1-5+deb11u1

sshfs recommends no packages.

sshfs suggests no packages.

-- no debconf information

Reply via email to