From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=V7c0zXjT; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 30C8E5A0280 for ; Tue, 03 Jun 2025 12:46:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1748947584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TZ/0GXBlooj5XDDZos0xjVoq/S6csL1hOJ/Qx8HwFUg=; b=V7c0zXjTCcI5k1YXLZ6Gn8I7kpkCKdxKDRKlUxaPLgK9ygFoYEBPjLGc+u7eszffpPuMQT gvkBHbl7L5KRNBzD/8DtJ3Qe+QmWcZ+tW6/UAb+9YAv816IPg3PMB3SJJVOsOIPndgOcrT bZT4PeHXyC7LoFPBq4gwaXfhcOq6G8w= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-102-hD63Bs1AOp268ThQmOQQeg-1; Tue, 03 Jun 2025 06:46:22 -0400 X-MC-Unique: hD63Bs1AOp268ThQmOQQeg-1 X-Mimecast-MFC-AGG-ID: hD63Bs1AOp268ThQmOQQeg_1748947579 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-450d50eacafso28721235e9.3 for ; Tue, 03 Jun 2025 03:46:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748947579; x=1749552379; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TZ/0GXBlooj5XDDZos0xjVoq/S6csL1hOJ/Qx8HwFUg=; b=A3m9I+an6e0key85HRDClhiyr2htRlY+x6sI7AtYOWZ8QEKkdJFNJceH/ys3XDTU+a lwMz3EJZMB7O9zQqU07WfzBJys6JI2DpXCSnZqQB3v1e3tXliLeiKal5MMGYMQO51peL nHLDq2+iPMXTdaPvE+zKtnQm6WA0LcMbWe31M0SQbFMA4XWSBGLlMCne20lA70rTmUni 6sgGsWPsEw7VX10w1vv7UqKl54Zwrt9pD0TMvNATgL4jNDQ3Pr/lHRug8dzF2ZQWPSAc MlO56R4u64qdRfHuP3j85C1sQ1475ZsycHpTGVMey7xpQxpObb7F/HcNbDGG1T7U5QRZ LS1w== X-Gm-Message-State: AOJu0YyxB2ghwKYTwjFCHFZ6h7BSLOgaOy4NN1u1Mn1L6C8zecvJg/+g Bb3B8YdRRlLyQZ5GaBx/Fi48Sbv5F99AGo3EFjSIPneros7IMq5URNn0iAxaEHhRMhpUhiNoRvc fR9kPhM4BEtvq5NtSaDryjY28gN5GOdddExj9WM3Kx9V/MvXvBLJcMEQ= X-Gm-Gg: ASbGnctR/hrQAqt/jDrfXH12eHeebao2s76kt2PXTPzv9SBFx3q0Djv3eVcDBdkjAaX sjee3OWFJM/emQlY0s6Vk5zoFkUXcpWGatQrd5MCvnJ5txHJTYKV/fe9g9Weu8CBU3e+nzWSEfa 6YeYQPirbqPadh7UIz2/bBbR6L8kfHkUsYJ0SPdevMo8etZqaJRr/lukKLuueNm7/gMizeMH2K7 2ShqY9OP+zZdNL53xslqA2zflBK1touzmrAfBCzyNebQGQODHIbC5u+05IKj6anqMjBPtQR78FL hJte6Z3/jgr8HreirtccV7I= X-Received: by 2002:a05:600c:1c96:b0:43c:fc04:6d35 with SMTP id 5b1f17b1804b1-450d64e2a8amr157251305e9.4.1748947578973; Tue, 03 Jun 2025 03:46:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIgihnaAVrN3kP4GLTfTioP7E6VWGiglfJT7yyIR7W+Gq4l6/uBRWyG3WduuxBRQm/DOlCYA== X-Received: by 2002:a05:600c:1c96:b0:43c:fc04:6d35 with SMTP id 5b1f17b1804b1-450d64e2a8amr157251065e9.4.1748947578626; Tue, 03 Jun 2025 03:46:18 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f9csm18010901f8f.50.2025.06.03.03.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 03:46:17 -0700 (PDT) Date: Tue, 3 Jun 2025 12:46:16 +0200 From: Stefano Brivio To: Ayon T Subject: Re: Help with pasta usage Message-ID: <20250603124616.0ff93936@elisabeth> In-Reply-To: References: <20250512160553.3ec3bd50@elisabeth> <20250512165944.1d42fa62@elisabeth> <20250520175652.432c335b@elisabeth> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 4dWcYgNctiAMY7SpDTWIB1cIO0N9KIklN1xuBMiiGK0_1748947579 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: JXWAAF2VFBB4IE5VGHB6ODFQULDSK5OV X-Message-ID-Hash: JXWAAF2VFBB4IE5VGHB6ODFQULDSK5OV X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-user@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: "For passt users: support, questions and answers" Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 23 May 2025 00:51:25 -0230 Ayon T wrote: > I know you have been asking me to run pasta with arguments with docker, but > I'm not sure how to do this (pardon my inexperience). I use an > override.conf file to set the default network and port driver of docker, > and that's how I use pasta with docker. I have tried looking up how to do > it in a different way that gives me more control over the arguments that go > in, but I haven't been able to find it. Could you guide me regarding this > or point me to a resource? Apologies for the delay. It looks like you need to rebuild rootlesskit with any option you want to add, here: https://github.com/rootless-containers/rootlesskit/blob/e83d7635183e1125798b2928b22002dfcc4a1168/pkg/network/pasta/pasta.go#L146 because there's currently no convenient command-line mechanism like the one implemented by Podman, here: https://github.com/containers/common/blob/5a4ca2d5d35571556f6e7d1d5f024c19dc482135/libnetwork/pasta/pasta_linux.go#L174 I guess it would be nice to implement something similar, but I'm not really familiar with rootlesskit otherwise. An alternative could be to use a trivial wrapper at /usr/local/bin/pasta, a simple script doing: -- #!/bin/sh /usr/bin/pasta $@ --whatever-additional-option-here -- -- Stefano