[Bug 2110910] [NEW] rust-coreutils breaks initrd generation

Marcos Alano 2110910 at bugs.launchpad.net
Thu May 15 15:05:26 UTC 2025


Public bug reported:

When using rust-coreutils, `update-initramfs` doesn't work. I get the
error:

ubuntu at ubuntu2510:~$ sudo update-initramfs -k 6.14.0-15-generic -c
update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
error: unexpected argument '-Z' found

  tip: to pass '-Z' as a value, use '-- -Z'

Usage: cp [OPTION]... [-T] SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... -t DIRECTORY SOURCE...

For more information, try '--help'.
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.14.0-15-generic with 1.

If I change to gnu-coreutils, it works as should.

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: rust-coreutils 0.0.30-2
ProcVersionSignature: User Name 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: multipass
CloudName: multipass
CloudPlatform: nocloud
CloudSerial: 20250505
CloudSubPlatform: config-disk (/dev/sr0)
Date: Thu May 15 12:03:07 2025
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: rust-coreutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image questing

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2110910

Title:
  rust-coreutils breaks initrd generation

Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  When using rust-coreutils, `update-initramfs` doesn't work. I get the
  error:

  ubuntu at ubuntu2510:~$ sudo update-initramfs -k 6.14.0-15-generic -c
  update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
  error: unexpected argument '-Z' found

    tip: to pass '-Z' as a value, use '-- -Z'

  Usage: cp [OPTION]... [-T] SOURCE DEST
         cp [OPTION]... SOURCE... DIRECTORY
         cp [OPTION]... -t DIRECTORY SOURCE...

  For more information, try '--help'.
  E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
  update-initramfs: failed for /boot/initrd.img-6.14.0-15-generic with 1.

  If I change to gnu-coreutils, it works as should.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: rust-coreutils 0.0.30-2
  ProcVersionSignature: User Name 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudBuildName: server
  CloudID: multipass
  CloudName: multipass
  CloudPlatform: nocloud
  CloudSerial: 20250505
  CloudSubPlatform: config-disk (/dev/sr0)
  Date: Thu May 15 12:03:07 2025
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: rust-coreutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2110910/+subscriptions




More information about the foundations-bugs mailing list