Bug#1132001: 0.91.5: sbuild doesn't respect $chroot_mode (on hurd)

Luke Yasuda <[email protected]> Thu, 26 Mar 2026 19:10:38 +0000
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <177455223800.3375851.15383846521682426771.reportbug__3282.36946822784$1774552413$gmane$org@cfarm421.jing.rocks>
Package: sbuild
Version: 0.91.5
Severity: important
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: hurd-amd64 hurd-i386

Hi!

sbuild 0.91.5 keeps trying to use unshare backend on hurd and fails miserably:

Error reading configuration: Undefined subroutine &Sbuild::Utility::SYS_unshare called at /usr/share/perl5/Sbuild/Utility.pm line 444.
E: unshare failed: 
Error reading configuration: failed to open /proc/sys/kernel/unprivileged_userns_clone at /usr/share/perl5/Sbuild/Utility.pm line 455.

even though I specifically put this in /etc/sbuild/sbuild.conf:

$chroot_mode = "schroot";

But if I specify --chroot-mode=schroot, there is no such problem.