[Bug 2116289] [NEW] mv does not support -Z

Heinrich Schuchardt 2116289 at bugs.launchpad.net
Wed Jul 9 21:07:09 UTC 2025


Public bug reported:

In the log of a Launchpad build using rust-coreutils riscv64
0.1.0-0ubuntu1 the following error was reported:

Processing triggers for debianutils (5.23.1) ...
error: unexpected argument '-Z' found

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

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

The mv man-page has:

-Z, --context
              set SELinux security context of destination file to default type

Please, add the missing switch.

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

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

-- 
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/2116289

Title:
  mv does not support -Z

Status in coreutils-from package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  In the log of a Launchpad build using rust-coreutils riscv64
  0.1.0-0ubuntu1 the following error was reported:

  Processing triggers for debianutils (5.23.1) ...
  error: unexpected argument '-Z' found

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

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

  The mv man-page has:

  -Z, --context
                set SELinux security context of destination file to default type

  Please, add the missing switch.

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




More information about the foundations-bugs mailing list