public inbox for passt-user@passt.top
 help / color / mirror / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Ayon T <sanroz.mozan13@gmail.com>
Cc: passt-user@passt.top
Subject: Re: Help with pasta usage
Date: Mon, 12 May 2025 16:05:53 +0200	[thread overview]
Message-ID: <20250512160553.3ec3bd50@elisabeth> (raw)
In-Reply-To: <CAD77DGHbW+xrLB5VJq24eRF-EJ+LtrAm+9twJQnOoX7J0e=-XQ@mail.gmail.com>

Hi Ayon,

On Sat, 10 May 2025 21:26:29 -0230
Ayon T <sanroz.mozan13@gmail.com> wrote:

> Hi,
> 
> I've been using pasta as a network driver for rootless docker and I've been
> running into a couple of issues for a while now. I hope this is where I can
> find some help troubleshooting.
> 
> The issue is that when I use pasta as the network driver as opposed to
> slirp4netns, I'm unable to access the internet through rootless docker or
> use ping (or traceroute) through its containers. So if I run "docker pull
> <image-name>" I get a timeout error:
> 
> > Using default tag: latest  
> Error response from daemon: Get "https://registry-1.docker.io/v2/": dial
> tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 169.254.2.1:58905
> ->10.0.2.3:53: i/o timeout  
> 
> I'm running pasta version 0.0~git20250217.a1e48a0-1 on Ubuntu 24.04.2 LTS
> with docker v27.3.1 build ce12230.

I suspect you might be hitting this:

  https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2077158

...which is fixed on Ubuntu 24.10 and later versions. As a workaround,
I guess you can create the AppArmor profile for pasta manually, from:

  https://passt.top/passt/tree/contrib/apparmor/usr.bin.pasta

or set /proc/sys/kernel/unprivileged_userns_apparmor_policy to 0, see
also:

  https://github.com/kubevirt/kubevirt/issues/12333

Let me know if you still hit the issue.

-- 
Stefano


       reply	other threads:[~2025-05-12 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAD77DGHbW+xrLB5VJq24eRF-EJ+LtrAm+9twJQnOoX7J0e=-XQ@mail.gmail.com>
2025-05-12 14:05 ` Stefano Brivio [this message]
     [not found]   ` <CAD77DGGAsxL9O0oHwmRoW2QuDCYLdWmmXcCZ+FMoVKwKJjTEfQ@mail.gmail.com>
2025-05-12 14:59     ` Help with pasta usage Stefano Brivio
     [not found]       ` <CAD77DGGaRw=1hs+vWgNYhPbmYEHvifvHaK1T=hMNg0BO6y4qBQ@mail.gmail.com>
2025-05-20 15:56         ` Stefano Brivio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250512160553.3ec3bd50@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=passt-user@passt.top \
    --cc=sanroz.mozan13@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).