Package: src:linux Version: 4.12.13-1 Severity: normal One cannot read files of the lowerdir of a overlay, if lowerdir points to an AFS networked drive. In this case Debian Stretch's OpenAFS client packet.
If you do this: mkdir lower upper work to modprobe overlay mount -t overlay -o upperdir=upper,workdir=work,lowerdir=lower overlay-local to ls to # displays files in upper and lower cat to/file # displays the content of file in upper or, if not found there, in lower Assume OpenAFS is configured to be visible at /afs and up and running: ls /afs/.inf/test afs file ls upper file upper mount -t overlay -o upperdir=upper,workdir=work,lowerdir=/afs/.inf/test overlay-afs to ls to afs file upper # this looks good, all files merged cat to/file upper # looks good, too, "upper" is the content of upper/file cat to/afs cat: to/afs: No such file or directory ### !!!!! this should display the content of the file cat /afs/.inf/test/afs afs # this file has a content and does exist indeed ls -alni to/afs 786508 -rw-r--r-- 1 0 0 4 Sep 21 09:17 to/afs ls -alni /afs/.inf/test/afs 786508 -rw-r--r-- 1 0 0 4 Sep 21 09:17 /afs/.inf/test/afs # Those lines match as well =========== If you stack /afs and local directories with aufs, you can read the files. So it is not a problem of the networked file system, but of the "overlay" stacking feature. -- Package-specific info: ** Version: Linux version 4.12.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 6.4.0 20170915 (Debian 6.4.0-6) ) #1 SMP Debian 4.12.13-1 (2017-09-19) ** Command line: BOOT_IMAGE=/vmlinuz-4.12.0-2-amd64 root=/dev/mapper/stretch--vg-root ro quiet ** Tainted: PO (4097) * Proprietary module has been loaded. * Out-of-tree module has been loaded. ** Kernel log: ** Model information sys_vendor: VMware, Inc. product_name: VMware Virtual Platform product_version: None chassis_vendor: No Enclosure chassis_version: N/A bios_vendor: Phoenix Technologies LTD bios_version: 6.00 board_vendor: Intel Corporation board_name: 440BX Desktop Reference Platform board_version: None ** Loaded modules: nfnetlink_queue nfnetlink_log nfnetlink bluetooth ecdh_generic rfkill uinput vmw_vsock_vmci_transport vsock coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmw_balloon intel_rapl_perf pcspkr joydev evdev serio_raw snd_ens1371 snd_ac97_codec ac97_bus gameport snd_rawmidi snd_seq_device snd_pcm snd_timer vmwgfx snd soundcore ttm drm_kms_helper drm sg vmw_vmci shpchp battery ac button sunrpc fuse parport_pc ppdev lp parport ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb mbcache btrfs crc32c_generic xor raid6_pq sky2 overlay openafs(PO) atl2 atl1e atl1 mii dm_mod sd_mod sr_mod cdrom hid_generic usbhid hid crc32c_intel ata_generic aesni_intel aes_x86_64 crypto_simd cryptd glue_helper psmouse ehci_pci e1000 uhci_hcd ehci_hcd usbcore usb_common mptspi scsi_transport_spi mptscsih mptbase i2c_piix4 floppy ata_piix libata scsi_mod ** PCI devices: ** USB devices: Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.12.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages linux-image-4.12.0-2-amd64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.130 ii kmod 24-1 ii linux-base 4.5 Versions of packages linux-image-4.12.0-2-amd64 recommends: ii firmware-linux-free 3.4 ii irqbalance 1.1.0-2.3 Versions of packages linux-image-4.12.0-2-amd64 suggests: pn debian-kernel-handbook <none> ii grub-pc 2.02-2 pn linux-doc-4.12 <none> Versions of packages linux-image-4.12.0-2-amd64 is related to: pn firmware-amd-graphics <none> pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux-nonfree <none> pn firmware-misc-nonfree <none> pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-realtek <none> pn firmware-samsung <none> pn firmware-siano <none> pn firmware-ti-connectivity <none> pn xen-hypervisor <none> -- no debconf information