From nobody Tue Jan 21 09:29:42 2025 X-Original-To: freebsd-jail@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YchkX4dFvz5kpPj for ; Tue, 21 Jan 2025 09:29:56 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YchkX0Jyyz3Pkm for ; Tue, 21 Jan 2025 09:29:55 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-304e4562516so53284221fa.1 for ; Tue, 21 Jan 2025 01:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thelightbird-com.20230601.gappssmtp.com; s=20230601; t=1737451794; x=1738056594; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=g2ccDZOJHhfsCVennu3VZ+1CF53qOY7t1N0iHfXLlS8=; b=04cxO2BGb/3pGNs1XKV8pgW1gn4GhZL8DspRwYHSHbKWdHpl0KZyQlBAe4y/wxyYPy yTdmpiAg7SmKQNQqNvKGKNR/LU4l5e8ldXlgHdwAAakLoERC/4ERIGLanejCD+3bHhg/ peYiuf6TqlnHIFjVcBnRo+oTAz7g3w+eHBAw/2j0yFfxBfONEQkmFQnSavbuUxn/idk3 W26vFzFmEFY7sdK15yh7P4GkCwuxI883B9cCPy+qb+q4rG/2aOmIxN5P4Dloruy34umg bR9v6GnpqkOmT/xTZ0KTw0vnPYK/POuP/9I0Z4xBEFMfJlze5Tq/TWqtkjpx7pPtfrYP V1sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737451794; x=1738056594; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g2ccDZOJHhfsCVennu3VZ+1CF53qOY7t1N0iHfXLlS8=; b=GKgYwdQPwJq6u0ajtymjuIEPr05dG2UHQlAsYDkmpaltWLqJSBJkz8VaMRfdbY4lk/ BpQdBC4JXFhwg23q/5mO5BJibaC1RrO7uJV2tmF8No5PGqZhKkvyYHiJ2MK3wC4gXOwB zqOM74790MO3aQZSBM36oAPic9P/ASllp90wWmG+Ks/XyhG38ay+L+xWZ9/dCVzNNz6W PSqpP/JzfMbGtjkMAfkEZpdb+/qu1LUR60c2lzHy39ojiMFbdmbs4xghsq3m4pj+biy4 ET5APTPcpwf233rC7I6LliNFt7Sf8+IfDfuoSLoxBdh0B7u82iyMNS7TT/rVrStL5elO paag== X-Gm-Message-State: AOJu0Yy81w1kYvLQIySiL2oNvOMYVJ66HeXThc53QMX3JGuyIAzxwlWN 9dHWEs0xd+UOepm6iT9rr2bUHhjFwc0SdXw+m3BU8VqD8cb8jZu054crbpTssjjTWy+UTTn+nap hOEkXKVT/cHVVI2AH5nkLosDYjqvfL8v5gCxv X-Gm-Gg: ASbGncsSSpEo6QU2olH4Pfb/SrHte/B3UrigDNrDQqGcMuwBiuWER2osNBZ/dBR/ryC Iz6O/aCdQfTvX51LbBVK15RRRWvvak1pSH0kThHmNWxGCOyOWJePmRbZVjyljDEEKRR+SlxM71m tChKfW X-Google-Smtp-Source: AGHT+IErj2uoSHrzirLH9d2r6wDx9lzO/QrDc92rPKGFMVGR1QMZIprqhPrcqqCHujEqhagNxkReq6AsQqcqnF7gi5M= X-Received: by 2002:a2e:a544:0:b0:302:4a8f:428b with SMTP id 38308e7fff4ca-3063068737cmr83392331fa.15.1737451793516; Tue, 21 Jan 2025 01:29:53 -0800 (PST) List-Id: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@FreeBSD.org MIME-Version: 1.0 References: <20250120173350.10aae747@opal.com> <20250120201143.720ef609@opal.com> In-Reply-To: <20250120201143.720ef609@opal.com> From: Mohammad Noureldin Date: Tue, 21 Jan 2025 10:29:42 +0100 X-Gm-Features: AbW1kvYa7eUlzS84BRSHdj3RLnKrtfFdeRYuUe0h4lnoAGf3U--qmvr_iTjPkDQ Message-ID: Subject: Re: podman on FreeBSD-14.2 To: "J.R. Oldroyd" Cc: freebsd-jail@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f7a47f062c34045c" X-Rspamd-Queue-Id: 4YchkX0Jyyz3Pkm X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000f7a47f062c34045c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi J.R.! 1st of all thanks a lot for using and testing Podman and OCI Containers in general on FreeBSD. Above all many thanks for digging deeper and coming to the root cause =F0= =9F=91=8A. To help others who may not be on the FreeBSD Jails mailing list, whenever you have time would you please create an issue at [1] then you can comment with the root cause and close it. This will help with documenting possible issues found and their root cause and how they can be solved. That would help the community a lot. Thanks a lot in advance and have a great day/evening! [1] https://github.com/oci-playground/freebsd-podman-testing/issues On Tue, Jan 21, 2025 at 2:12=E2=80=AFAM J.R. Oldroyd wrote: > On Mon, 20 Jan 2025 23:33:57 +0100 "J.R. Oldroyd" wrote: > > > > ... > > > > # podman run --rm docker.io/dougrabson/hello > > Error: OCI runtime error: ocijail: mounting > {"destination":"/etc/resolv.conf","source":"/var/run/containers/storage/z= fs-containers/5c1e19e58fe4e99d419e0f4b717dfad80b984070f6056d4f98905cbca1e9b= 12d/userdata/resolv.conf","type":"nullfs"}: > Invalid argument > > # > > > > ... > > After some digging around, this turns out to have been caused by the > nullfs.ko module not playing well here after my upgrade to FreeBSD-14.2. > After rebuilding that module locally, all is working now with podman: > > # podman run --rm docker.io/dougrabson/hello > !... Hello Podman World ...! > > .--"--. > / - - \ > / (O) (O) \ > ~~~| -=3D(,Y,)=3D- | > .---. /` \ |~~ > ~/ o o \~~~~.----. ~~ > | =3D(X)=3D |~ / (O (O) \ > ~~~~~~~ ~| =3D(Y_)=3D- | > ~~~~ ~~~| U |~~ > > Project: https://github.com/containers/podman > Website: https://podman.io > Documents: https://docs.podman.io > Twitter: @Podman_io > # > > Sorry for the noise here. > > -jr > > --=20 Thanks - Mohammad Noureldin -- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein --000000000000f7a47f062c34045c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi J.R.!

1st of all thanks a lot for us= ing and testing Podman and OCI Containers in general on FreeBSD.
=
Above all many thanks for digging deeper and coming to the r= oot cause=C2=A0=F0=9F=91=8A.

To help others who ma= y not be on the FreeBSD Jails mailing list, whenever you have time would yo= u please create an issue at [1] then you can comment with the root cause an= d close it.

This will help with documenting possib= le issues found and their root cause and how they can be solved. That would= help the community a lot.

Thanks a lot in advance= and have a great day/evening!


<= div class=3D"gmail_quote gmail_quote_container">
On Tue, Jan 21, 2025 at 2:12=E2=80=AFAM J.R. Oldroyd <fbsd@opal.com> wrote:
On Mon, 20 Jan 2025 23:33:57 +0100 &= quot;J.R. Oldroyd" <fbsd@opal.com> wrote:
>
> ...
>
> # podman run --rm docker.io/dougrabson/hello
> Error: OCI runtime error: ocijail: mounting {"destination":&= quot;/etc/resolv.conf","source":"/var/run/containers/st= orage/zfs-containers/5c1e19e58fe4e99d419e0f4b717dfad80b984070f6056d4f98905c= bca1e9b12d/userdata/resolv.conf","type":"nullfs"}:= Invalid argument
> #
>
> ...

After some digging around, this turns out to have been caused by the
nullfs.ko module not playing well here after my upgrade to FreeBSD-14.2. After rebuilding that module locally, all is working now with podman:

# podman run --rm docker.io/dougrabson/hello
!... Hello Podman World ...!

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.--"--.=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0/ -=C2=A0 =C2=A0 =C2=A0- \=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 / (O)=C2=A0 =C2=A0(O) \=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~| -=3D(,Y,)=3D- |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 .---. /`=C2=A0 \=C2=A0 =C2=A0|~~=C2=A0 =C2=A0 =C2=A0
=C2=A0~/=C2=A0 o=C2=A0 o \~~~~.----. ~~=C2=A0 =C2=A0
=C2=A0 | =3D(X)=3D |~=C2=A0 / (O (O) \=C2=A0 =C2=A0
=C2=A0 =C2=A0~~~~~~~=C2=A0 ~| =3D(Y_)=3D-=C2=A0 |=C2=A0 =C2=A0
=C2=A0 ~~~~=C2=A0 =C2=A0 ~~~|=C2=A0 =C2=A0U=C2=A0 =C2=A0 =C2=A0 |~~

Project:=C2=A0 =C2=A0https://github.com/containers/podman<= br> Website:=C2=A0 =C2=A0https://podman.io
Documents: https://docs.podman.io
Twitter:=C2=A0 =C2=A0@Podman_io
#

Sorry for the noise here.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 -jr



--
Thanks
- Mohammad Noureldin
--
"Life is like riding a = bicycle. To keep your balance you must keep moving"
- Albert Einste= in

<= /div>
--000000000000f7a47f062c34045c--