From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none 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=Y8k7UJNM; 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 0805A5A0271 for ; Mon, 03 Feb 2025 07:40:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738564818; 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=VoUanPoOiFSFFMFBcKta3VRw8UyCrFQkbrg4t4J1vXY=; b=Y8k7UJNMpVDlybSOrojqeh8qn0j8tk8P8zCMG3My9hPooI3VzSPRO1eiEGlgGflsarv+C6 tp8VTo76Gcnv/kPBS167xu62RuHd5nn58gVYwnCAfbbhBJ0PKsQZAmoPDZ59OwlDXsXix6 oBJiW3AZ5rYNBsiXXb/ur32F0lyn/No= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-B-FBE762NFSWwTiZ7SgRFg-1; Mon, 03 Feb 2025 01:40:17 -0500 X-MC-Unique: B-FBE762NFSWwTiZ7SgRFg-1 X-Mimecast-MFC-AGG-ID: B-FBE762NFSWwTiZ7SgRFg Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-436723db6c4so28508445e9.3 for ; Sun, 02 Feb 2025 22:40:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738564815; x=1739169615; 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=VoUanPoOiFSFFMFBcKta3VRw8UyCrFQkbrg4t4J1vXY=; b=NALp7/AMKVmrqe6wWzWJYxRanrEHzrpMe9TTiV06njBSJw9ebI0lev464wpuvfleQ3 Uk7u13LjU2BvfAfIxGa8UtagRzoIPPFNdaF5/oQpnwpZoWPDECzDRhPKW0Su039QrQtu YFGLgeLWluDKTfjPSczPSD7iHOYNWMQyEAqtYTxSqjKfnO1wKH9PJ6+48uQmcm12ZAxn O6tB0D9hEaWjgyWyYb1ut4XGVVAvUdBfAOJ0Cz/qUU3fZXCNK8awQUU42uybWI6khp9o 3SrCpmp5iD6gMGqSH8dqi+FaFukThLbzJXmUB7Idg/BdQWzMLKQULtc9HBYIDqcbeBcY qOqQ== X-Gm-Message-State: AOJu0YyzSd3DpO8gg9CXk3zaOFtdvmdCtmUX5b0e1WyT1DywDZ363f9X BgG9XEP1JRUvGAHoCchvVjrqChI0M2TF/ygx2jQ/wRRS4+tVOtLeA2hew3dLepAe9oMI+Rho1f1 Wbbop8qdm6OvR0iQ9SDkKP+BqYRFn2JOmHZgrR/BnAQcR6ThvVmSNfch7vsYlp89PqmHRfTpqfm cjMRmSh/Uq9DQHKzsqOXHcitI1xsMW++kd X-Gm-Gg: ASbGnctG+eCLLOvhmStjcpW4Uk3q3mh6+NfD0hLt9r7mJhhGNVkToGr/WOPudOJ/PsT 6TuPBd8q74cft43AVEnjSlsRonKODxXEyv5GM72pHQrD/R+SNpC5NurMuCdIM7CdOT7lRtQgGPF w3EfnjUzR2RJ9KIjpOGP6KpheHJaaoejcWIgMv5r3VyBLLTWYZX3+pklz/HK5zAv6lpPgHsV+mS PVi9tdykUvCn8fta2EMqP61KhVEeKR4H/6cRZ0WYEUwSUTdbXRvy+cg9m9dPkK/k+n/azVYGuNw ifhOrlpCJ1TSuPsnOBN982TZ8CXdLVE25A== X-Received: by 2002:a05:600c:1d06:b0:434:fa61:fdfb with SMTP id 5b1f17b1804b1-438e561ceaemr125340695e9.18.1738564814964; Sun, 02 Feb 2025 22:40:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqJ+Xh77BnJDCoBPZQnzVGXD5eGG8TTa8ek4IGgCKSjrKToFF0RF1kHlQimBZgfGl8lL3tkw== X-Received: by 2002:a05:600c:1d06:b0:434:fa61:fdfb with SMTP id 5b1f17b1804b1-438e561ceaemr125340415e9.18.1738564814373; Sun, 02 Feb 2025 22:40:14 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438d7aa605asm139761255e9.1.2025.02.02.22.40.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2025 22:40:13 -0800 (PST) Date: Mon, 3 Feb 2025 07:40:11 +0100 From: Stefano Brivio To: 7ppKb5bW Subject: Re: [PATCH] pasta.te: fix demo.sh and remove one duplicate rule Message-ID: <20250203074011.15d025fb@elisabeth> In-Reply-To: References: Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: UXfXW33KCNH5_VioyZRMyLdej8E8GdD6Nnfit59L7OQ_1738564816 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: BSBBM6CPP3FAKNCNKM4OYRTY6DT77SC6 X-Message-ID-Hash: BSBBM6CPP3FAKNCNKM4OYRTY6DT77SC6 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-dev@passt.top" X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, 02 Feb 2025 19:21:21 +0000 7ppKb5bW wrote: > On Fedora 41, without "allow pasta_t unconfined_t:dir read" /usr/bin/pasta can't open /proc/[pid]/ns , which is required by pasta_netns_quit_init() . > This patch also remove one duplicate rule "allow pasta_t nsfs_t:file read;" , "allow pasta_t nsfs_t:file { open read };" at line 123 is enough. Applied, thanks! I didn't notice we always ended up using the netns quit timer fallback with SELinux. :( For the future (I hope you'll contribute more, of course!) I would appreciate if you could tag your submissions with a "Signed-off-by" tag, in the sense of: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1 contrary to the Linux kernel guidelines, we _do_ accept nicknames not related to any "known identity" such as (presumably) yours. So "Signed-off-by: nickname " would be entirely fine. This change is trivial, so it's not really needed for this one. -- Stefano