Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds With Latest Incompatibility - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds With Latest Incompatibility
Written by Michael Larabel in Ubuntu on 3 July 2026 at 08:35 AM EDT. 15 Comments
While the Rust Coreutils offers better memory safety than GNU Coreutils due to being written in the Rust programming language, subtle incompatibilities continue to be spotted in the Rust Coreutils implementations of the different commands. The latest coming to light this week was the Rust Coreutils cp command breaking Ubuntu image builds due to differences in argument handling.
Most kinks have been worked out in Rust Coreutils for compatibility differences with GNU Coreutils since the Rust Coreutils transition in Ubuntu 25.10 last year. There was breakage with some executables, performance shortcomings, and breaking unattended upgrades on Ubuntu. It's been some weeks/months since last hearing about any Rust Coreutils troubles on Ubuntu, especially following the Ubuntu 26.04 LTS release. But this week another notable issue was uncovered that led to Ubuntu reverting back to the GNU Coreutils version of the copy (cp) command.
Per this Launchpad bug report that ended up marking it as a "critical" issue, a bug in how Rust Coreutils' cp command handled the "-L" argument led to Ubuntu image builds failing for Ubuntu live media ISO construction.
There was some suggestions raised of changing the Ubuntu build script instead to avoid reverting back to GNU Coreutils:<br>"If I may add, if we revert back (and keep reverting) we may not be able to catch such (edge-case) issues. We came to know only because the builds failed. Instead, we can consider patching 'config'(https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/config) file. The combination cp -afL is used in only one place. May be we can change it to something like cp -RL --preserve=all $entry config/? I checked locally and it works."
But in the end, the latest Ubuntu coreutils-from package update has reverted cp back to the GNU Coreutils version as had been also done before due to other bugs.
A fix has been proposed upstream to Rust Coreutils to fix the cp handling but as of writing has yet to be merged.
15 Comments
Tweet
Canonical First Gold Sponsor Of Trifecta Tech For Building More Infrastructure In Rust<br>Ubuntu 26.10 Snapshot 2 Released For Monthly Testing<br>Ubuntu Flavors Now Mandated To Participate In Beta Releases For Official Status<br>Myna Announced As Speech-To-Text Solution For The Ubuntu Desktop<br>Ubuntu Touch 24.04-2.0 Beta Now Properly Handles Notches & Rounded Corners<br>Ubuntu 26.10 Reaffirms Plans For Switching To Dbus-Broker
Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.
Red Hat ARM Engineer Abandons ARM64 Linux Personal Desktop, Goes Back To AMD Ryzen System<br>COSMIC's New System Monitor Is Looking Very Slick<br>Nourish: A New Wayland Compositor Powered By Vulkan With Infinite Scrolling/Panning<br>CachyOS June 2026 OS Released With More Performance Optimizations<br>Linux Cache Aware Scheduling Extended For Even Better Performance: Up To 360% In MySQL<br>Linux 7.2 Staging Still Working To Tame The Realtek RTL8723BS "Beast Of A Driver"<br>Microsoft Announces Public Preview For Linux Containers On WSL<br>TLAC Aims To Be An Open-Source Alternative To Kernel-Level Anti-Cheat Systems
Vulkan Adds Extension For OCP's Microscaling MX Formats To Help Machine Learning
Coreboot + AMD openSIL On MSI Ryzen Motherboard Now Works With Windows 11
Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds With Latest Incompatibility
Intel Prepares More Nova Lake Graphics/Display Enablement For Linux 7.3
NVIDIA VR-NVL BMC Device Tree Being Upstreamed For OpenBMC Support
Linux 7.2-rc2 BPF Code Being Hardened Against JIT Spraying Attacks
ReactOS Implements First Windows NT6 System Call In Step Toward Vista Compatibility
Fedora 45 Considering x86_64 Shadow Stack Usage By Default
EFS File-System Slated For Removal With Linux 7.3 After 20+ Years Unmaintained
Linux Kernel Developers Again Discussing AI Agent Attribution - Potentially Dropping It
Intel Posts Initial GCC Compiler Patches For AI Compute Extensions "ACE"
Vibe Coded X11 Server Written In Rust Adds Xinerama, FreeBSD...