debvm (0.3.1)
[PTS] [DDPO]
COMMITS: VCS has seen 22 commits since the debian/0.3.1 tag
- Git: https://salsa.debian.org/helmutg/debvm.git -b debian
-
- Branch: main
- Path: debian/changelog
- Repo size: 561152
- Browser: https://salsa.debian.org/helmutg/debvm/
- Last scan: 2025-03-30 15:13:21+00
- Next scan: 2025-04-06 20:16:00+00
- Open issues: 4
- Merge requests: 5
- CI pipeline status: failed
- Debian changelog in Git:
debvm (0.3.1) unstable; urgency=medium
[ Helmut Grohne ]
* fix spelling error in changelog
* useraddhook: make username customizable
* autologinhook: automatically log in with lightdm
* useraddhook: tell which customizations are performed
* debvm-create: clarify that passing an empty string to -r may be ok
* debvm-create: turn of incompatible ext features for jessie
[ Benjamin Drung ]
* tests/create-and-run.sh: Increase timeout by 300 seconds (for ppc64el)
(LP: #2046544)
* debvm-create: Increase default VM size to 2G (LP: #2064921)
[ Helmut Grohne ]
* useraddhook: rename USERNAME environment variable to be less generic
* debvm-create: do install login
-- Helmut Grohne <helmut@subdivi.de> Sun, 23 Jun 2024 06:47:08 +0200
- This branch is 22 commits ahead of tag debian/0.3.1
- Git log:
commit 5c0e89a0a97a3d802bc990173fde5c309bfac002
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sun Mar 30 15:56:12 2025 +0200
debvm-create: work around arm32 boot failure
The long story of this commit can be found in #1079443. Special thanks
to all of the following for investing significant amounts of time into
debugging the root cause:
* Tj <tj.iam.tj@proton.me>
* Jochen Sprickerhof <jspricke@debian.org>
* Chris Hofstaedtler <zeha@debian.org>
In the end, dracut-install fails to install kernel modules (including
virtio_blk) that are being passed as =directory if said directory has an
inode number exceeding 32bit on an arm32 userland. Lots of thought has
been expended into fixing fts on the glibc side with little conclusions.
Since armhf is still somewhat important, we settle on a workaround here.
The problem is acknowledged and we explicitly install the virtio_blk
kernel module that dracut-install should have installed. Doing so at
least makes the debvm boot.
For reproducing the problem, TMPDIR needs to point to a directory where
created directories receive inodes exceeding 32bit. On a tmpfs, this
situation can be achieved by creating and deleting lots of directories.
The following code can be run in parallel to increase the inode counter
in a couple of hours:
#include <sys/stat.h>
#include <unistd.h>
int main(int argc, char **argv) {
for(;;) {
mkdir(argv[1], 0755);
rmdir(argv[1]);
}
}
commit 695c2e7b2a5e82b7e50b8472a6649584fa9406f1
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sat Mar 29 13:18:13 2025 +0100
gitlab-ci: allow choosing the suite for performing architecture tests
commit b3d184543b47b73e6e6c829e84c7751d858dd2f1
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sat Mar 29 12:55:47 2025 +0100
debvm-run: fix recognizing amd64 kernels with updated file tool
commit 890306f23766f18036fa093ecc449e2a0ec2bfb6
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sat Mar 29 12:50:20 2025 +0100
autopkgtests: trigger by systemd uploads
commit d60586f47e277ef1f241963099bf96ab4811f67e
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sat Mar 29 12:49:10 2025 +0100
debvm-create: create a more sensible /etc/hosts
This is close to what the debian installer sets up.
commit 1f768f1dae33667b5486678f6282a2fe3a530b66
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sat Mar 29 12:48:17 2025 +0100
debvm-run: re-enable qemu detection for pre-trixie
Fixes: 1c98a5b3b36f ("qemu-system-${debarch} as well as qemu-system-any")
commit 4c6ca3d4eb032b071d5599402858a6eb787bf78b
Author: Helmut Grohne <helmut@subdivi.de>
Date: Thu Mar 27 12:04:53 2025 +0100
fix deletion of root password again
Unless passwd is installed, shadow is not enabled. That is, shadow being
enabled is not a boolean. It can be enabled per user and systemd enables
it for its own users, so shadow exists, but may not contain the root
user. Thus the password deletion logic need a bit more fancyness for
covering systems that lack the passwd package.
commit 2d9b5cd4400975ff72dd7c1922df2cfb49ca1127
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sun Mar 9 19:27:59 2025 +0100
.gitlab-ci.yml: explicitly install gpgv for jessie
The jessie test was broken by apt defaulting to sqv in the sense that
mmdebstrap's gpgvnoexpkeysig requires gpgv, but it no longer is being
installed. The earlier error message was not diagnosing this, but
Johannes Schauer Marin Rodrigues kindly debugged and fixed that on the
mmdebstrap side. Thanks! Now with a proper error message, a missing gpgv
can be easily addressed. apt will still prefer sqv for everything but
jessie.
commit 73736f66fef4a82e7e6c5ac5257e9670e4fcb6fb
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Mar 5 13:37:10 2025 +0100
debian/control: add qemu-system-native alternative
That package is fairly recent and does not exist in bookworm. On the
flip side, it more accurately expresses what we want as debvm-run
actually prefers the qemu-ARCH executable name over the kvm name.
commit eafd296380abe6db7d820436e2e978008088adc3
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Mar 5 12:40:55 2025 +0100
debian/control: follow the qemu-user-static -> qemu-user-binfmt transition
commit ca64732d46ffa91834db9e635cbc04dda606158d
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Mar 5 11:47:54 2025 +0100
debian/tests: explicitly install qemu-system-misc for loong64
loong64 does not yet have a qemu package that provides qemu-kvm, but we
really don't need kvm. All we need is the right qemu binary.
commit 85de70ea61b4a544b2c1b42e0466e5d6494e7b80
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Mar 5 11:34:32 2025 +0100
debian/tests: tighten dependency on qemu-kvm
The native test really wants to run kvm (whether it uses kvm or tcg is
another question), but debvm only depends on qemu-kvm | qemu-system-any.
The latter alternative is of little use for the test and makes it fail.
commit d760fac413ddb077cc96d528c3ccb73a3ff22457
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Mar 5 11:25:33 2025 +0100
tests: i386 no longer has a linux kernel
Enable amd64 for i386 in current releases.
commit e93660b51c4e68c2134b11791bfb76900bf4a01d
Author: Helmut Grohne <helmut@subdivi.de>
Date: Tue Nov 12 15:22:56 2024 +0100
debvm-run: also try resolv.conf for dnssearch
commit 83876f58901900ab59dc2aec3027d2d36723a446
Author: Helmut Grohne <helmut@subdivi.de>
Date: Tue Aug 13 15:02:57 2024 +0200
document that dpkg-dev is required
It's already a dependency in debian/control, but was missing from the
README.
Reported-by: Vasyl Vavrychuk
Closes: #18
commit a2c00ecbe9e5313a6dd9417e6e31bf6a703cc245
Author: Helmut Grohne <helmut@subdivi.de>
Date: Tue Aug 13 11:13:27 2024 +0200
test for autologin to work using expect
commit f35ef9a20fabfd6e57db83136dc4486fe7757bdc
Author: Helmut Grohne <helmut@subdivi.de>
Date: Tue Aug 13 10:18:24 2024 +0200
debvm-create: implement password deletion with correctly quoted sed
While using the --prefix option is great, it's only available in trixie.
Hence, revert back to sed, this time getting the quoting right (by
avoiding backslashes using character sequences) and also apply to all
lines of the file as systemd seems to be adding users to the front.
Reported-by: Vasyl Vavrychuk
Fixes: 984a1155456d ("debvm-create: revert back to passwd for deleting the root password")
Closes: #17
commit 984a1155456df7bbda7e2f7c1d6bcedff68f609e
Author: Helmut Grohne <helmut@subdivi.de>
Date: Mon Aug 12 22:13:46 2024 +0200
debvm-create: revert back to passwd for deleting the root password
We should avoid --root as that will chroot and load libraries. The sed
solution somehow didn't work due to a quoting issue. What we can use is
passed --prefix as that avoids loading libraries and explicitly does not
support NIS and LDAP, which we don't need here.
Reported-by: Vasyl Vavrychuk
Thanks: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Fixes: e4ecc7f745c5 ("debvm-create: avoid using passwd --delete")
Closes: #17
commit e4ecc7f745c54a765eff8eff59fc2e9a03371f2e
Author: Helmut Grohne <helmut@subdivi.de>
Date: Fri Aug 9 14:48:43 2024 +0200
debvm-create: avoid using passwd --delete
passwd will chroot() into the target tree and then load shared
libraries. This tends to work badly for old releases and for foreign
architectures or combinations thereof. As a result, it sometimes fails
with
Cannot determine your user name.
In practice, it removes a single asterisk from the first line of
/etc/shadow (at least for jessie to trixie). This is something, we can
also do via sed.
Reported-by: Sylvain Beucler <beuc@debian.org>
Fixes: d2d8b9965d39 ("debvm-create: avoid failing when we install no passwd")
commit 90fc08dcfc714b19c28721109fb26f682ee7a834
Author: Helmut Grohne <helmut@subdivi.de>
Date: Tue Aug 6 11:33:02 2024 +0200
debvm-run: fix manual page
The --transport option was added in the middle of the --skip
documentation.
Fixes: d927a5e0cee2 ("debvm-run: add --transport option")
commit 20f12dc5b70c4fc7dc0ac48b5d89fd1e60163fd9
Merge: a6b0c56 f4ee11d
Author: Helmut Grohne <helmutg@debian.org>
Date: Wed Jun 26 14:15:02 2024 +0000
Merge branch 'greetd_sway' into 'main'
useraddhook: support autologin for greetd/sway
See merge request helmutg/debvm!46
commit f4ee11d11418ae0ec8a8089928facbeb0d9ec054
Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Wed Jun 26 14:56:38 2024 +0200
useraddhook: support autologin for greetd/sway