From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 20:58:19 2023 Received: (at submit) by debbugs.gnu.org; 21 Jun 2023 00:58:19 +0000 Received: from localhost ([127.0.0.1]:60172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBmAo-0005i8-Ju for submit@debbugs.gnu.org; Tue, 20 Jun 2023 20:58:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:39150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBmAm-0005i1-Pu for submit@debbugs.gnu.org; Tue, 20 Jun 2023 20:58:13 -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 1qBmAj-00078j-Na for guix-patches@gnu.org; Tue, 20 Jun 2023 20:58:11 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBmAg-0006m4-HN for guix-patches@gnu.org; Tue, 20 Jun 2023 20:58:08 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6D9C04457A; Wed, 21 Jun 2023 02:58:01 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bfo4FyoUhZwo; Wed, 21 Jun 2023 02:58:00 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687309080; bh=cF7aNXjumr3hVc/kb7naP8ezucYEq98Zo6cd5Kz0KME=; h=From:To:Cc:Subject:Date; b=CpfGCtRHZehci/bJ0KB/veU5LMAz4pNS3WWSNiNn4DUzCzqcgeOd9dL+AhvuU7t8b ADxh+Cj5aVsUSYeZH2QKJLT0jjgX2hk9lAkcy5PP1YUUpaZLmRSafJ4l+NbVG8xGNn LJ10J0R5ETcffkzG9rB6NRzz2Udq4IZ0tBdgipOXUrkYgOdYBDAEnmp2wrkGRFwDvV 4niE/5iXqzNBHSezVc29pl5XqQeLuj2EJ/f8Zv8eCs+X/jTt9wAaCD1nB8es0ZmVdA 44jrcpVFNUMyFg26VfDXt0OSUF+FLmBAJC1QBMFV1x8rSSwyAsdEQI3LTod1cHy3yR D+3hrV4udRo7Q== To: guix-patches@gnu.org Subject: [PATCH] gnu: Add firejail. Date: Tue, 20 Jun 2023 20:54:48 -0400 Message-ID: <9d5b11ec067f815f252235b8d67050a865b98727.1687308888.git.kiasoc5@disroot.org> MIME-Version: 1.0 X-Debbugs-Cc: Leo Famulari , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: kiasoc5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Firejail compiles ok, but I'm currently unable to test this on Guix system, so I don't know if any other patching is required to make it work as expected. * gnu/packages/linux.scm (firejail): New variable. --- gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 52fb883467..fe22412fbc 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10135,6 +10135,35 @@ (define-public kconfig-hardened-check This tool supports checking Kconfig options and kernel cmdline parameters.") (license license:gpl3))) +(define-public firejail + (package + (name "firejail") + (version "0.9.72") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/netblue30/firejail/releases/download/" version + "/firejail-" version + ".tar.xz" )) + (sha256 + (base32 + "1x77xy1mwfgjrcsymdda82bjnqgl7z2yymcb10mzd1zwik27gqc2")))) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + (invoke "make")))))))) + (build-system gnu-build-system) + (inputs + (list apparmor xdg-dbus-proxy)) + (synopsis "Linux namespaces sandbox program") + (description + "Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities. The software includes sandbox profiles for a number of common Linux programs. Firejail should be added to the list of setuid programs in the system configuration to work properly.") + (home-page "https://github.com/netblue30/firejail") + (license license:gpl2))) + (define-public edac-utils (package (name "edac-utils") base-commit: 1a0ff5cd83d3257efcab64740a1322de51fbc4a1 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 21:01:21 2023 Received: (at 64199) by debbugs.gnu.org; 21 Jun 2023 01:01:21 +0000 Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBmDp-0005pH-1u for submit@debbugs.gnu.org; Tue, 20 Jun 2023 21:01:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBmDn-0005p4-GA for 64199@debbugs.gnu.org; Tue, 20 Jun 2023 21:01:20 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DD3BA40603; Wed, 21 Jun 2023 03:01:15 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7T-OtGXd8WrW; Wed, 21 Jun 2023 03:01:14 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687309274; bh=Zxvo5GHFFMuQMaie/s27GqkglLzwfa8S4noRxmNJmAE=; h=From:To:Cc:Subject:Date; b=CHnYadIahl46kNK8YemCF9w5BQDIsReXmMiVmXAWcAOB8kR/JF+KGvLRgpC3PxVM7 dHvwx1M6b8zSDCnrTq42Ecf6ScOGoQGHeoGjhaNdGxj804iNUKIX9uFw05BzlFvEIk 3TQhRLTkEW5w8YXKJ7WlF2JajSKl8T+0hWh5Qm08yU5Q6tsvdgBrN0h4i7iBwAqDU7 mVFK4hYvN80TKGdENczdPmA1KV85DxCF1WlAWPsTvgBxPkOu3noXkH802evXjMHhYB U4orF9ogy1jtVkf5ipPdIP6A4CcFeeSPIY0pGpWDWMwOaeh4CA6VWp4ZMeeGmRdgL1 rrgl0WRERnTUg== To: 64199@debbugs.gnu.org Subject: [PATCH v2] gnu: Add firejail. Date: Tue, 20 Jun 2023 21:00:54 -0400 Message-ID: MIME-Version: 1.0 X-Debbugs-Cc: Leo Famulari , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64199 Cc: kiasoc5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Forgot to add apparmor use-module. * gnu/packages/linux.scm (firejail): New variable. --- gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 52fb883467..e7576475bc 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -95,6 +95,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages algebra) + #:use-module (gnu packages apparmor) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) @@ -10135,6 +10136,35 @@ (define-public kconfig-hardened-check This tool supports checking Kconfig options and kernel cmdline parameters.") (license license:gpl3))) +(define-public firejail + (package + (name "firejail") + (version "0.9.72") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/netblue30/firejail/releases/download/" version + "/firejail-" version + ".tar.xz" )) + (sha256 + (base32 + "1x77xy1mwfgjrcsymdda82bjnqgl7z2yymcb10mzd1zwik27gqc2")))) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + (invoke "make")))))))) + (build-system gnu-build-system) + (inputs + (list apparmor xdg-dbus-proxy)) + (synopsis "Linux namespaces sandbox program") + (description + "Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities. The software includes sandbox profiles for a number of common Linux programs. Firejail should be added to the list of setuid programs in the system configuration to work properly.") + (home-page "https://github.com/netblue30/firejail") + (license license:gpl2))) + (define-public edac-utils (package (name "edac-utils") base-commit: 1a0ff5cd83d3257efcab64740a1322de51fbc4a1 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 08:06:00 2023 Received: (at 64199-done) by debbugs.gnu.org; 18 Jul 2023 12:06:00 +0000 Received: from localhost ([127.0.0.1]:51838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLjSp-0001oj-NC for submit@debbugs.gnu.org; Tue, 18 Jul 2023 08:06:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLjSm-0001oU-3c for 64199-done@debbugs.gnu.org; Tue, 18 Jul 2023 08:05:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLjSf-0001hC-OE; Tue, 18 Jul 2023 08:05:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=3PxP8fa4akHHBCApjIK4PSQqB+xpWVxMVcOXDOQwI4c=; b=OjXGYocLyd/Jfm/ytLRS mdiZzfjl4zXvIGrd6upRhOl/QLH8DGypLQmcO0c9E0pclSarwy6aRlGfJpw8bczbVkbd+3pQyEH5F mjEDCfxIMR3YahFNcl7r+eVwvqBvRJqQBRyNixOyoihI53CuGiCbbFYcZQBofNqLuw6M7YB3VnDt5 MRmZDJuDmL00mejmjD3Uyh8jXpXc/sUv+m+BC2wedd4XyceBxzhFkgfjvd9PrNvHlOxdXUMOkbocI Tdv4vsFzusZ6W7yDsIElzkLFbIMyz3DATP1DNegzCXBhKuWyoRbdfKdofPknOBJ19sSNpvaJIb/Vh Pe+B0TPCOkIiWQ==; Received: from [193.50.110.205] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLjSf-0004vV-Bf; Tue, 18 Jul 2023 08:05:49 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: kiasoc5 Subject: Re: bug#64199: [PATCH] gnu: Add firejail. References: <9d5b11ec067f815f252235b8d67050a865b98727.1687308888.git.kiasoc5@disroot.org> Date: Tue, 18 Jul 2023 14:05:45 +0200 In-Reply-To: (kiasoc5@disroot.org's message of "Tue, 20 Jun 2023 21:00:54 -0400") Message-ID: <87wmyxjug6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64199-done Cc: Tobias Geerinckx-Rice , 64199-done@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable kiasoc5 skribis: > Forgot to add apparmor use-module. > > * gnu/packages/linux.scm (firejail): New variable. Hi! Applied with the changes below (=E2=80=98gpl2+=E2=80=99 because source = code headers carry the =E2=80=9Cor any later version=E2=80=9D wording). Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 18c69d8a61..39503de6ff 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10172,9 +10172,9 @@ (define-public firejail (version "0.9.72") (source (origin (method url-fetch) - (uri (string-append "https://github.com/netblue30/firejail/releases/download/" version - "/firejail-" version - ".tar.xz" )) + (uri (string-append + "https://github.com/netblue30/firejail/releases/download/" version + "/firejail-" version ".tar.xz" )) (sha256 (base32 "1x77xy1mwfgjrcsymdda82bjnqgl7z2yymcb10mzd1zwik27gqc2")))) @@ -10191,9 +10191,16 @@ (define-public firejail (list apparmor xdg-dbus-proxy)) (synopsis "Linux namespaces sandbox program") (description - "Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities. The software includes sandbox profiles for a number of common Linux programs. Firejail should be added to the list of setuid programs in the system configuration to work properly.") + "Firejail is a SUID sandbox program that reduces the risk of security +breaches by restricting the running environment of untrusted applications +using Linux namespaces, seccomp-bpf and Linux capabilities. The software +includes sandbox profiles for a number of common Linux programs. Firejail +should be added to the list of setuid programs in the system configuration to +work properly.") (home-page "https://github.com/netblue30/firejail") - (license license:gpl2))) + (supported-systems + (filter (cut string-suffix? "-linux" <>) %supported-systems)) + (license license:gpl2+))) (define-public edac-utils (package --=-=-=-- From unknown Sun Jun 15 08:42:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 16 Aug 2023 11:24:16 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator