Skip to content

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
@NN---
Copy link

NN--- commented Jul 11, 2025

Does Rosetta2 support it ?

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 27, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [lima-vm/lima](https://github.com/lima-vm/lima) | minor | `v1.1.1` -> `v1.2.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>lima-vm/lima (lima-vm/lima)</summary>

### [`v1.2.1`](https://github.com/lima-vm/lima/releases/tag/v1.2.1)

[Compare Source](lima-vm/lima@v1.2.0...v1.2.1)

#### Changes

- Cherry-picks from `master` to `release/1.2` ([#&#8203;3750](lima-vm/lima#3750))
  - portfwd: create separate gRPC streams for each UDP client ([#&#8203;3724](lima-vm/lima#3724), thanks to [@&#8203;stek29](https://github.com/stek29))
  - qemuimgutil: fix "Failed to get "write" lock" error ([#&#8203;3742](lima-vm/lima#3742), thanks to [@&#8203;pavelanni](https://github.com/pavelanni))
  - Embed templates edited from the user interface ([#&#8203;3745](lima-vm/lima#3745), thanks to [@&#8203;afbjorklund](https://github.com/afbjorklund))

#### Usage

```console
$ limactl create
$ limactl start
...
INFO[0029] READY. Run `lima` to open the shell.

$ lima uname
Linux
```

***

The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/16405168554

The sha256sum of the SHA256SUMS file itself is `fda636e062d8f75a689071b308a94dc902111620f7122746fc0d172959d7d26a` .

***

Release manager: [@&#8203;AkihiroSuda](https://github.com/AkihiroSuda)

### [`v1.2.0`](https://github.com/lima-vm/lima/releases/tag/v1.2.0)

[Compare Source](lima-vm/lima@v1.1.1...v1.2.0)

#### Changes

- `limactl` CLI:
  - Add `limactl network (list|create|delete)` commands ([#&#8203;3677](lima-vm/lima#3677))
  - Add `limactl clone OLDINST NEWINST` command. Not to be confused with `limactl copy`, which copies files. ([#&#8203;3673](lima-vm/lima#3673))
  - Add `limactl edit --mount-none` flag ([#&#8203;3647](lima-vm/lima#3647))
- Port forwarding:
  - Improve stability ([#&#8203;3684](lima-vm/lima#3684). [#&#8203;3708](lima-vm/lima#3708), thanks to [@&#8203;balajiv113](https://github.com/balajiv113))
  - De-deprecate `LIMA_SSH_PORT_FORWARDER` that was once deprecated in v1.1 ([#&#8203;3709](lima-vm/lima#3709))
- nerdctl:
  - Update from v2.1.2 to [v2.1.3](https://github.com/containerd/nerdctl/releases/tag/v2.1.3) ([#&#8203;3701](lima-vm/lima#3701))
- Templates:
  - `default`: update from Ubuntu 24.10 to 25.04 ([#&#8203;3643](lima-vm/lima#3643))
  - `fedora`: update from Fedora 41 to 42 ([#&#8203;3643](lima-vm/lima#3643))
  - `almalinux-10`: new template ([#&#8203;3602](lima-vm/lima#3602), thanks to [@&#8203;refi64](https://github.com/refi64))
  - `rocky-10`: new template ([#&#8203;3642](lima-vm/lima#3642))
  - `experimental/debian-testing`: new template ([#&#8203;3645](lima-vm/lima#3645))
  - `experimental/ubuntu-next`: new template ([#&#8203;3645](lima-vm/lima#3645))
- Makefile:
  - Kconfig: deprecate ([#&#8203;3706](lima-vm/lima#3706))

> \[!NOTE]
> On Intel Mac, macOS 15.5 or later is needed to boot the default Ubuntu 25.04 template.
>
> Workarounds for macOS <= 15.4 :
>
> - Option 1: Use QEMU
>
> ```
> limactl create --vm-type=qemu
> ```
>
> - Option2: Use Ubuntu 24.04 template
>
> ```
> limactl create --name=default template://ubuntu-24.04
> ```

Full changes: https://github.com/lima-vm/lima/milestone/61?closed=1

Thanks to
[@&#8203;AkinoKaede](https://github.com/AkinoKaede) [@&#8203;Horiodino](https://github.com/Horiodino) [@&#8203;afbjorklund](https://github.com/afbjorklund) [@&#8203;alexandear](https://github.com/alexandear) [@&#8203;arixmkii](https://github.com/arixmkii) [@&#8203;balajiv113](https://github.com/balajiv113) [@&#8203;fruzitent](https://github.com/fruzitent) [@&#8203;jandubois](https://github.com/jandubois) [@&#8203;kachick](https://github.com/kachick) [@&#8203;mazzz1y](https://github.com/mazzz1y) [@&#8203;nirs](https://github.com/nirs) [@&#8203;refi64](https://github.com/refi64) [@&#8203;songponssw](https://github.com/songponssw) [@&#8203;thomasjm](https://github.com/thomasjm) [@&#8203;unsuman](https://github.com/unsuman)

#### Usage

```console
$ limactl create
$ limactl start
...
INFO[0029] READY. Run `lima` to open the shell.

$ lima uname
Linux
```

***

The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/16187325385

The sha256sum of the SHA256SUMS file itself is `f4d57cdd637022ead291af680c0c88a8d07fd35fd6a779b7c6348e2c9a2ec2cc` .

***

Release manager: [@&#8203;AkihiroSuda](https://github.com/AkihiroSuda)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
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.

5 participants