#1144837 sitesummary: autopkgtest fails under incus-lxc: cp: cannot stat '/etc/ssh/ssh_host*.pub': No such file or directory

#1144837#5
Date:
2026-08-19 10:16:35 UTC
From:
To:
Hi,

Debian CI is switching away from lxc containers in favor of incus Containers.
This is motivated by security concerns from us; incus is based on lxc, but
orchestrates containers substantially different: containers are not privileged
(so root in the container is not uid 0 outside of it), and incus imposes a
stricter isolation from the host system).

sitesummary passes its tests under lxc, but fails under incus.
The relevant part of the failure is (hopefully):
The full autokpgtest logs are available at:
https://ci.debian.net/experiments/8/regressions/
(please beware of pagination)

Common types of failure and suggested fixes are being documented at:
https://wiki.debian.org/ContinuousIntegration/LxcToIncus

Note that for the time being, sitesummary is still being tested under lxc to
avoid disturbing its testing migration test results.

If you decide to add the `isolation-machine` restriction to get this package
tested under qemu, please mention that explicitly when closing this bug (it's
fine to do that only in the package changelog entry that closes the bug) so
that we can configure your package for qemu on ci.debian.net.

#1144837#10
Date:
2026-08-26 17:49:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sitesummary, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144837@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated sitesummary package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 26 Aug 2026 14:03:02 +0200
Source: sitesummary
Architecture: source
Version: 0.1.62
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1106768 1144837
Changes:
 sitesummary (0.1.62) unstable; urgency=medium
 .
   * Team upload
   * add new test dependency for running tests under incus
     (-> openssh-server)
     (Closes: #1144837)
 .
   [ Petter Reinholdtsen ]
   * Added updated Catalan debconf translation (ca.po). (Closes: #1106768)
     (Thanks to Carles Pina i Estany for the upodate)
Checksums-Sha1:
 04f0951bb6b72156218f46b1c62710a18d6db3e9 2089 sitesummary_0.1.62.dsc
 b9597bcf4f628e951ef121d599188618ed80468b 69068 sitesummary_0.1.62.tar.xz
 8ead7842d508ccbf63ccee85a4f9828f2f8c5a74 6344 sitesummary_0.1.62_amd64.buildinfo
Checksums-Sha256:
 e959a910d36af224c0e5fc262713717e7917415986a01eb32e50c8aa4e33698d 2089 sitesummary_0.1.62.dsc
 f675c7f33f06e8fc629ce29a2126767302be02cd085be3997210a53cb0745a25 69068 sitesummary_0.1.62.tar.xz
 1bffd23b916a4f7acd857e2165653ae1fb6abd0e493f7bbbb5689c71b0646c28 6344 sitesummary_0.1.62_amd64.buildinfo
Files:
 6174439f7d1f9ee8020a05f089660aaf 2089 misc optional sitesummary_0.1.62.dsc
 213bee2d3206ce20483e95d30d9cd05a 69068 misc optional sitesummary_0.1.62.tar.xz
 d83f869d423d80c645d1b958d3399f80 6344 misc optional sitesummary_0.1.62_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmqPICtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR2oUEACFpCl3zp8CR7rW/foXYB2sK7bqMxGd
oyGDz0ueKVrmvGvdNsv1p3Sj7hQwEn/HrSYhn7sfP4pSIgf/oX+ARb3ikHFxGjuF
G4Vfdvkl+dQx400sxs1ffMSEjRMVDLW+P5gsR5MOrU6xo1Glg9xEYpQj9rdTNCC6
L8M+M8bCWDq+3uQckyESsAIOSAoPIKNTQzrxbaPB+9aGofCGeQosUYzRRzwaT2kP
7VL2v4XO0mYhOurbzMMl1ztkQWNXd9PZ2sjGXBRFP765/mKhwM5X9h9K9aEDr4YM
nInYfH3tyI3TH5UF60OFJrbAQnxkqq6RxxreQNVFHhTB1y2JiLvr3Ef43Vmi8CZB
LbV8RXDsLKRclZDEL5/syBqbNmuMuCwxwOOZj/65aWxHnebLgK3NbeN4S59b2XI+
PlIXpyrXlS1FQcKvOce9aV/siQ/aDPtS13CpgwfHmiNCbDO68x94KfZERbCFrwdk
j5wU2rN+bfTTsEjO2n4+LehkNfKRpSzdU4QGcOnQJDRwt5DMPGTZi7PebYy+0Cwx
alMYfz9zYeYUt09gAkINqj/Pi0rhLX2d30PW2gc+FYMdqKbCInOMA1LA2NsYE8Jv
mdT/siukwV0KLjodQhGef/LP22r9JQR//Ma42d0O755rIXt9xW9TQRLHflcdAMGS
YbmXtHbvM1EKQw==
=cOax
-----END PGP SIGNATURE-----

#1144837#15
Date:
2026-08-26 17:58:37 UTC
From:
To:
[Antonio Terceiro]

I suspect the best fix is to adjust the code to only copy those files if
they exist.  I notice a workaround was to ensure openssh-server is
installed, and that work too, but seem less robust than making the shell
script a bit smarter.