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

Petter Reinholdtsen <[email protected]>
Newsgroups gmane.linux.skolelinux.devel
Message-ID <sa6tsogpxv6.fsf__49705.230251287$1787767408$gmane$org@hjemme.reinholdtsen.name>
[Antonio Terceiro]
>> autopkgtest [20:50:56]: test test-server-client: [-----------------------
>> cp: cannot stat '/etc/ssh/ssh_host*.pub': No such file or directory

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.

-- 
Happy hacking
Petter Reinholdtsen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.