[Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported
Nevan
2058179 at bugs.launchpad.net
Sat Apr 20 07:52:45 UTC 2024
This might be user error, but I seem to still be running into issues
with docker and this.
I'm on the latest kernel and zfs versions:
zfs --version:
zfs-2.2.2-0ubuntu9
zfs-kmod-2.2.2-0ubuntu7
uname -r:
6.8.0-28-generic
[00:41:58 ERROR]: Encountered an unexpected exception
org.spongepowered.configurate.ConfigurateException: []: java.io.IOException: Operation not supported
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.save(AbstractConfigurationLoader.java:205) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
at io.papermc.paper.configuration.Configurations.trySaveFileNode(Configurations.java:111) ~[paper-1.20.4.jar:git-Paper-488]
at io.papermc.paper.configuration.Configurations.initializeGlobalConfiguration(Configurations.java:136) ~[paper-1.20.4.jar:git-Paper-488]
at io.papermc.paper.configuration.Configurations.initializeGlobalConfiguration(Configurations.java:106) ~[paper-1.20.4.jar:git-Paper-488]
at io.papermc.paper.configuration.PaperConfigurations.initializeGlobalConfiguration(PaperConfigurations.java:198) ~[paper-1.20.4.jar:git-Paper-488]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:209) ~[paper-1.20.4.jar:git-Paper-488]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-488]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-488]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.io.IOException: Operation not supported
at sun.nio.fs.LinuxNativeDispatcher.directCopy0(Native Method) ~[?:?]
at sun.nio.fs.LinuxFileSystem.directCopy(LinuxFileSystem.java:159) ~[?:?]
at sun.nio.fs.UnixFileSystem.copyFile(UnixFileSystem.java:682) ~[?:?]
at sun.nio.fs.UnixFileSystem.copy(UnixFileSystem.java:1060) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:300) ~[?:?]
at java.nio.file.Files.copy(Files.java:1304) ~[?:?]
at org.spongepowered.configurate.loader.AtomicFiles.atomicBufferedWriter(AtomicFiles.java:85) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
at org.spongepowered.configurate.loader.AtomicFiles.lambda$atomicWriterFactory$0(AtomicFiles.java:58) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.save(AbstractConfigurationLoader.java:188) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
... 8 more
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2058179
Title:
Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported
Status in Native ZFS for Linux:
Fix Released
Status in systemd package in Ubuntu:
Fix Committed
Status in zfs-linux package in Ubuntu:
Fix Released
Status in systemd source package in Noble:
Fix Committed
Status in zfs-linux source package in Noble:
Fix Released
Bug description:
As per https://github.com/openzfs/zfs/issues/15930
ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
copy_file_range, breaking a multitude of applications.
Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
2.2.2.
One notable issue is when running Root on ZFS: systemd-sysusers will
always fail to create users/groups with the error "Failed to backup
/etc/{group,passwd}: Operation not supported" due to the call to
copy_file_range.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zfs/+bug/2058179/+subscriptions
More information about the foundations-bugs
mailing list