Bug#1049885: marked as done (overlayfs: cannot rename symlink if lower filesystem is NFS)
Your message dated Sat, 10 Aug 2024 14:25:16 +0200 (CEST)
with message-id <20240810122516.97A24BE2DE0@eldamar.lan>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #1049885,
regarding overlayfs: cannot rename symlink if lower filesystem is NFS
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
1049885: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049885
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: overlayfs: cannot rename symlink if lower filesystem is NFS
- From: Guido Berhoerster <guido@berhoerster.name>
- Date: Wed, 16 Aug 2023 15:34:45 +0200
- Message-id: <a6a921eb-7257-de4e-bcb3-a5f5426735f4@berhoerster.name>
Package: linux-image-6.1.0-10-amd64
Version: 6.1.38-2
rename(2) on a symlink on an overlayfs where the lower filesystem is NFS
fails with ENXIO.
It can be reproduced as follows:
lower=/nfs/lower # /nfs should be an nfs mount
mkdir -p "${lower}" /upper /work /merged
touch "${lower}"/foo
ln -s foo "${lower}"/bar
mount -t overlay overlay -o lowerdir="${lower}",upperdir=/upper,workdir=/work /merged
mv /merged/bar /merged/baz
If $lower is e.g. ext4 this works. This is a regression over kernel
5.10 in bullseye. It affects ltsp causing booting into root fs on NFS
to fail due to an initrd script which temporarily renames the /sbin/init
symlink, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049397
--
Guido Berhoerster
--- End Message ---
--- Begin Message ---
Hi
This bug was filed for a very old kernel or the bug is old itself
without resolution.
If you can reproduce it with
- the current version in unstable/testing
- the latest kernel from backports
please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.
Regards,
Salvatore
--- End Message ---
Reply to: