[pkg-lxc-devel] Bug#1104545: lxc-templates: building Debian lxc containers fails on loong64
Paul Gevers
elbrus at debian.org
Thu May 1 20:46:52 BST 2025
Package: lxc-templates
Version: 3.0.4.89.gc128b96-1
Severity: normal
Hi,
When setting up the loong64 workers for ci.debian.net last year, I had
to hack a bit to get things working. I forgot that the lxc-debian
template didn't work and report this bug. Last month, the containers
stopped being updated with the following error:
lxc-create: autopkgtest-unstable-loong64.new: ../src/lxc/confile.c:
set_config_personality: 1432 Invalid argument - Unsupport\
ed personality "loong64"
lxc-create: autopkgtest-unstable-loong64.new: ../src/lxc/parse.c:
lxc_file_for_each_line_mmap: 129 Failed to parse config fil\
e "/var/lib/lxc/autopkgtest-unstable-loong64.new/config" at line
"lxc.arch = loong64"
lxc-create: autopkgtest-unstable-loong64.new:
../src/lxc/tools/lxc_create.c: lxc_create_main: 318 Failed to create
container \
autopkgtest-unstable-loong64.new
ERROR:autopkgtest-build-lxc:Command
'['/usr/share/autopkgtest/lib/build-lxc.sh',
'--keyring=/usr/share/keyrings//debian-ports\
-archive-keyring.gpg', 'debian', 'unstable', 'loong64',
'/tmp/debci-lxc-customize-unstable-9izhNGk4AJZ.sh']' returned non-zer\
o exit status 1.
I worked around the issue with this local change (which is no patch):
loongson at ci-worker-loong64-01:/usr/share/lxc/templates$ diff
lxc-debian.org lxc-debian
619c619
< lxc.arch = $arch
---
> lxc.arch = loongarch64
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20250501/a135285a/attachment.sig>
More information about the Pkg-lxc-devel
mailing list