Public bug reported:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
Ubuntu 22.04.5 LTS

2) The version of the package you are using, via 'apt-cache policy pkgname' or 
by checking in Software Center
proot (5.1.0-1.3)

3) What you expected to happen
`proot -S chroot ls -l /usr/share/initramfs-tools/hooks` can list file stats.

4) What happened instead
`proot -S chroot ls -l /usr/share/initramfs-tools/hooks` can not list file 
stats.

root@86fed8d2fc81:/tmp/kernel_fish_Y0v7KHTN# mount
...
fuseiso on /tmp/kernel_fish_Y0v7KHTN/base type fuse.fuseiso 
(rw,nosuid,nodev,relatime,user_id=0,group_id=0)
squashfuse on /tmp/kernel_fish_Y0v7KHTN/lower type fuse.squashfuse 
(rw,nosuid,nodev,relatime,user_id=0,group_id=0)
fuse-overlayfs on /tmp/kernel_fish_Y0v7KHTN/chroot type fuse.fuse-overlayfs 
(rw,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other)

root@86fed8d2fc81:/tmp/kernel_fish_Y0v7KHTN# proot -S chroot ls -l 
/usr/share/initramfs-tools/hooks
ls: cannot access '/usr/share/initramfs-tools/hooks/dell-bootstrap': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/dmraid': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptgnupg': No such file 
or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptroot': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/amd64_microcode': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/plymouth': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptroot-unlock': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/casper': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptgnupg-sc': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/zz-dhclient': No such file 
or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/intel_microcode': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/ntfs_3g': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/kpartx': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptkeyctl': No such file 
or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/brltty': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/btrfs': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/kbd': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/lvm2': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptpassdev': No such file 
or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/console_setup': No such 
file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/dmsetup': No such file or 
directory
ls: cannot access '/usr/share/initramfs-tools/hooks/cryptopensc': No such file 
or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/thin-provisioning-tools': 
No such file or directory
ls: cannot access '/usr/share/initramfs-tools/hooks/mdadm': No such file or 
directory
total 40
-????????? ? ?    ?       ?            ? amd64_microcode
-????????? ? ?    ?       ?            ? brltty
-????????? ? ?    ?       ?            ? btrfs
-????????? ? ?    ?       ?            ? casper
-????????? ? ?    ?       ?            ? console_setup
-????????? ? ?    ?       ?            ? cryptgnupg
-????????? ? ?    ?       ?            ? cryptgnupg-sc
-????????? ? ?    ?       ?            ? cryptkeyctl
-????????? ? ?    ?       ?            ? cryptopensc
-????????? ? ?    ?       ?            ? cryptpassdev
-????????? ? ?    ?       ?            ? cryptroot
-????????? ? ?    ?       ?            ? cryptroot-unlock
l????????? ? ?    ?       ?            ? dell-bootstrap
-????????? ? ?    ?       ?            ? dmraid
-????????? ? ?    ?       ?            ? dmsetup
-rwxr-xr-x 1 root root  436 Jul 13  2023 fixrtc
-rwxr-xr-x 1 root root  579 Jul 13  2023 framebuffer
-rwxr-xr-x 1 root root 2109 Jul 13  2023 fsck
-rwxr-xr-x 1 root root  231 Mar 23  2022 fuse
-????????? ? ?    ?       ?            ? intel_microcode
-????????? ? ?    ?       ?            ? kbd
-rwxr-xr-x 1 root root  646 Dec 26  2021 klibc-utils
-rwxr-xr-x 1 root root  432 Jan  8  2021 kmod
-????????? ? ?    ?       ?            ? kpartx
-????????? ? ?    ?       ?            ? lvm2
-????????? ? ?    ?       ?            ? mdadm
-????????? ? ?    ?       ?            ? ntfs_3g
-????????? ? ?    ?       ?            ? plymouth
-rwxr-xr-x 1 root root 3116 Jul 25  2023 resume
-rwxr-xr-x 1 root root 1324 Feb  8  2022 thermal
-????????? ? ?    ?       ?            ? thin-provisioning-tools
-rwxr-xr-x 1 root root 1728 Feb 20 13:22 udev
-rwxr-xr-x 1 root root 2233 Aug 13  2024 zz-busybox-initramfs
-????????? ? ?    ?       ?            ? zz-dhclient

** Affects: proot (Ubuntu)
     Importance: Medium
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109327

Title:
  `ls -l` failed on fuse-overlayfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/proot/+bug/2109327/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to