From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gLDJBYg2kWKGrwAAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 22:37:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YJLBBYg2kWKHVAAA9RJhRA (envelope-from ) for ; Fri, 27 May 2022 22:37:28 +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 C66A219704 for ; Fri, 27 May 2022 22:37:27 +0200 (CEST) Received: from localhost ([::1]:37538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nugi6-000330-Fe for larch@yhetil.org; Fri, 27 May 2022 16:37:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nugFe-0001Fq-SJ for bug-guix@gnu.org; Fri, 27 May 2022 16:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nugFe-0004M3-Ja for bug-guix@gnu.org; Fri, 27 May 2022 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nugFe-00075w-Bu for bug-guix@gnu.org; Fri, 27 May 2022 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55683: Support binaries that need "setcap" similar to "setuid-programs" Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 May 2022 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55683 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55683@debbugs.gnu.org Received: via spool by 55683-submit@debbugs.gnu.org id=B55683.165368203627216 (code B ref 55683); Fri, 27 May 2022 20:08:02 +0000 Received: (at 55683) by debbugs.gnu.org; 27 May 2022 20:07:16 +0000 Received: from localhost ([127.0.0.1]:35839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nugEu-00074u-MV for submit@debbugs.gnu.org; Fri, 27 May 2022 16:07:16 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:59182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nugEq-00074e-1Y for 55683@debbugs.gnu.org; Fri, 27 May 2022 16:07:15 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:40]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 864111AC53 for <55683@debbugs.gnu.org>; Fri, 27 May 2022 13:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1653682025; bh=0sQVOMziG2x/TMMPBVcmJI/E09H9Nwg28CX0YcFca0w=; h=From:To:Subject:In-Reply-To:References:Date:From; b=Wc3ioQhMeFUuk5wq7Ty2VXRjk/WL7EtRzd75F1eweL+Xb8eEZELxWLq23GwEb5fbx KF5Oy575TKtLR0bH0dxBMMACWNfsVHrdZ2yDzbkLhci9RugXUURTUZiYDnyI9YAUQ3 c3beDvKHXr4ZMo/sm7HoEh7Jb7GK59/ApM3Ahupga8Bb21M2/ECR5x5cYi1hPMjLvy 1z+FT8gJr3eCKOFPCe7nnXgIFqkAbRJmlpdAvWW3TMQnqVZEZT0YucKUelQ4PWjjKR /9ay9SJm1GuKJ5By70whbsS7cN6BkhZmYxNFJFWZF4xy1Yprfjef9hic2XV89aOZ0c H80MxormQEMNQ== From: Vagrant Cascadian In-Reply-To: <87k0a669ew.fsf@yucca> References: <87k0a669ew.fsf@yucca> Date: Fri, 27 May 2022 13:07:00 -0700 Message-ID: <87fsku68pn.fsf@yucca> 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653683847; 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=/8D9M8ia9/g/nnnMIxbVdbwRYJZkocPRLGomQIuPIw4=; b=VpSmYB1SaHBXuAL1BwyUYzuu2nlxwHYZ9fRBWSSQyEX/8VXGb3LIO59W9G1XP035xNmY/w kCVY2yFn7dbh8XFyEJ6NFqLKY5llf1HSIHRfOpg3AEWHzryfNFe4cqFBM+PNZg7xndU7nM /bbdTnsi6KLqDS29N5Y2WGHaWu2sbVaEtwzHuW3gbEiV9hNeWd4fnSbeHr8BH0vf5nEkcO +maNL7geUTCMSYmMirPJmbR/0yIVIui3oPP8FNKXQ2hsQlRwvyJCtwXbF38kQ6NTI5NNtr 1OVMYEHQvkRJ5i/tuQp7Hy5fw9zl3TyNCadR484pwvhCWK7THj5bowMAjGm5gQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653683847; a=rsa-sha256; cv=none; b=Z90bl3UJw95V0g20OoL/L1aVYbyPXi2VutqbozPHfMxezrnQ6nPENjbnyDx2Y7aOtXOz5J LNyLn5bOqHTFWWb9C/jU532jzPGVPc3tUgyIA6dkn+u6/jpclN8vRkBfcFMY3VAM7lM2aM OSkNEaRCcrlyUsoFvLQpQX7qGZhELV1yHvyvdlN1y/WNeuou1uBKmHrRjlQTipiULcOUA3 MMs/g+SV+K49dWK2CQDfn9uHilQB8rUsm4tZB4PFmsqd8ae7MG7omBdWSUjNdudfKkRpYw X3yDZqoRt8JRT0r7KyfjWKoWodbFGEKqtGIxPwbI+I2SYdDxvM6aI7Qvi4U3dg== 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=Wc3ioQhM; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=Wc3ioQhM; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C66A219704 X-Spam-Score: -1.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: gu8RGRtTWXC4 --=-=-= Content-Type: text/plain On 2022-05-27, Vagrant Cascadian wrote: > I've been working on a package called lcsync: > > https://issues.guix.gnu.org/55682 > > But lcsync needs CAP_NET_RAW... Normally, this is accomplished by > running: > > setcap cap_net_raw=eip /path/to/bin/lcsync Similar issues seem to have come up for other packages: https://issues.guix.gnu.org/27415 https://issues.guix.gnu.org/39136 https://issues.guix.gnu.org/39136 And possibly: https://issues.guix.gnu.org/search?query=setcap Some programs *might* be able to handle this sort of thing in a service definition, but lcsync at least should be callable by the user from the commandline (sort of like rsync); it doesn't normally have a daemon component that would make sense to run as a service. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYpEvZQAKCRDcUY/If5cW qjZoAP9AJY7bNJjrClE8XKwONxFKEyqeQz6uxJgJbqvQOpQoUgEAkMfSV8U2OpfW 6kK4PKPg0FiPLBZp5zvmSOb1HWHWOgw= =0mpo -----END PGP SIGNATURE----- --=-=-=--