[Bug 265202] sysutils/fusefs-lkl: broken autocompletion and content disappearing from file manager view

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Jul 2022 21:30:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265202

            Bug ID: 265202
           Summary: sysutils/fusefs-lkl: broken autocompletion and content
                    disappearing from file manager view
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cem@freebsd.org
          Reporter: bsduck@mailo.com
          Assignee: cem@freebsd.org
             Flags: maintainer-feedback?(cem@freebsd.org)

Hello,

Partitions mounted through lklfuse have strange issues, which are clearly
related:

When browsing them on the command line, autocompletion doesn't work, except the
first time I use it. Files and directories are shown with ls and can be
accessed by typing their full name, but the tab key is ineffective. Starting a
new shell makes autocompletion work again once and then it fails like before.

When browsing them in a file manager (tested with PCManFM-Qt and Thunar), it's
far worse: directories can be opened, but when going back to the parent
directory, everything has disappeared and I'm presented with an empty
directory. Refreshing the view has no effect and I have to restart the file
manager or unmount and remount the partition to get the content displayed
again. Just pressing F5 in any directory that itself contains directories also
makes everything disappear (but not if the content is only files).

This is broken with at least ext2, ext3, ext4 and Btrfs. Tested today with
ext2/3/4 on 13.1-STABLE and I remember having similar issues two years ago with
Btrfs on 12.2-RELEASE.

I mount partitions with default options, for example with
$ lklfuse -o type=ext4 /device /mountpoint

Mounting as user or as root doesn't make a difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.