Debian Patches

Status for lava/2026.04-2~bpo13+1

Patch Description Author Forwarded Bugs Origin Last update
0001-lava_dispatcher-overlay-skip-copying-SSH-key-when-au.patch lava_dispatcher: overlay: skip copying SSH key when authorisation is inactive

Return early from SshAuthorize.run() when SSH authorisation is not
active before attempting to copy the identity key into the overlay.

The method already treated inactive authorisation as a no-op for
secondary connections but only after copying the private and public
key files. This made the inactive path perform unnecessary work copying
the SSH keys into the overlay when they are not needed.

Treat the inactive case the same as the missing-identity case and
return immediately, avoiding copying keys unnecessarily when no SSH
authorisation is requested.

This also caused the test_docker_test to fail in
tests/lava_dispatcher/actions/test/test_docker_test.py::test_run with

PermissionError: [Errno 13] Permission denied:
/usr/lib/python3/dist-packages/lava_dispatcher/dynamic_vm_keys/lava

due to the permissions of the default SSH key files not be readable by
the user running the test. The test's device dictionary (based on
base-fastboot.jinja2) set SSH as a deployment method but never set the
`authorize` parameter so inherited the default keys.
Christopher Obbard <christopher.obbard@linaro.org> yes 2026-04-13

All known versions for source package 'lava'

Links