Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80084 > unrolled thread

Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS

Started byGuido Berhoerster <guido@berhoerster.name>
First post2023-08-16 15:40 +0200
Last post2024-08-10 14:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS Guido Berhoerster <guido@berhoerster.name> - 2023-08-16 15:40 +0200
    Processed: Re: Bug#1049885: overlayfs: cannot rename symlink if  lower filesystem is NFS "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-08-24 09:30 +0200
    Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS Salvatore Bonaccorso <carnil@debian.org> - 2023-08-24 09:30 +0200
    Bug#1049885: marked as done (overlayfs: cannot rename symlink if  lower filesystem is NFS) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-10 14:30 +0200

#80084 — Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS

FromGuido Berhoerster <guido@berhoerster.name>
Date2023-08-16 15:40 +0200
SubjectBug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS
Message-ID<H3oUF-2gVk-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#80175 — Processed: Re: Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-08-24 09:30 +0200
SubjectProcessed: Re: Bug#1049885: overlayfs: cannot rename symlink if lower filesystem is NFS
Message-ID<H6cWZ-422V-7@gated-at.bofh.it>
In reply to#80084
Processing control commands:

> tags -1 + moreinfo
Bug #1049885 [src:linux] overlayfs: cannot rename symlink if lower filesystem is NFS
Added tag(s) moreinfo.

-- 
1049885: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049885
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#80177

FromSalvatore Bonaccorso <carnil@debian.org>
Date2023-08-24 09:30 +0200
Message-ID<H6cWZ-422V-1@gated-at.bofh.it>
In reply to#80084
Control: tags -1 + moreinfo

Hi Guido,

On Wed, Aug 16, 2023 at 03:34:45PM +0200, Guido Berhoerster wrote:
> 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

Did you check, does that affect current stable versions upstream or
mainline?

Were you able to bisect the breaking change?

In both cases, it would be great it you can report this upstream and
keep us in the loop.

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#83403 — Bug#1049885: marked as done (overlayfs: cannot rename symlink if lower filesystem is NFS)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-10 14:30 +0200
SubjectBug#1049885: marked as done (overlayfs: cannot rename symlink if lower filesystem is NFS)
Message-ID<J9Tom-43OB-25@gated-at.bofh.it>
In reply to#80084

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web