[Bug 2133900] Re: sbuild: autopkgtest fails with 'Can't exec "/usr/sbin/chroot": No such file or directory'

Julian Andres Klode 2133900 at bugs.launchpad.net
Tue Dec 9 13:47:50 UTC 2025


The move from sbin to bin is conceptually sound given that it works in
unprivileged namespaces, so I'm going to mark this as Won't Fix for now.

** Changed in: rust-coreutils (Ubuntu)
       Status: Confirmed => Won't Fix

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

Title:
  sbuild: autopkgtest fails with 'Can't exec "/usr/sbin/chroot": No such
  file or directory'

Status in rust-coreutils package in Ubuntu:
  Won't Fix
Status in sbuild package in Ubuntu:
  Fix Released

Bug description:
  sbuild autopkgtest currently fails[1] with:

  116s I: Setting up the chroot...
  116s Can't exec "/usr/sbin/chroot": No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 812.
  116s Failed to exec: /usr/sbin/chroot: No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 813.
  116s Can't exec "/usr/sbin/chroot": No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 812.
  116s Failed to exec: /usr/sbin/chroot: No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 813.
  116s I: Successfully set up resolute chroot.
  116s I: Run "sbuild-adduser" to add new sbuild users.
  116s E: Failed to create group sbuild
  116s Failed to set up chroot
  116s E: Error creating chroot session: skipping apt update

  This is because coreutils-from-uutils ships /usr/bin/chroot, not
  /usr/sbin/chroot.

  [1] https://autopkgtest.ubuntu.com/results/autopkgtest-
  resolute/resolute/amd64/s/sbuild/20251203_071606_7bda1@/log.gz

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




More information about the foundations-bugs mailing list