Package: autopkgtest
Version: 5.34
Severity: normal

I tried to run with the new --lxcpath option but it fails:
"""
admin@ci-worker01:~$ /usr/bin/autopkgtest debputy -- lxc --sudo autopkgtest-testing-i386 --lxcpath=/tmp -ddd
autopkgtest [10:00:08]: starting date and time: 2024-04-04 10:00:08+0000
autopkgtest [10:00:08]: version 5.34
autopkgtest [10:00:08]: host ci-worker01; command line: /usr/bin/autopkgtest debputy -- lxc --sudo autopkgtest-testing-i386 --lxcpath=/tmp -ddd lxc-start: autopkgtest-lxc-agxkst: ../src/lxc/tools/lxc_start.c: main: 266 No container config specified autopkgtest-virt-lxc: WARNING: retrying lxc-start because it failed with exit status 1 lxc-start: autopkgtest-lxc-agxkst: ../src/lxc/tools/lxc_start.c: main: 266 No container config specified
<VirtSubproc>: failure: lxc-start failed with exit status 1
autopkgtest [10:00:17]: ERROR: testbed failure: unexpected eof from the testbed
"""

On the same host I can manually use --lxcpath in lxc calls:
"""
admin@ci-worker01:~$ sudo lxc-copy --name autopkgtest-unstable-i386 --newname elbrus --newpath /tmp
admin@ci-worker01:~$ sudo lxc-start --name elbrus --lxcpath=/tmp
admin@ci-worker01:~$ sudo lxc-attach --name elbrus --lxcpath=/tmp
root@elbrus:/#
exit
admin@ci-worker01:~$ sudo lxc-stop --name elbrus --lxcpath=/tmp
admin@ci-worker01:~$ sudo lxc-destroy --name elbrus --lxcpath=/tmp
admin@ci-worker01:~$
"""

Paul

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to