<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"courier new",monospace">Thanks for looking into this,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2024 at 6:00 AM Faidon Liambotis <<a href="mailto:paravoid@debian.org">paravoid@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Control: tags -1 confirmed<br>
<br>
On Wed, May 08, 2024 at 03:10:40AM +0300, Eugen Stan wrote:<br>
> I followed the guide to run wasm images on my system and it failed with<br>
> errors.<br>
> <br>
> I believe the issue is that podman looks for crun-wasm binary by default.<br>
> I failed to configure podman to use crun instead of crun-wasm.<br>
> I created a simbolic link named crun-wasm:<br>
> <br>
> sudo ln -s /usr/bin/crun /usr/local/bin/crun-wasm<br>
<br>
Ouch! You're right. This worked when I enabled WasmEdge in crun, but<br>
was changed upstream at some point since.<br>
<br>
Apparently Fedora/RedHat ship a "crun-wasm" package, which contains a) this<br>
symlink, b) a dependency on WasmEdge.<br>
<br>
In Debian, the main "crun" package has a Suggests on libwasmedge0.<br>
<br>
I see three paths forward:<br>
1) We do the same, creating a new (almost) empty package.<br>
2) We ship a /usr/bin/crun-wasm symlink in the crun package.<br>
3) We patch podman to use /usr/bin/crun instead of, or in addition to,<br>
/usr/bin/crun-wasm.<br>
<br>
I don't particularly love option (1). I'm split between options (2) and<br>
(3), not loving either.<br>
<br>
Thoughts?<br></blockquote><div> </div><div class="gmail_default" style="font-family:"courier new",monospace">I think we should do either 1 or 2 to minimize divergence with upstream. My preference would be 2 to enable an out-of-the box experience.<br><br>Is there any reason to not have that symlink installed by default in the `crun` package?</div></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">regards,<br>    Reinhard</div></div>