On Sun, 24 Nov 2024 at 15:45:58 +0100, Marco d'Itri wrote:
> On Nov 24, Bastien Roucariès <ro...@debian.org> wrote:
> > > > Do you think it is a good idea to set the testbed hostname to a FQDN ?
> > > Please do. This has been a pain for the INN CI as well.

A test with needs-root or needs-sudo should be able to set this up for
itself, if that's a requirement (you might also want to set breaks-testbed
to guarantee that any changes will be reverted before subsequent testing).

If you have a test dependency on libnss-myhostname, you should be able to
set the hostname to any FQDN of your choice (perhaps
"$(hostname --short).autopkg.test"?) and it will still resolve successfully.

I personally think the testbeds should probably *not* have a FQDN by
default, because many end-user systems will not, and having to set one
up acts as documentation that INN is (presumably?) one of the minority
of packages that do genuinely need this.

    smcv

Reply via email to