From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gG3zLZDYumSScQEASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 21:12:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6Iv5LZDYumT3KAAA9RJhRA (envelope-from ) for ; Fri, 21 Jul 2023 21:12:16 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 884EB4B100 for ; Fri, 21 Jul 2023 21:12:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=GxK9kJ2o; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689966736; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fnjukHEkcQekXzfqxxaqh+X31oVlW5AN2h5l6al+yLM=; b=icy8xSM/oBhGwAthXlDXEa+qHwNlEHifWri70O30NG9GCxJ+zCEBBsvz79GnCUeWtmyZ9k A/HlXpHCW3NwDCt0YPzt76qM9gVMTYvvPhWT9zrvgM0jKdB/rf+y0eXehOLvY/4VE/ORVT VLT/avoobwxcxcXVOE9/ZVulGKAOFht/sIYFsIB3Yjqk45JSstpou9V/j959qFfIwQjvML Kr0uXCtejx+68Z6wM5GcCTemYL5VnpBHTzB2bqF+btNHCg7EZX7LjVTgT89QJnpbPqK0i4 2UQ9jXb1Yo33Rq8a+SYujt/TBMO2vmI+5TzO13g6g48DHzibnV47Py1Mi4ETOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689966736; a=rsa-sha256; cv=none; b=pAOEIWBnLGH6mINH9N8ZWJJI9SCx03QMxV9rcU5bcM9pmfVGViACdUUFc+ELymjy1RADVU kjwVJbVPNKPXsnV9cwNtDJQ2OYIQoJmgqPNjiZpy5FHnNoJBJ4zUyDxY4phh5D26KWNLAo BpxgA0UH62Xl/SXg65nixZ4GZG4z72TS0cVtrKDh1lHpMIkhRAclqSwDX7Vd5ZfUxMLP26 eSiIAPYHCiCdADkk30INj7uo8OlKixFWIkjAJi2mkL/Vo9asTildAAvjaxdHnNTkTOMHC7 qD2q+cKgj/Fni9Ez3T+2p3nRmxmF5PfRrk2U6PqKgbeh66LimdrE29U7/am27A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=GxK9kJ2o; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMvXo-0006X4-Eb; Fri, 21 Jul 2023 15:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvXm-0006Wu-2u for guix-patches@gnu.org; Fri, 21 Jul 2023 15:12:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMvXl-00014s-RC for guix-patches@gnu.org; Fri, 21 Jul 2023 15:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMvXl-0002ne-Lo for guix-patches@gnu.org; Fri, 21 Jul 2023 15:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61462] Add support for file capabilities(7) Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 61462@debbugs.gnu.org Received: via spool by 61462-submit@debbugs.gnu.org id=B61462.168996671710752 (code B ref 61462); Fri, 21 Jul 2023 19:12:01 +0000 Received: (at 61462) by debbugs.gnu.org; 21 Jul 2023 19:11:57 +0000 Received: from localhost ([127.0.0.1]:34894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvXg-0002nM-LK for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:11:56 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:60036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvXe-0002n7-3B for 61462@debbugs.gnu.org; Fri, 21 Jul 2023 15:11:56 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D1A8B1AD10; Fri, 21 Jul 2023 12:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689966704; bh=mKexdde9HXgpYsgBcz3Et9pX7Xl/LryS4ypYQ69zoOo=; h=From:To:Subject:In-Reply-To:References:Date:From; b=GxK9kJ2o+pohQVcssgSTf/5gaBw7XwebTblruX11rSgGETW0LFWpR/85jSpCZVI93 lewXQcdT3ZCuK70/CHF/Ha6hm614cVl12NZoCQJ6qPLBRGFadVd0Sftql2i2aGdHu9 odQUphPptufYgX6/30I8yBNBDGHB8qLzcbc55y3jP4EqzM3g3pNnswPfnlUKiYeb+F chsKsL4agl8S4+3Nh+4ZEw1d5mfmCng/9RsMd300IuJbHPWQE/rpbCFkwns1sa7Oj8 KEMqmQ/r2fSflgpM6anD43CVHKPAwg02tYOlaI/5lqhABoYnqdwmoYn66GH5fdmjLX ZCBRYZ7y8gXZg== From: Vagrant Cascadian In-Reply-To: <87edl1yu2k.fsf@wireframe> References: <87r0uuehlr.fsf@nckx> <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> <87edl1yu2k.fsf@wireframe> Date: Fri, 21 Jul 2023 12:11:38 -0700 Message-ID: <87bkg5yt91.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.25 X-Spam-Score: -5.25 X-Migadu-Queue-Id: 884EB4B100 X-Migadu-Scanner: mx1.migadu.com X-TUID: V/CGneQgHoZO --=-=-= Content-Type: text/plain On 2023-07-21, Vagrant Cascadian wrote: > Thanks for the refreshed v2 patches! I gave them a quick spin... > > As noted on IRC, apparently it lacks actual calls to setcap, so that > part still needs another patch at least! > > Otherwise, it did seem to more-or-less work... > > There are compatibility symlinks from /run/setuid-programs to > /run/privledged/bin and it sets setuid on requested files. Oh, I noticed on reconfiguring back to a system without the patches to support /run/privileged configurations ... the /run/privileged directory is still present, with all those files sitting there in their previous state. This is why I think at least by default, many other distros implement /run as a tmpfs or similar, so that it at least gets thrown out at reboot. Though this is obviously a deeper problem than just this patch series... I will file a separate bug about that. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrYagAKCRDcUY/If5cW qogbAP0Qph2cvAfJgMIyFRqMVNJ2ki2sHXl4RCb9/0G/ynLvdAEA5mjp700C+Ktn Y3nz5iatxdVAOFPAwHmyi9QDFScbRAk= =GrhB -----END PGP SIGNATURE----- --=-=-=--