#1120943 debvm: monkey patching serial-getty@.service fails due to context changes in systemd v259

Package:
src:debvm
Source:
src:debvm
Submitter:
Luca Boccassi
Date:
2025-11-20 17:21:02 UTC
Severity:
normal
Tags:
#1120943#5
Date:
2025-11-18 15:45:18 UTC
From:
To:
Dear Maintainer(s),

debvm monkey patches serial-getty@.service to inject '-a root' for
autologin. But this is fragile and breaks when the context changes, as
it has happened in systemd v259 where the ExecStart line changed a
bit. This causes debvm to break the unit by injecting an empty
ExecStart= without the override, so console login is broken.

Fortunately with util-linux 2.40 and systemd v247 we have much better
mechanism to configure getty, via credentials, so I've opened a MR to
do just that:

https://salsa.debian.org/helmutg/debvm/-/merge_requests/58

I would greatly appreciate an upload at your earliest convenience as
autopkgtest failure means src:systemd cannot migrate.

Thanks

#1120943#10
Date:
2025-11-18 22:32:24 UTC
From:
To:
Hi Luca,

I'm sorry about that. I was not happy about this, but it was one of the
few ways that worked across a lot of Debian releases.

Thank you. The credential approach is quite an improvement even though
we get to keep the fallback.

I fear my earliest convenience is taking too long for your matters as
I'd defer it to next week. However, I do agree that this is an RC bug in
debvm and asked the release team to override the autopkgtest failure.
Paul Gevers kindly enacted it and I hope that systemd will be able to
migrate soon.

Thanks for your understanding

Helmut

#1120943#17
Date:
2025-11-20 17:19:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
debvm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1120943@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <helmut@subdivi.de> (supplier of updated debvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 20 Nov 2025 18:02:54 +0100
Source: debvm
Architecture: source
Version: 0.5.0
Distribution: unstable
Urgency: medium
Maintainer: Helmut Grohne <helmut@subdivi.de>
Changed-By: Helmut Grohne <helmut@subdivi.de>
Closes: 1120943
Changes:
 debvm (0.5.0) unstable; urgency=medium
 .
   This release drops support for running on bookworm as it now uses
   mkfs.ext4's libarchive support for creating a filesystem from a tar.
 .
   [ Jochen Sprickerhof ]
   * *-create: Refuse overwriting images
   * debefivm-run: only use the console in nographics mode
   * Restructure source repository to look more like an installation
   * useraddhook: use passwd from host and --prefix (Closes: salsa#24)
 .
   [ Helmut Grohne ]
   * debefivm-create: avoid chrooting in chrootless mode
   * The transitional qemu-user-static has been dropped
   * record package requirements for piping a tar to mke2fs
   * consistently use SPDX-FileCopyrightText
   * *-create: only use the maybe-merged-usr hook when needed
   * *-run: lower gic-version for arm32 to 2
   * autopkgtests: explicitly depend on mount
   * debvm-create: use numfmt for parsing the --size argument
 .
   [ Jochen Sprickerhof and Helmut Grohne ]
   * Fail sensibly when required commands are missing
   * Prefer using the VM's systemctl over the host's
   * Use mkfs.ext4 with tarball
   * Add /sbin to $PATH
 .
   [ Luca Boccassi ]
   * autologin: prefer credentials to monkey patching unit (Closes: #1120943)
Checksums-Sha1:
 4af7c5a94fe133e5d05847db255ec17c326d2d8f 2086 debvm_0.5.0.dsc
 9cd183355a86463d436469b0209c59f8eaa62580 29640 debvm_0.5.0.tar.xz
Checksums-Sha256:
 5d7cc47da7877bfd34bdbfd62cab400bfb8ed55d7a8a6924ee737fab633c57ef 2086 debvm_0.5.0.dsc
 e3988eec8a0fc7ed746e5e90497af13a0efee0aae9cd6d205901a77b38a47c63 29640 debvm_0.5.0.tar.xz
Files:
 33732670f2be156904dbb98761227684 2086 admin optional debvm_0.5.0.dsc
 b18154bbacaa445a992cc2b6a4a937b3 29640 admin optional debvm_0.5.0.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAmkfShgACgkQLRqqzyRE
REIOhxAAoxlwIQ0bavaMoa3NYHlqL4KonY3mSat7Z13cJfKJbnD/9m8AdAH3pvHc
1NM7cdJVwNVbY4WZrSOEktzI0Mfh12/N5KkHcfNHS2eWVtHTJhqeeJO/lqBo21nS
8HATq9cu2HWDa3iLAiZpflnD27UlWu3eVW0Ur44zvTHWsSRCOy1bMGPy0hiTaPc9
v/zr92PJ0xUmv3aMorV0n5RNMX8Whb18eQOhVrTPN3QTkDuJCjuBiZQT5Ps/dyab
HnnSSY69M5CPfItPV1xcar0/8w3HVrT6JwiOVt3K1EmyAhnOBg+47CRIuluIX6NP
wZ6L+5VKPeuxFozXcDd3yGnT+CYaVPl9zT5+xa563tT5TpT86gg69XWByTc+c5+1
izFOJ8QnUc1wiuISV/cXPD5AJ4qz/oh15SFTGw7UxvboKX0b6u3zc2gN9dwlMs9j
QMZfyr4HySK9WquIN2rr7TXXVTreMueW/Yrt+3FjKIWFNV9WBv0DU7B5g3OQVpHI
471tp5l+u59XnOzR9N9Ah9mGSsggPZ/I5pqL95h5xF1rz4hHGh7Y2RiJzTz460wL
2sniFNtuuJb7Hv/H8xOq5dmwbyFTkx+8+bKjrhUuPcMYLiVJIRjH0tMRjFJVuo4p
10Gf56md9WmIcH39AR30v2u5e1GTs3te8l6pp+Wnu52nUDApfww=
=af9N
-----END PGP SIGNATURE-----