Skip to content

Conversation

@norio-nomura
Copy link
Contributor

It executed /proc/sys/fs/binfmt_misc/rosetta unexpectedly.

[    3.223507] cloud-init[763]: + /proc/sys/fs/binfmt_misc/rosetta
[    3.223579] cloud-init[763]: /mnt/lima-cidata/boot/05-rosetta-volume.sh: line 30: /proc/sys/fs/binfmt_misc/rosetta: Permission denied

jandubois
jandubois previously approved these changes Aug 26, 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

@jandubois jandubois added this to the v2.0.0 milestone Aug 26, 2025
@jandubois
Copy link
Member

Please fix shfmt errors:

-	[ ! -f "$binfmt_entry" ] || echo -1 > "$binfmt_entry"
+	[ ! -f "$binfmt_entry" ] || echo -1 >"$binfmt_entry"

It executed /proc/sys/fs/binfmt_misc/rosetta unexpectedly.
```log
[    3.223507] cloud-init[763]: + /proc/sys/fs/binfmt_misc/rosetta
[    3.223579] cloud-init[763]: /mnt/lima-cidata/boot/05-rosetta-volume.sh: line 30: /proc/sys/fs/binfmt_misc/rosetta: Permission denied
```

Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
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 6a52a2f into lima-vm:master Aug 26, 2025
36 checks passed
@norio-nomura
Copy link
Contributor Author

Thanks! 🙏🏻

@norio-nomura norio-nomura deleted the fix-unregister-rosetta branch August 26, 2025 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants