Bug 2155613 - Adding O_APPEND to O_RDWR with fcntl(fd, F_SETFL) does not work on overlayfs
Summary: Adding O_APPEND to O_RDWR with fcntl(fd, F_SETFL) does not work on overlayfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-21 16:09 UTC by Ilya Leoshkevich
Modified: 2022-12-25 01:21 UTC (History)
17 users (show)

Fixed In Version: kernel-6.0.15-300.fc37 kernel-6.0.15-200.fc36
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-25 01:07:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kernel logs (112.14 KB, text/plain)
2022-12-21 16:09 UTC, Ilya Leoshkevich
no flags Details

Description Ilya Leoshkevich 2022-12-21 16:09:05 UTC
Created attachment 1933975 [details]
kernel logs

1. Please describe the problem:

I'm running into a known kernel bug on the latest F37:

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

https://lore.kernel.org/regressions/Y3+jz5CVA9S+h2+b@ZenIV/

I've added the fix, rebuilt the kernel, and the problem went away:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=456b59e757b0c558df550764a4fd5ae6877e93f8

2. What is the Version-Release number of the kernel:

6.0.13-300.fc37.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

This worked on F35.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

The C reproducer can be found in the kernel bugzilla linked above.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

No.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Please see attachments.

Comment 1 Fedora Update System 2022-12-21 23:22:54 UTC
FEDORA-2022-a865264e37 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a865264e37

Comment 2 Fedora Update System 2022-12-21 23:22:55 UTC
FEDORA-2022-90162a1d88 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-90162a1d88

Comment 3 Fedora Update System 2022-12-22 01:17:23 UTC
FEDORA-2022-a865264e37 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a865264e37`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a865264e37

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-12-22 01:41:35 UTC
FEDORA-2022-90162a1d88 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-90162a1d88`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-90162a1d88

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-12-25 01:07:24 UTC
FEDORA-2022-90162a1d88 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-12-25 01:21:49 UTC
FEDORA-2022-a865264e37 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.