Bug#1108550: reprotest: fails with "sudo: a remote host may only be specified when listing privileges"

Marc Haber mh+debian-packages at zugschlus.de
Thu Jul 3 22:04:05 BST 2025


On Mon, Jun 30, 2025 at 11:44:17PM +0100, Colin Watson wrote:
>+        printf '"'"'#!/bin/sh\nsudo -h localhost -E -u salsa-ci env -u SUDO_COMMAND -u SUDO_GID -u SUDO_UID -u SUDO_USER /usr/bin/disorderfs "$@"\n'"'"' > "/tmp/reprotest.A2zxWh/bin"/disorderfs

it looks like this part of reprotest has only worked because sudo 
wrongly didnt check the host name in this call.

This doesn't help you at the moment, but I have been in touch with 
upstream. sudo will disable the --with-fqdn flat at compile time after 
trixie's release and instead set it in the default sudoers file that 
comes with sudo.

You might wanto try "Defaults !fqdn". This SHOULD turn off the fqdn flag 
even in our builds that have --with-fqdn enabled at compile time. Maybe 
this helps. I am not in a position to try at this time. Let me know 
whether it helps.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



More information about the Reproducible-builds mailing list