Skip to content

templates: default: use Ubuntu 25.04, Fedora 42 #3643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 27, 2025

Conversation

AkihiroSuda
Copy link
Member

Ubuntu 24.10 will reach EOL soon (2025-07-10).
https://endoflife.date/ubuntu

It should be still noted that Intel Mac with macOS prior to 15.5 requires setting vmType to qemu:

@AkihiroSuda AkihiroSuda added this to the v1.1.2 milestone Jun 20, 2025
jandubois
jandubois previously approved these changes Jun 20, 2025
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

I didn't verify that podman works with the Fedora 42 images.

@AkihiroSuda

This comment was marked as resolved.

@AkihiroSuda
Copy link
Member Author

vz also failing
https://github.com/lima-vm/lima/actions/runs/15784819652/job/44500626648?pr=3643

[email protected]                                                   loaded failed failed    Serial Getty on ttyS0

@AkihiroSuda AkihiroSuda force-pushed the ubuntu-25.04 branch 2 times, most recently from 07726af to d11844c Compare June 21, 2025 00:14
@AkihiroSuda AkihiroSuda marked this pull request as draft June 21, 2025 00:31
@AkihiroSuda
Copy link
Member Author

https://github.com/lima-vm/lima/actions/runs/15790132281/job/44514398240?pr=3643

× [email protected] - Serial Getty on ttyS0
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled-runtime; preset: enabled)
     Active: failed (Result: start-limit-hit) since Sat 2025-06-21 00:38:10 UTC; 425ms ago
   Duration: 72ms
 Invocation: df7ce3b9e14341b895022db7b8f045fd
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             https://0pointer.de/blog/projects/serial-console.html
    Process: 2676 ExecStart=/sbin/agetty -o -- \u --noreset --noclear --keep-baud 115200,57600,38400,9600 - ${TERM} (code=killed, signal=SEGV)
   Main PID: 2676 (code=killed, signal=SEGV)

Jun 21 00:38:10 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 23.
Jun 21 00:38:10 lima-default systemd[1]: [email protected]: Start request repeated too quickly.
Jun 21 00:38:10 lima-default systemd[1]: [email protected]: Failed with result 'start-limit-hit'.
Jun 21 00:38:10 lima-default systemd[1]: Failed to start [email protected] - Serial Getty on ttyS0.
+ limactl shell default sudo journalctl --no-pager -u [email protected]
Jun 21 00:36:27 lima-default systemd[1]: Started [email protected] - Serial Getty on ttyS0.
Jun 21 00:36:32 lima-default systemd[1]: [email protected]: Deactivated successfully.
Jun 21 00:36:32 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 1.
Jun 21 00:36:32 lima-default systemd[1]: Started [email protected] - Serial Getty on ttyS0.
Jun 21 00:36:37 lima-default agetty[1019]: could not get terminal name: -22
Jun 21 00:36:43 lima-default systemd[1]: [email protected]: Deactivated successfully.
Jun 21 00:36:43 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 2.
Jun 21 00:36:43 lima-default systemd[1]: Started [email protected] - Serial Getty on ttyS0.
Jun 21 00:36:48 lima-default agetty[1247]: could not get terminal name: -22
Jun 21 00:36:48 lima-default systemd[1]: [email protected]: Deactivated successfully.
Jun 21 00:36:48 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 3.
Jun 21 00:36:48 lima-default systemd[1]: Started [email protected] - Serial Getty on ttyS0.
Jun 21 00:36:54 lima-default systemd[1]: [email protected]: Deactivated successfully.
Jun 21 00:36:54 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 4.
Jun 21 00:36:54 lima-default systemd[1]: Started [email protected] - Serial Getty on ttyS0.
Jun 21 00:36:59 lima-default agetty[1591]: could not get terminal name: -22
Jun 21 00:36:59 lima-default systemd[1]: [email protected]: Deactivated successfully.
Jun 21 00:36:59 lima-default systemd[1]: [email protected]: Scheduled restart job, restart counter is at 5.

Can't reproduce this locally

@arixmkii
Copy link
Contributor

9p can't be used with vanilla QEMU builds on Windows.

I ran the latest changes (with 9p disabled) in GH actions and it was all green. Thank you for fixing IT failures related to 9p! LGTM

@AkihiroSuda
Copy link
Member Author

The segfault seems specific to x86_64

(gdb) bt
#0  __strncmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:316
#1  0x000061700a0d3ee3 in parse_args (argc=9, argv=0x7ffc93bd6298, op=0x7ffc93bd4080) at term-utils/agetty.c:939
#2  main (argc=9, argv=0x7ffc93bd6298) at term-utils/agetty.c:403

Apparently fixed in:

QEMU for Windows does not support 9p

Signed-off-by: Akihiro Suda <[email protected]>
Ubuntu 24.10 will reach EOL soon (2025-07-10).

It should be still noted that Intel Mac with macOS prior to 15.5
requires setting `vmType` to `qemu` (issue 3334)

Signed-off-by: Akihiro Suda <[email protected]>
It should be still noted that Intel Mac with macOS prior to 15.5
requires setting `vmType` to `qemu` (issue 3334)

Signed-off-by: Akihiro Suda <[email protected]>
agetty segfaults on Ubuntu 25.04 (x86_64):

  (gdb) bt
  #0  __strncmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:316
  #1  0x000061700a0d3ee3 in parse_args (argc=9, argv=0x7ffc93bd6298, op=0x7ffc93bd4080) at term-utils/agetty.c:939
  #2  main (argc=9, argv=0x7ffc93bd6298) at term-utils/agetty.c:403

Should be fixed in Ubuntu 25.10 with util-linux >= 2.41

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda marked this pull request as ready for review June 26, 2025 05:25
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit 0098f15 into lima-vm:master Jun 27, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants