lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-218822-13602@https.bugzilla.kernel.org/>
Date: Thu, 09 May 2024 06:14:56 +0000
From: bugzilla-daemon@...nel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 218822] New: Delete the file from the upper layer directly, the
 file will become "Stale"

https://bugzilla.kernel.org/show_bug.cgi?id=218822

            Bug ID: 218822
           Summary: Delete the file from the upper layer directly, the
                    file will become "Stale"
           Product: File System
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ext4
          Assignee: fs_ext4@...nel-bugs.osdl.org
          Reporter: Squall.Zhou@...ima.com
        Regression: No

The FS mount as following:
/dev/sda7 on / type ext4 (rw,relatime)
/dev/sda5 on /persistent type ext4 (rw,relatime)
overlay on /etc type overlay
(rw,relatime,lowerdir=/sysroot/etc,upperdir=/sysroot/persistent/platform/B/etc/upper,workdir=/sysroot/persistent/platform/B/etc/work)

1. I touched a file named "A" on /etc
2. I remove the file "A" from "/persistent/platform/B/etc/upper"
3. The file "A" in /etc will become "Stale"

root@...1610ada83b:~ [B]# touch /etc/A
root@...1610ada83b:~ [B]# rm /persistent/platform/B/etc/upper/A
root@...1610ada83b:~ [B]# rm /etc/A
rm: can't remove '/etc/A': Stale file handle

Linux version:
root@...1610ada83b:~ [B]# uname -a
Linux exs1610ada83b 5.10.184-intel-pk-standard #1 SMP PREEMPT Sun Jun 25
06:48:28 UTC 2023 x86_64 GNU/Linux

Thought, the /etc/A will be removed also.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ