From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158946415514416 (code B ref -1); Thu, 14 May 2020 13:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2020 13:49:15 +0000 Received: from localhost ([127.0.0.1]:60699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEEX-0003kJ-P4 for submit@debbugs.gnu.org; Thu, 14 May 2020 09:49:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:59236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEES-0003k8-C5 for submit@debbugs.gnu.org; Thu, 14 May 2020 09:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEES-0007JR-4p for guix-patches@gnu.org; Thu, 14 May 2020 09:49:04 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:41504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEEN-0006GS-7I for guix-patches@gnu.org; Thu, 14 May 2020 09:49:03 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 9ce5d4d9 for ; Thu, 14 May 2020 13:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=xgc+nzsdeOC1rDBHOHqeTlft0tjSAcIlEwnc CAyVFBM=; b=RL9m0Thipb+SQ9KWvxxgTolkGGA0x1UOOrz4wC2JliM8HboxwG1k GFj2hfCh/WITEO4ohaoiYaJjlt0aJDr5vhq/JOMJrxkJWMqlxtvMkNIgjwUHHMLM yErmd2lChO00UG0VbOgNRtPyLqofvob7aeIlZ7HdcH0H+gE0VM+dz2pkW//np59J jGsA2FIXvdIXjKkRPfMyWoBwm8QQUU9qvKHeFPpRlCpmMrgsgLDnzjSnqXcK1POw mpfRcGz9gaiOf2KIF9P13FyC8kPMSuGe1+wcg0Okwijm+s+obc9P7dFfVvfxRMg6 p8LilHCehaK+LG/Pa/e2xZbesVq4Uwjq3g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ea89ff14 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 14 May 2020 13:48:55 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Thu, 14 May 2020 15:48:46 +0200 Message-Id: <20200514134846.29037-1-me@tobias.gr> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) * etc/gnu-store.mount.in: New file. * nix/local.mk (nodist_systemdservice_DATA): Add it. (etc/%.mount): New rule. * etc/guix-install.sh (sys_enable_guix_daemon): Install it. * doc/guix.texi (Binary Installation): Document it. --- For . doc/guix.texi | 5 +++-- etc/gnu-store.mount.in | 14 ++++++++++++++ etc/guix-install.sh | 12 +++++++++--- nix/local.mk | 12 +++++++++++- 4 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 etc/gnu-store.mount.in diff --git a/doc/guix.texi b/doc/guix.texi index d6fbd85fde..5d80a7e405 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -659,9 +659,10 @@ with these commands: @c https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html @example -# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ +# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \ + ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ /etc/systemd/system/ -# systemctl enable --now guix-daemon +# systemctl enable --now gnu-store.mount guix-daemon @end example If your host distro uses the Upstart init system: diff --git a/etc/gnu-store.mount.in b/etc/gnu-store.mount.in new file mode 100644 index 0000000000..c94f2db72b --- /dev/null +++ b/etc/gnu-store.mount.in @@ -0,0 +1,14 @@ +[Unit] +Description=Read-only @storedir@ for GNU Guix +DefaultDependencies=no +ConditionPathExists=@storedir@ +Before=guix-daemon.service + +[Install] +WantedBy=guix-daemon.service + +[Mount] +What=@storedir@ +Where=@storedir@ +Type=none +Options=bind,ro diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 4909d3f162..d252c132fb 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -342,7 +342,13 @@ sys_enable_guix_daemon() _msg "${PAS}enabled Guix daemon via upstart" ;; systemd) - { cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ + { # systemd .mount units must be named after the target directory. + # Here we assume a hard-coded name of /gnu/store. + cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/gnu-store.mount" \ + /etc/systemd/system/; + chmod 664 /etc/systemd/system/gnu-store.mount; + + cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ /etc/systemd/system/; chmod 664 /etc/systemd/system/guix-daemon.service; @@ -357,8 +363,8 @@ sys_enable_guix_daemon() fi; systemctl daemon-reload && - systemctl start guix-daemon && - systemctl enable guix-daemon; } && + systemctl start gnu-store.mount guix-daemon && + systemctl enable gnu-store.mount guix-daemon; } && _msg "${PAS}enabled Guix daemon via systemd" ;; sysv-init) diff --git a/nix/local.mk b/nix/local.mk index a64bdd2137..435fdd389a 100644 --- a/nix/local.mk +++ b/nix/local.mk @@ -155,7 +155,17 @@ noinst_HEADERS = \ # The '.service' files for systemd. systemdservicedir = $(libdir)/systemd/system -nodist_systemdservice_DATA = etc/guix-daemon.service etc/guix-publish.service +nodist_systemdservice_DATA = \ + etc/gnu-store.mount \ + etc/guix-daemon.service \ + etc/guix-publish.service + +etc/%.mount: etc/%.mount.in \ + $(top_builddir)/config.status + $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ + $(SED) -e 's|@''storedir''@|$(storedir)|' < \ + "$<" > "$@.tmp"; \ + mv "$@.tmp" "$@" etc/guix-%.service: etc/guix-%.service.in \ $(top_builddir)/config.status -- 2.26.2 From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] Few questions Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Emmanuel Medernach , zimoun , help-guix@gnu.org Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158946442114908 (code B ref 41259); Thu, 14 May 2020 13:54:02 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 13:53:41 +0000 Received: from localhost ([127.0.0.1]:60708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEIu-0003sN-PB for submit@debbugs.gnu.org; Thu, 14 May 2020 09:53:40 -0400 Received: from tobias.gr ([80.241.217.52]:35942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEIt-0003sF-BX for 41259@debbugs.gnu.org; Thu, 14 May 2020 09:53:40 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 5ba8c527; Thu, 14 May 2020 13:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=QUn//s7chuWSVftoV1T7GQ TRTxciPf4wK7RYcgQxR1I=; b=GKR5HemW/7rqNUW9naVu6EwJmCTZQpXBQC7SYr 5HrYMSD5mRgj32sdLeU19ag1BQywD/DWg8l8MeNlxo01U0do4xQpklI8fgTQAikH ZrWluVVV/8dRPsUl+0rIIZW+CVDZvh0SGJvLBA25eRbX3CCF7wYf+a/PbDXXT/C1 3hzVp9VPStRMPgPpssUyPCJRvQI3uC/yhS+qpVgdtkmkc8fONTtAdpX6cBcHgr+X ZXfVxoQvSzTzlkloDaY5PgpLYx3zpEjchu42gk1+80U8dItmCZmcUG4drWgwKrp/ pFGmW6aVaqB9k+dDI7+CFJ9y/r97FkR/gueS8zp1IG5qNTgg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f41cde13 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 13:53:39 +0000 (UTC) From: Tobias Geerinckx-Rice References: <878shueopr.fsf@nckx> <875zcyeomd.fsf@nckx> <87r1vmd7h6.fsf@nckx> In-reply-to: <87r1vmd7h6.fsf@nckx> Date: Thu, 14 May 2020 15:53:36 +0200 Message-ID: <87lflud3mn.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A > A simple > > $ sudo mount -o bind,ro /gnu/store /gnu/store I decided to write a q&d patch that does just that=20 . Caveats: =2D It's lightly tested (the only non-Guix System I have SSH access=20 to is someone's laptop, currently being used to consume =E2=80=98dank=20 memes=E2=80=99, and I cannot risk performing any action that could stop=20 the flow of memes), =2D it only fixes the problem on modern^Wsystemd systems (I'm fine=20 with that), =2D the unit name could be templated to @storedir@ as well. Worth=20 it? Feedback and testing welcome. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr1NYAAKCRANsP+IT1Vt eanNAQD8840t6rLLSG6porbp1niAih1kOag/WWyIRigHam2yCgD/UAURG1ss9iq2 2zPbzqsf+7fsj/WFH/+dJrvjCBF0mAE= =1d69 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice ,41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158946493317724 (code B ref 41259); Thu, 14 May 2020 14:03:01 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 14:02:13 +0000 Received: from localhost ([127.0.0.1]:34273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZER5-0004bg-3u for submit@debbugs.gnu.org; Thu, 14 May 2020 10:02:12 -0400 Received: from lepiller.eu ([89.234.186.109]:57550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEQz-0004bD-W9 for 41259@debbugs.gnu.org; Thu, 14 May 2020 10:02:06 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3a38144a; Thu, 14 May 2020 14:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=O9myuVDsxP+laz7OC0gZvSGjM4uIVIMyJbjLsuPRI8U=; b=W1lRbQpo0tXK a6ZFHTaFu0sUHIZ0LxDx8BqPrypnFn7ws1kMEpZExFCq6YFyxgXPqYcWQXMvgrZf b3MdN/p9P7mL2joku241AQnMdV2C9yEAFdxuCFuX/0UkLJNvPsAWxSbBItRBQ8hL 0rGCc7P/q5J/U/Oonvyx3K1S2Fba8jpdA5SgEFnu9P8jgyIVLQJr/Pc+YLQhKnUI uNTmgSA1U4wBs1eLUQVmY87oOqcMTWaGuqVSyhBLdkArf/3x1lpu2fZp21kelYU/ evzgRfW1w6QUBsQxbIkxf18GyHLoveH5LR6X7oZIhY/W+eaW2bTJT3j9e4MnRSko dA5bkgKiqg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id cc033e1b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 14:01:59 +0000 (UTC) Date: Thu, 14 May 2020 10:01:51 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <20200514134846.29037-1-me@tobias.gr> References: <20200514134846.29037-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: X-Spam-Score: 0.0 (/) 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 (-) Le 14 mai 2020 09:48:46 GMT-04:00, Tobias Geerinckx-Rice via Guix-patches v= ia a =C3=A9crit : >* etc/gnu-store=2Emount=2Ein: New file=2E >* nix/local=2Emk (nodist_systemdservice_DATA): Add it=2E >(etc/%=2Emount): New rule=2E >* etc/guix-install=2Esh (sys_enable_guix_daemon): Install it=2E >* doc/guix=2Etexi (Binary Installation): Document it=2E >--- > >For >=2E > > doc/guix=2Etexi | 5 +++-- > etc/gnu-store=2Emount=2Ein | 14 ++++++++++++++ > etc/guix-install=2Esh | 12 +++++++++--- > nix/local=2Emk | 12 +++++++++++- > 4 files changed, 37 insertions(+), 6 deletions(-) > create mode 100644 etc/gnu-store=2Emount=2Ein > >diff --git a/doc/guix=2Etexi b/doc/guix=2Etexi >index d6fbd85fde=2E=2E5d80a7e405 100644 >--- a/doc/guix=2Etexi >+++ b/doc/guix=2Etexi >@@ -659,9 +659,10 @@ with these commands: > @c https://lists=2Egnu=2Eorg/archive/html/guix-devel/2017-01/msg01199=2E= html >=20 > @example >-# cp ~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservi= ce >\ >+# cp ~root/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emount \ >+ ~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservi= ce >\ > /etc/systemd/system/ >-# systemctl enable --now guix-daemon >+# systemctl enable --now gnu-store=2Emount guix-daemon > @end example >=20 > If your host distro uses the Upstart init system: >diff --git a/etc/gnu-store=2Emount=2Ein b/etc/gnu-store=2Emount=2Ein >new file mode 100644 >index 0000000000=2E=2Ec94f2db72b >--- /dev/null >+++ b/etc/gnu-store=2Emount=2Ein >@@ -0,0 +1,14 @@ >+[Unit] >+Description=3DRead-only @storedir@ for GNU Guix >+DefaultDependencies=3Dno >+ConditionPathExists=3D@storedir@ >+Before=3Dguix-daemon=2Eservice >+ >+[Install] >+WantedBy=3Dguix-daemon=2Eservice >+ >+[Mount] >+What=3D@storedir@ >+Where=3D@storedir@ >+Type=3Dnone >+Options=3Dbind,ro >diff --git a/etc/guix-install=2Esh b/etc/guix-install=2Esh >index 4909d3f162=2E=2Ed252c132fb 100755 >--- a/etc/guix-install=2Esh >+++ b/etc/guix-install=2Esh >@@ -342,7 +342,13 @@ sys_enable_guix_daemon() > _msg "${PAS}enabled Guix daemon via upstart" > ;; > systemd) >- { cp >"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eser= vice" >\ >+ { # systemd =2Emount units must be named after the target >directory=2E >+ # Here we assume a hard-coded name of /gnu/store=2E >+ cp >"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emount= " >\ >+ /etc/systemd/system/; >+ chmod 664 /etc/systemd/system/gnu-store=2Emount; >+ >+ cp >"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eser= vice" >\ > /etc/systemd/system/; > chmod 664 /etc/systemd/system/guix-daemon=2Eservice; >=20 >@@ -357,8 +363,8 @@ sys_enable_guix_daemon() > fi; >=20 > systemctl daemon-reload && >- systemctl start guix-daemon && >- systemctl enable guix-daemon; } && >+ systemctl start gnu-store=2Emount guix-daemon && >+ systemctl enable gnu-store=2Emount guix-daemon; } && > _msg "${PAS}enabled Guix daemon via systemd" > ;; > sysv-init) >diff --git a/nix/local=2Emk b/nix/local=2Emk >index a64bdd2137=2E=2E435fdd389a 100644 >--- a/nix/local=2Emk >+++ b/nix/local=2Emk >@@ -155,7 +155,17 @@ noinst_HEADERS =3D \ >=20 > # The '=2Eservice' files for systemd=2E > systemdservicedir =3D $(libdir)/systemd/system >-nodist_systemdservice_DATA =3D etc/guix-daemon=2Eservice >etc/guix-publish=2Eservice >+nodist_systemdservice_DATA =3D \ >+ etc/gnu-store=2Emount \ >+ etc/guix-daemon=2Eservice \ >+ etc/guix-publish=2Eservice >+ >+etc/%=2Emount: etc/%=2Emount=2Ein \ >+ $(top_builddir)/config=2Estatus >+ $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ >+ $(SED) -e 's|@''storedir''@|$(storedir)|' < \ >+ "$<" > "$@=2Etmp"; \ >+ mv "$@=2Etmp" "$@" >=20 > etc/guix-%=2Eservice: etc/guix-%=2Eservice=2Ein \ > $(top_builddir)/config=2Estatus I see that's how it's done with the existing service, but why sed the =2Ei= n file when we could let configure=2Eac take care of it? I'll try that on a VM of a foreign distro soonish and report=2E Thanks! From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller , Tobias Geerinckx-Rice , 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158946565118991 (code B ref 41259); Thu, 14 May 2020 14:15:02 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 14:14:11 +0000 Received: from localhost ([127.0.0.1]:34289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEcg-0004w9-Aj for submit@debbugs.gnu.org; Thu, 14 May 2020 10:14:11 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:43515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEca-0004vC-2p for 41259@debbugs.gnu.org; Thu, 14 May 2020 10:14:03 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A84475C0046; Thu, 14 May 2020 10:13:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 14 May 2020 10:13:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=5fcAH9tulVXXHJmsWCJp/2N/Ya ZU+yDkHFdUof3rcIQ=; b=j9wRzGopguSbuNeej7jQ1p1j8RY6mzm8nw9k97RMTQ PuPxHOtBJtiUrPi3BxkUlgKT5Gnr2uPJniHSDX9sLjG+lyR2Wh4q3GPE7FgjaFPj CkvwVrmZPeGbuueNx946k9UINH5CeEjgJc0yC6MoeVlK5D9GOHD5FAy1PBu3CGel RxU3Nb6oLWyL+DpwuhoI11SWK4LpxVu16AHSG+VDK9VCc5LWSk3bTgGuTBBEQN+G 5/G1OQM5477YP88p1dbw4IYzT++XXoKb50zuLmaFo/cAkJu6OEBteI2cv2S6ydGI oBvO2yeHP6kN3GED5twaO6anFkVwsWp8iU1gY9FvL/YA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5fcAH9 tulVXXHJmsWCJp/2N/YaZU+yDkHFdUof3rcIQ=; b=WqkFXf2eV5SIU1Vp43Xndj GR3gLHqd0IwE0dEoyLV7+NKDcuX8hsebgsbeQwbEnjx67MnByZh1xT2BmPPI0Iz8 JJ/WOMkZPEt27y5dTRmevXmLwuma2f6gnUwF3B+tCoFDTxH5s8WXlMj9LH41boQ0 X99PZuvVQlPYQk1pqA9hR/ImhooDBIyUAxVRow4noRdZ9HJFFJ4KaaITcW8u7HbZ daegWr7vo/6T2ah1+eRL6yMz4Npd5MYIo+9yiP5xEDIcUtnVMo6QnWpbbSXt5ElE 7XtTbqHJw8y84ZiiUGXwzneCSZznzlzVBaTaYhoXZxND31oQaPTiJOxFnq8bgv6w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleeigdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth htvghrnhepkedugeeiledvvdegieelffejudeitdfggfeiieffheduhffgvefhueeigffh heeknecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeekgedrvddtvddrieekrdejhe enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggr khhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id AF4A13060EF5; Thu, 14 May 2020 10:13:52 -0400 (EDT) From: Marius Bakke In-Reply-To: References: <20200514134846.29037-1-me@tobias.gr> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 14 May 2020 16:13:50 +0200 Message-ID: <874ksivc2p.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Julien Lepiller writes: >>+etc/%.mount: etc/%.mount.in \ >>+ $(top_builddir)/config.status >>+ $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ >>+ $(SED) -e 's|@''storedir''@|$(storedir)|' < \ >>+ "$<" > "$@.tmp"; \ >>+ mv "$@.tmp" "$@" >>=20 >> etc/guix-%.service: etc/guix-%.service.in \ >> $(top_builddir)/config.status > > I see that's how it's done with the existing service, but why sed the .in= file when we could let configure.ac take care of it? Because --storedir can in theory be something like '$prefix/store', which would not get properly expanded by configure. See "Installation Directory Variables" in the GNU Autoconf manual: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/= html_node/Installation-Directory-Variables.html (in particular scroll down to the notice about AC_CONFIG_FILES) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl69Uh4ACgkQoqBt8qM6 VPociQf9EQ1BTKTs33f/6L5L3OoHTTGwOSxg5gzbx0PtceI9968Cr1wcYn/z7AD5 TEam6RJnwcwoZiSiXyXS5+ls/52fxjh86vAjFRV6ghULbCZeolSPVnnU9ZaMtWAx MZhOzeYWecQUWdj0GZRWuTNUQ9ffxxPrRAvqa7eClbrELEpSu3dj6VrtBkzSVa3/ RDNQGYrrUrHshQHwr2/P1Io9UfGctQZ8eTl0wmUM7Vt4AAVQav+JNyGQ4b1DLtRK IteWbLPmeYo2fT+MH5OwYtnWoQnOQnk+Y7u3NJO3XuiV3WSWidYG5diAEcYGPNlf KAroIxiMqLMJ+1JJOSGuPtifufoBOQ== =7zsJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158946608419928 (code B ref 41259); Thu, 14 May 2020 14:22:02 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 14:21:24 +0000 Received: from localhost ([127.0.0.1]:34320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEjj-0005BM-Pk for submit@debbugs.gnu.org; Thu, 14 May 2020 10:21:24 -0400 Received: from tobias.gr ([80.241.217.52]:36112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEje-0005B7-0Y for 41259@debbugs.gnu.org; Thu, 14 May 2020 10:21:21 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 60625a5e; Thu, 14 May 2020 14:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=RGHbkY7XAkZStEwuTaU47i 8SRAmACqW9RVKAUbBNDYs=; b=S0769dhZ0cUhS3iKkPY8vcc1wkHQPu60+ZF2nt yI1Y9SE2ttnMiMsbYCVKCcd4iTSt9/VzgTvxFoNcnijLrTj27g1z39NLjqg0UWTs aEHYc9NNtO2OdmtdSctqHhMyEyl2Teey/+1KDlIfzoeOx0DGnY3A0G7Cuzkko+qB L+1fWfq9M5PH8Zgf5/QkQZ0xEDmO40GYDMxXrTuwP9Vgek3xlODyqkoSnxztr6Kj fv4ljSe/LDKkAazm9ncuppkaci91xcEI62dGuSj7joPrLKnsWGntGziuRq74W4Q/ nM5pfWz7b0q0wLH7i7WIAfdREu3+sXvfVz0Djcw26LVvFOEQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ad010ad7 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 14:21:18 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20200514134846.29037-1-me@tobias.gr> In-reply-to: Date: Thu, 14 May 2020 16:21:16 +0200 Message-ID: <87ftc2d2cj.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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; format=flowed Content-Transfer-Encoding: quoted-printable Julien, Julien Lepiller =E5=86=99=E9=81=93=EF=BC=9A >> etc/guix-%.service: etc/guix-%.service.in \ >> $(top_builddir)/config.status > > I see that's how it's done with the existing service, but why=20 > sed the .in file when we could let configure.ac take care of it? =C2=AF\_(=E3=83=84)_/=C2=AF! TBH I wondered the same thing but am not in deep-dive mode ATM. > I'll try that on a VM of a foreign distro soonish and=20 > report. Thanks! Thank you! I'm still in the middle of reinstalling Guix on my=20 main laptop, which should give me back my magical KVM powers. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr1T3AAKCRANsP+IT1Vt ecx8AP9pb5Q0pC27b9Ucx7eRLU+s5L5SzpmdM4S6TIN3BeTfcAD/UHTAg7usE1X8 T9QUkEFzinrOZuvsJZJPXbD7lDNzUgs= =P4td -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org X-Debbugs-Original-To: Tobias Geerinckx-Rice via Guix-patches X-Debbugs-Original-Cc: 41259@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158946628220317 (code B ref -1); Thu, 14 May 2020 14:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2020 14:24:42 +0000 Received: from localhost ([127.0.0.1]:34333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEmv-0005Hc-US for submit@debbugs.gnu.org; Thu, 14 May 2020 10:24:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:50408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEmt-0005HS-JS for submit@debbugs.gnu.org; Thu, 14 May 2020 10:24:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEmt-0007bS-BO for guix-patches@gnu.org; Thu, 14 May 2020 10:24:39 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:41726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEmr-0006wz-RX for guix-patches@gnu.org; Thu, 14 May 2020 10:24:38 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 4ba419c8; Thu, 14 May 2020 14:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=BrYKbG84c6dEZkL4FvEMge pAhc8E4Kkb7V6OqOdtOVs=; b=LHvOscATGUxpeCSLG1d4KWJU6UtAB0oqQmy1ul On1NX76A3fUC3WkXrJrGGvNHxNcIF6rVNiWLBotzMkYTh/gpwQyzL6KbDGHoRzoe IRS7ySEZLAt/C646PK6eawAPrOHScQ3xj19D3t4JbL4R2ziXClL2Eo7QXIAzLpc6 qsagOC1JbadiFCeJP3wbxJG6hv27WZ2SFsK6BkAQ8R2PlwOuxRxXkGhH7y8X1Ujb uDcjKeXakQjomQkWGMzF6X3V/VNXDkUbYG/M1oUDaaNQZwgL1BCrI5p6ZpnrgV6W ZPnfWSF+SgurKCGpTCj1WOw7vmGHP0wU+W4rbUwSiohWJPog== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6c9d0cb0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 14:24:36 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20200514134846.29037-1-me@tobias.gr> In-reply-to: <20200514134846.29037-1-me@tobias.gr> Date: Thu, 14 May 2020 16:24:34 +0200 Message-ID: <87d076d271.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) 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 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > systemctl daemon-reload && > - systemctl start guix-daemon && > - systemctl enable guix-daemon; } && > + systemctl start gnu-store.mount guix-daemon=20 > && > + systemctl enable gnu-store.mount guix-daemon;=20 > } && Speaking of things I wondered: I'm no systemd wizard but I think=20 =E2=80=98enable --now=E2=80=99 would be equivalent and less repetitive. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr1UogAKCRANsP+IT1Vt eWv4AQDZMZ5apuYVzFkDo42bl9bYt69FkyWQSPW6qPp/347vOwD/cF4yNIQfwnkS p5pFgNY8grEeCykMFwEN+iQ6NgVaLQA= =OKPw -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 41259@debbugs.gnu.org, Julien Lepiller Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158946633020495 (code B ref 41259); Thu, 14 May 2020 14:26:02 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 14:25:30 +0000 Received: from localhost ([127.0.0.1]:34351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEni-0005KV-Ly for submit@debbugs.gnu.org; Thu, 14 May 2020 10:25:30 -0400 Received: from tobias.gr ([80.241.217.52]:36136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEng-0005KL-FI for 41259@debbugs.gnu.org; Thu, 14 May 2020 10:25:29 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id dbb8268c; Thu, 14 May 2020 14:25:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=Mbc/huYYJhfVQMoP/vS1i7 x379+RxaaxKBY200j4kiA=; b=n8wTkqY/xPekyA3hk3jZSRVw0qqrkqFyV6dCrd j8dzoYmBrzdV+WIZcyi+Qpt0Kc6Ky2mEDCNxcV2h4q1IezUVkvt75SOEPapChr1c 1bihB742MGNW0mZ7NYXOiUMp+G2ic4+Mbb7jKjITfeEb6Emqox1uq+VflNZDZhzw 9vH+vpMkQZZQPVl4na92W8z+aXPDtyYzAiEbju8Ek+TOT3eyxSfDsSZuys5HYylA khgCDBZhktjoBC5BW/z/GfVFLbr8ol1KjB7ECaM3GMW9j4BNlKzgNS+EGfh9qoE+ vVSlVYgR5NNunbplqPvUFzM5lo27/QxU9j0HI5131Ko8C+gA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c7efcf27 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 14:25:29 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20200514134846.29037-1-me@tobias.gr> <874ksivc2p.fsf@devup.no> In-reply-to: <874ksivc2p.fsf@devup.no> Date: Thu, 14 May 2020 16:25:26 +0200 Message-ID: <87a72ad25l.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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; format=flowed Content-Transfer-Encoding: quoted-printable Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A >> I see that's how it's done with the existing service, but why=20 >> sed the .in file when we could let configure.ac take care of=20 >> it? > > Because --storedir can in theory be something like=20 > '$prefix/store', > which would not get properly expanded by configure. Makes sense. Thanks Marius, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr1U1wAKCRANsP+IT1Vt eRdZAQDyT+fZ4xQ9PdYTdQqfGei6onS+7Jpsfhpx8G2/JqvPpgD+KNc74Bo1JRYl IFs89KblIfNuiDm1zQUw2a/AHhW5Fgw= =5ve1 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org, me@tobias.gr X-Debbugs-Original-To: guix-patches@gnu.org, Tobias Geerinckx-Rice , 41259@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15894741512811 (code B ref -1); Thu, 14 May 2020 16:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2020 16:35:51 +0000 Received: from localhost ([127.0.0.1]:34584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZGpn-0000j7-N3 for submit@debbugs.gnu.org; Thu, 14 May 2020 12:35:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:50786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZGpY-0000ie-Dm for submit@debbugs.gnu.org; Thu, 14 May 2020 12:35:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZGpY-0005Oj-6W for guix-patches@gnu.org; Thu, 14 May 2020 12:35:32 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:45986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZGpT-00028v-RF for guix-patches@gnu.org; Thu, 14 May 2020 12:35:31 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 081242b0; Thu, 14 May 2020 16:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=1uQJMRWdBdem92tZzO+DH+4Pk8jFiRNvI4x9znnSftk=; b=Li4zKtpQELLQ fgNruvbxTwDwT9Q953DcWJNIt//t5/G5g8xQCUK62dpUOLGisDPgTjIoZFbuDJ+s LWV1omCuXbeAa7WQGofXXv9Zd7/YwGby3v+Um2vWqKrRzVs8P0POhOGVPWxCRK8l UWjsRYMp7zAr+++V5+ijzRssjGR/ffUbrbG4pVuz1Vxd1YfImaOzSq1x9WlP8MeF 2nb9G9Lno2Osd891rR3jhycP/DFu0mNVWlEy5BWzofV+djSveT/pZUmCfJUOZNAA 9FpzHTx91IeeOaao8mxBWfgAV8W/3VcLOaFFyMKvOuHaZbzH256rYuklEDOg5V/y n1o6uh3SiA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id fe7d552c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 16:35:24 +0000 (UTC) Date: Thu, 14 May 2020 12:35:12 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <20200514134846.29037-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: Received-SPF: none client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) Le 14 mai 2020 10:01:51 GMT-04:00, Julien Lepiller a= =C3=A9crit : >Le 14 mai 2020 09:48:46 GMT-04:00, Tobias Geerinckx-Rice via >Guix-patches via a =C3=A9crit : >>* etc/gnu-store=2Emount=2Ein: New file=2E >>* nix/local=2Emk (nodist_systemdservice_DATA): Add it=2E >>(etc/%=2Emount): New rule=2E >>* etc/guix-install=2Esh (sys_enable_guix_daemon): Install it=2E >>* doc/guix=2Etexi (Binary Installation): Document it=2E >>--- >> >>For >>=2E >> >> doc/guix=2Etexi | 5 +++-- >> etc/gnu-store=2Emount=2Ein | 14 ++++++++++++++ >> etc/guix-install=2Esh | 12 +++++++++--- >> nix/local=2Emk | 12 +++++++++++- >> 4 files changed, 37 insertions(+), 6 deletions(-) >> create mode 100644 etc/gnu-store=2Emount=2Ein >> >>diff --git a/doc/guix=2Etexi b/doc/guix=2Etexi >>index d6fbd85fde=2E=2E5d80a7e405 100644 >>--- a/doc/guix=2Etexi >>+++ b/doc/guix=2Etexi >>@@ -659,9 +659,10 @@ with these commands: >> @c >https://lists=2Egnu=2Eorg/archive/html/guix-devel/2017-01/msg01199=2Ehtml >>=20 >> @example >>-# cp >~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservice >>\ >>+# cp ~root/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emount = \ >>+ =20 >~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservice >>\ >> /etc/systemd/system/ >>-# systemctl enable --now guix-daemon >>+# systemctl enable --now gnu-store=2Emount guix-daemon >> @end example >>=20 >> If your host distro uses the Upstart init system: >>diff --git a/etc/gnu-store=2Emount=2Ein b/etc/gnu-store=2Emount=2Ein >>new file mode 100644 >>index 0000000000=2E=2Ec94f2db72b >>--- /dev/null >>+++ b/etc/gnu-store=2Emount=2Ein >>@@ -0,0 +1,14 @@ >>+[Unit] >>+Description=3DRead-only @storedir@ for GNU Guix >>+DefaultDependencies=3Dno >>+ConditionPathExists=3D@storedir@ >>+Before=3Dguix-daemon=2Eservice >>+ >>+[Install] >>+WantedBy=3Dguix-daemon=2Eservice >>+ >>+[Mount] >>+What=3D@storedir@ >>+Where=3D@storedir@ >>+Type=3Dnone >>+Options=3Dbind,ro >>diff --git a/etc/guix-install=2Esh b/etc/guix-install=2Esh >>index 4909d3f162=2E=2Ed252c132fb 100755 >>--- a/etc/guix-install=2Esh >>+++ b/etc/guix-install=2Esh >>@@ -342,7 +342,13 @@ sys_enable_guix_daemon() >> _msg "${PAS}enabled Guix daemon via upstart" >> ;; >> systemd) >>- { cp >>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Ese= rvice" >>\ >>+ { # systemd =2Emount units must be named after the target >>directory=2E >>+ # Here we assume a hard-coded name of /gnu/store=2E >>+ cp >>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emoun= t" >>\ >>+ /etc/systemd/system/; >>+ chmod 664 /etc/systemd/system/gnu-store=2Emount; >>+ >>+ cp >>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Ese= rvice" >>\ >> /etc/systemd/system/; >> chmod 664 /etc/systemd/system/guix-daemon=2Eservice; >>=20 >>@@ -357,8 +363,8 @@ sys_enable_guix_daemon() >> fi; >>=20 >> systemctl daemon-reload && >>- systemctl start guix-daemon && >>- systemctl enable guix-daemon; } && >>+ systemctl start gnu-store=2Emount guix-daemon && >>+ systemctl enable gnu-store=2Emount guix-daemon; } && >> _msg "${PAS}enabled Guix daemon via systemd" >> ;; >> sysv-init) >>diff --git a/nix/local=2Emk b/nix/local=2Emk >>index a64bdd2137=2E=2E435fdd389a 100644 >>--- a/nix/local=2Emk >>+++ b/nix/local=2Emk >>@@ -155,7 +155,17 @@ noinst_HEADERS =3D \ >>=20 >> # The '=2Eservice' files for systemd=2E >> systemdservicedir =3D $(libdir)/systemd/system >>-nodist_systemdservice_DATA =3D etc/guix-daemon=2Eservice >>etc/guix-publish=2Eservice >>+nodist_systemdservice_DATA =3D \ >>+ etc/gnu-store=2Emount \ >>+ etc/guix-daemon=2Eservice \ >>+ etc/guix-publish=2Eservice >>+ >>+etc/%=2Emount: etc/%=2Emount=2Ein \ >>+ $(top_builddir)/config=2Estatus >>+ $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ >>+ $(SED) -e 's|@''storedir''@|$(storedir)|' < \ >>+ "$<" > "$@=2Etmp"; \ >>+ mv "$@=2Etmp" "$@" >>=20 >> etc/guix-%=2Eservice: etc/guix-%=2Eservice=2Ein \ >> $(top_builddir)/config=2Estatus > >I see that's how it's done with the existing service, but why sed the >=2Ein file when we could let configure=2Eac take care of it? > >I'll try that on a VM of a foreign distro soonish and report=2E Thanks! I tested it on a debian VM and it worked well=2E I tested the installer sc= ript and it fails at installing the =2Emount unit, because it does not exis= t in the tarball=2E After installing the unit manually, I could start the =2Emount service and= found that I was not able to remove store store items with rm=2E I checked= that Guix is able to install new store items=2E From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 18:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org,me@tobias.gr Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158948219626928 (code B ref 41259); Thu, 14 May 2020 18:50:02 +0000 Received: (at 41259) by debbugs.gnu.org; 14 May 2020 18:49:56 +0000 Received: from localhost ([127.0.0.1]:34819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZIvV-000704-Aw for submit@debbugs.gnu.org; Thu, 14 May 2020 14:49:56 -0400 Received: from lepiller.eu ([89.234.186.109]:57728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZIvQ-0006zr-48 for 41259@debbugs.gnu.org; Thu, 14 May 2020 14:49:48 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3af5939e; Thu, 14 May 2020 18:49:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=p+jyHuVc+4yorLoy+DLV4qHu5bky1q1bEW7SaPmAFqw=; b=LP+8FM5M2EGz 6tp+oUgiO9uJzE2hkZgBFaWvMLcv/q6T9Xn+pCQ7Y644Q7lsvgSxgQSAMpD2LJi9 sUTKkkAgjNu/pc8bjijC+7reeGhvFpihKWRZdewSH4lP01cudMYO8pwVhHX8HusX /1eVZCl+AWTsqWhW2Vgb0h6fqCRQPx0yWg6yKu1jVAzqDZBsEAobzfEgE7WnJWkf iChuwTlpCp01QDhS+iwSud+r3rKhx/RK+LNnx1H6LTYa1q8AOVvp73vx0Q4GbDsF mEHC03SCT3ZDNHRmWe7x9FaVkGVFKUeC+X/vq33CmbT11YGaUP6kkpOUP6jGVsDp C7XfBn4X8A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f3a7f343 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 14 May 2020 18:49:38 +0000 (UTC) Date: Thu, 14 May 2020 14:49:15 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <20200514134846.29037-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: <0CDBC9C6-B6B1-4696-A2C0-7D5BD3BA887D@lepiller.eu> X-Spam-Score: 0.0 (/) 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 (-) Le 14 mai 2020 12:35:12 GMT-04:00, Julien Lepiller a= =C3=A9crit : >Le 14 mai 2020 10:01:51 GMT-04:00, Julien Lepiller >a =C3=A9crit : >>Le 14 mai 2020 09:48:46 GMT-04:00, Tobias Geerinckx-Rice via >>Guix-patches via a =C3=A9crit : >>>* etc/gnu-store=2Emount=2Ein: New file=2E >>>* nix/local=2Emk (nodist_systemdservice_DATA): Add it=2E >>>(etc/%=2Emount): New rule=2E >>>* etc/guix-install=2Esh (sys_enable_guix_daemon): Install it=2E >>>* doc/guix=2Etexi (Binary Installation): Document it=2E >>>--- >>> >>>For >>>=2E >>> >>> doc/guix=2Etexi | 5 +++-- >>> etc/gnu-store=2Emount=2Ein | 14 ++++++++++++++ >>> etc/guix-install=2Esh | 12 +++++++++--- >>> nix/local=2Emk | 12 +++++++++++- >>> 4 files changed, 37 insertions(+), 6 deletions(-) >>> create mode 100644 etc/gnu-store=2Emount=2Ein >>> >>>diff --git a/doc/guix=2Etexi b/doc/guix=2Etexi >>>index d6fbd85fde=2E=2E5d80a7e405 100644 >>>--- a/doc/guix=2Etexi >>>+++ b/doc/guix=2Etexi >>>@@ -659,9 +659,10 @@ with these commands: >>> @c >>https://lists=2Egnu=2Eorg/archive/html/guix-devel/2017-01/msg01199=2Ehtm= l >>>=20 >>> @example >>>-# cp >>~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservice >>>\ >>>+# cp ~root/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emount= \ >>>+ =20 >>~root/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Eservice >>>\ >>> /etc/systemd/system/ >>>-# systemctl enable --now guix-daemon >>>+# systemctl enable --now gnu-store=2Emount guix-daemon >>> @end example >>>=20 >>> If your host distro uses the Upstart init system: >>>diff --git a/etc/gnu-store=2Emount=2Ein b/etc/gnu-store=2Emount=2Ein >>>new file mode 100644 >>>index 0000000000=2E=2Ec94f2db72b >>>--- /dev/null >>>+++ b/etc/gnu-store=2Emount=2Ein >>>@@ -0,0 +1,14 @@ >>>+[Unit] >>>+Description=3DRead-only @storedir@ for GNU Guix >>>+DefaultDependencies=3Dno >>>+ConditionPathExists=3D@storedir@ >>>+Before=3Dguix-daemon=2Eservice >>>+ >>>+[Install] >>>+WantedBy=3Dguix-daemon=2Eservice >>>+ >>>+[Mount] >>>+What=3D@storedir@ >>>+Where=3D@storedir@ >>>+Type=3Dnone >>>+Options=3Dbind,ro >>>diff --git a/etc/guix-install=2Esh b/etc/guix-install=2Esh >>>index 4909d3f162=2E=2Ed252c132fb 100755 >>>--- a/etc/guix-install=2Esh >>>+++ b/etc/guix-install=2Esh >>>@@ -342,7 +342,13 @@ sys_enable_guix_daemon() >>> _msg "${PAS}enabled Guix daemon via upstart" >>> ;; >>> systemd) >>>- { cp >>>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Es= ervice" >>>\ >>>+ { # systemd =2Emount units must be named after the target >>>directory=2E >>>+ # Here we assume a hard-coded name of /gnu/store=2E >>>+ cp >>>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/gnu-store=2Emou= nt" >>>\ >>>+ /etc/systemd/system/; >>>+ chmod 664 /etc/systemd/system/gnu-store=2Emount; >>>+ >>>+ cp >>>"${ROOT_HOME}/=2Econfig/guix/current/lib/systemd/system/guix-daemon=2Es= ervice" >>>\ >>> /etc/systemd/system/; >>> chmod 664 /etc/systemd/system/guix-daemon=2Eservice; >>>=20 >>>@@ -357,8 +363,8 @@ sys_enable_guix_daemon() >>> fi; >>>=20 >>> systemctl daemon-reload && >>>- systemctl start guix-daemon && >>>- systemctl enable guix-daemon; } && >>>+ systemctl start gnu-store=2Emount guix-daemon && >>>+ systemctl enable gnu-store=2Emount guix-daemon; } && >>> _msg "${PAS}enabled Guix daemon via systemd" >>> ;; >>> sysv-init) >>>diff --git a/nix/local=2Emk b/nix/local=2Emk >>>index a64bdd2137=2E=2E435fdd389a 100644 >>>--- a/nix/local=2Emk >>>+++ b/nix/local=2Emk >>>@@ -155,7 +155,17 @@ noinst_HEADERS =3D \ >>>=20 >>> # The '=2Eservice' files for systemd=2E >>> systemdservicedir =3D $(libdir)/systemd/system >>>-nodist_systemdservice_DATA =3D etc/guix-daemon=2Eservice >>>etc/guix-publish=2Eservice >>>+nodist_systemdservice_DATA =3D \ >>>+ etc/gnu-store=2Emount \ >>>+ etc/guix-daemon=2Eservice \ >>>+ etc/guix-publish=2Eservice >>>+ >>>+etc/%=2Emount: etc/%=2Emount=2Ein \ >>>+ $(top_builddir)/config=2Estatus >>>+ $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ >>>+ $(SED) -e 's|@''storedir''@|$(storedir)|' < \ >>>+ "$<" > "$@=2Etmp"; \ >>>+ mv "$@=2Etmp" "$@" >>>=20 >>> etc/guix-%=2Eservice: etc/guix-%=2Eservice=2Ein \ >>> $(top_builddir)/config=2Estatus >> >>I see that's how it's done with the existing service, but why sed the >>=2Ein file when we could let configure=2Eac take care of it? >> >>I'll try that on a VM of a foreign distro soonish and report=2E Thanks! > >I tested it on a debian VM and it worked well=2E I tested the installer >script and it fails at installing the =2Emount unit, because it does not >exist in the tarball=2E > >After installing the unit manually, I could start the =2Emount service >and found that I was not able to remove store store items with rm=2E I >checked that Guix is able to install new store items=2E For non systemd distros, adding the following line to /etc/fstab works: @storedir@ @storedir@ none defaults,bind,ro 0 0 Then running "mount -a" remounts the store read-only=2E I'm not sure how to integrate this properly in the installer script=2E From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. References: <20200514134846.29037-1-me@tobias.gr> In-Reply-To: <20200514134846.29037-1-me@tobias.gr> Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158952810930888 (code B ref 41259); Fri, 15 May 2020 07:36:01 +0000 Received: (at 41259) by debbugs.gnu.org; 15 May 2020 07:35:09 +0000 Received: from localhost ([127.0.0.1]:35769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZUs8-000827-Na for submit@debbugs.gnu.org; Fri, 15 May 2020 03:35:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZUs6-00081U-RR for 41259@debbugs.gnu.org; Fri, 15 May 2020 03:35:07 -0400 Received: by mail-wr1-f68.google.com with SMTP id s8so2275197wrt.9 for <41259@debbugs.gnu.org>; Fri, 15 May 2020 00:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=ogR6A/mDLFt96T2Z3HEXi8r01f9HFbI5KJN6ApgzHc0=; b=Nplbx/kbO3vIeBof6zWINZmE+mio5kVw8JM1M6uNJEUHQQk/CeslyCYjpNL+0XW2DI /dPL81SN3pzSOPc8VCFVJIXIkUB87Nf21rXpPKhcbnFTY5v/Cn/7hR4aE+LsocQchvqp 1r0VMYqg8s2bm06mVa/P5OQvwFCp9ekrGgxwVlbwSJVNX1a8GZqZIn2yrJbew11yWJSE zq/L8NrOXQ9IIB5QOcWyWVKNujqcQATq441Jer35CaILDcYj44JGOQJsB+USutHu1Hfl XNujbjH8hCLciNVnVVNI4egtFjE18PqFZPylw3sJ9lEsvwnjJwyqudNB8l98GzXWuxM1 3OVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=ogR6A/mDLFt96T2Z3HEXi8r01f9HFbI5KJN6ApgzHc0=; b=MhcIBNWqByUnUR67oNtIcx3U7ARAodJm0fn79KkRSF4Ci+TU8oEcw8+McjVDyJ+GcH 4LIe+rs9Mop0VorAhVd9pScM2XfWMGXTCwRohNfkd5Wu+QWe8DYLUhsC9gGpMcZ6b4ni uDSxaJwaFNCqbFVDlMWejMYeDrO4pJwMIWUsGL/Uspn6ela3g11ZvCMcEGRv+Ntz/RZi yBC7xYXsw4tOmxjuLQ6BFDzB0FJ+7Z9R6km8kE0kL55NRrb1RqsZnIMoZPbFubQTwodW 8puiP6K0FYMwrYrOQZm3Ti0sW/RYwxhiQOi+hDsTKd5Oov35hgvOv96Oh+kUeTIild9H 2kDg== X-Gm-Message-State: AOAM533y5H3yk4l+GZd9/zq+79qecWxajL6iMeiHE3r3Q8qB+pcitqOm 3EV39GXR4d2QX6XfFthVDCReH9q1 X-Google-Smtp-Source: ABdhPJzZCZVZRfOWh+Z4D0MmNnOuq1SLGyqIYUnNhhNw3egeB6T8v05rYxyuV6bGAAjmQlgiapaJ+g== X-Received: by 2002:a5d:4b45:: with SMTP id w5mr2838159wrs.358.1589528100610; Fri, 15 May 2020 00:35:00 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id c193sm2222974wme.37.2020.05.15.00.34.55 for <41259@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 May 2020 00:34:55 -0700 (PDT) From: Vincent Legoll Message-ID: <1061cdaa-0be4-728c-4311-8d3a6172435d@gmail.com> Date: Fri, 15 May 2020 09:34:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 (-) Hello Tobias, As this will conflict with the work I'm preparing (runit, openrc, non-interactive-mode, busybox compatibility, local binary tarball & misc cleanups) I'll give it a spin on a bunch of different OS versions (fedora rawhide, debian 9 & 10, devuan, alpine & void/i686) later today. -- Vincent Legoll From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] .gitignore ? References: <20200514134846.29037-1-me@tobias.gr> In-Reply-To: <20200514134846.29037-1-me@tobias.gr> Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158955996223243 (code B ref 41259); Fri, 15 May 2020 16:27:02 +0000 Received: (at 41259) by debbugs.gnu.org; 15 May 2020 16:26:02 +0000 Received: from localhost ([127.0.0.1]:38603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZd9t-00062i-Vk for submit@debbugs.gnu.org; Fri, 15 May 2020 12:26:02 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:50453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZd9t-00062W-6b for 41259@debbugs.gnu.org; Fri, 15 May 2020 12:26:01 -0400 Received: by mail-wm1-f54.google.com with SMTP id m12so2927111wmc.0 for <41259@debbugs.gnu.org>; Fri, 15 May 2020 09:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=esm10kBup+E4sQ79Z0QrJZrQzF3fkVW7E18X8VmB7LA=; b=BG86hxBDKgVWpKzVTlsY7+FXssLU96U8wExRImaB9+e7/gEIxFQFVSRzELVf5G1UEA L8LeEbabGPhUaeoAz4PyeNnwlil/NkAYLSdM1YnVWnTEgNGyRkcIzYiEaAD3xYWr53SV oBI9WcAUsYd0QVWeW9MoTxvPbeodEvjdnMKXAFAiz3amSkWhL7gJlReASjyfdNs3eZfN 0RRZ/QQSXEVDZ0KuCx8i7/Cm4nF9yR5C4NEsF50mtCmoqb6HB0T7Q79XUmXjmcAWRmsk Xt5gBSD0WO6m4PozIwkau2xh4PNH8BNR14RkavV3wrYgygJEhmmVTesbhvspIl3fnOdj ltTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=esm10kBup+E4sQ79Z0QrJZrQzF3fkVW7E18X8VmB7LA=; b=uWT8674JTDtB/qBc7JDUSpe2ruDpqK2iHYLRk6rqBqoqi1V2Zo/Boq9P5+9O7YHKoQ 1KMeF/WtEwzxsmVKip/vZLEtDumdy6xNXsZqzhjCx6wOdkQQ1a5A3Sg8zZQ1EyxF+8Ar 6Ydp7G0mzgCMyI0Wi+QRxTKe0ue8dz4EoMXdUDOb6pk51IyozsWnB/0bOr+T3qZkLU9l 774dH22hf7uPbCPP6bHtSAB+udGrKLUyxZRQyOc9kqylE96ME68sO9UJFQC8FwTazirI UF6OLIfeiaCxpDoRXrDltWrkmbujaUrvcwZ0i7rC58k64MGaCnXFKgGwfign3y95M2+M 4bkw== X-Gm-Message-State: AOAM533nqIeIEibjcYjt1mOaLg8/NVe2D2giEKj0OJmcizfr79CO1Tur msptXkqEO9lZBGbzYc6oT2B0s9Ca X-Google-Smtp-Source: ABdhPJyg4T8byyY4EhQe/4uamzuh1dKxtthhVNvasaEraYdfMeb3Kp7Fvr0E3BqQNFt4MmwKQESf2A== X-Received: by 2002:a1c:750a:: with SMTP id o10mr4745834wmc.161.1589559954961; Fri, 15 May 2020 09:25:54 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id l18sm4126333wmj.22.2020.05.15.09.25.53 for <41259@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 May 2020 09:25:53 -0700 (PDT) From: Vincent Legoll Message-ID: Date: Fri, 15 May 2020 18:25:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 (-) Hello Tobias, shouldn't your patch also add: /etc/gnu-store.mount to .gitignore ? I'm doing the tests now, stay tuned for the results. -- Vincent Legoll From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] .gitignore ? Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vincent Legoll Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158956152926928 (code B ref 41259); Fri, 15 May 2020 16:53:01 +0000 Received: (at 41259) by debbugs.gnu.org; 15 May 2020 16:52:09 +0000 Received: from localhost ([127.0.0.1]:38637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZdZB-00070G-Jw for submit@debbugs.gnu.org; Fri, 15 May 2020 12:52:09 -0400 Received: from tobias.gr ([80.241.217.52]:42830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZdZ9-000701-Ug for 41259@debbugs.gnu.org; Fri, 15 May 2020 12:52:08 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id c3fea859; Fri, 15 May 2020 16:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=USHh7sw5BbnOJHLFx2Ngaj CHJuxHpzCLG2AVuELVx20=; b=XVPzQQaAbTHart3GnrUQFcnhQEZhNH8Ejan4jy MUcMkHez2d00ON+FivmQbS7Z0tcSMbCQxnM1LlvBZ8S+To9S1e1ag3FV6mB6Zr3p luOO2h+xIPZxKY3K+Icslb3ZWh+PmcKLMM4xgn+pDZTef52Fs0GusmY/f67BX9pP UXpfKpARijk4i2gdnQwP1IPpeJ+JNiujTQIub/rgN1nrlkCGKgceZvRGfpL/HHDo Y9c3EsS4WkbkYExz7g2Kfk7aY9obVTNzf53cxiQFDT40Sn5jANJxk0sbjnBCQHeY UArnJY6VzxsXd4s5cHTpW45rC+KuJyUmg1lnQcO0ipKPu7mQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c7ead8ac (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 15 May 2020 16:52:07 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20200514134846.29037-1-me@tobias.gr> In-reply-to: Date: Fri, 15 May 2020 18:52:02 +0200 Message-ID: <87blmpjg3x.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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; format=flowed Content-Transfer-Encoding: quoted-printable Vincent, Vincent Legoll =E5=86=99=E9=81=93=EF=BC=9A > shouldn't your patch also add: /etc/gnu-store.mount > to .gitignore ? Probably, it's not a file I ever think of. Done. How does this conflict with your work? Thanks, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr7IsgAKCRANsP+IT1Vt eaM6AP0TAyKCEGDOqbfLZb3GO88kPRistt2qctjYQJxtsi73PQEAmV1k2ENSYemk TLkQhUZHfj456xEgdx/+2BWUednpaww= =fRR1 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] .gitignore ? Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 May 2020 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158956174127364 (code B ref 41259); Fri, 15 May 2020 16:56:02 +0000 Received: (at 41259) by debbugs.gnu.org; 15 May 2020 16:55:41 +0000 Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZdcb-00077I-4X for submit@debbugs.gnu.org; Fri, 15 May 2020 12:55:41 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:35002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZdcX-00076z-FI for 41259@debbugs.gnu.org; Fri, 15 May 2020 12:55:40 -0400 Received: by mail-wr1-f41.google.com with SMTP id j5so4373301wrq.2 for <41259@debbugs.gnu.org>; Fri, 15 May 2020 09:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Rhi2Ek/LFDdAxEB0kn/K/hH0cuLJ4QtWBjqduotMNHQ=; b=rCJP8kepMDOuOm8MURhYEU0WIoE6Gx+l5aafpjZUBiZgBQnR5EsccHZsulJVPIRWNz M0kPzipKETSUHgjkRM5xL5dw+IoXzi50gPvQqsAzrlxI/IBLi+B/M+NvtPmdb0L+NXj4 L8+wsaVyignXKf0VG+WFFF5olSiG1jztGsbxXK8wG6u5MOjhJ/UijIrtEKD6ZcAfU5ar opcvzcY6MC4tU8XsA6cxMVda5EbJ5626A/u/4N2nplUPC2zz907icfVKd6w9Yk30KP3A GTu34gL4Ov5OnQh/Kio21+LFcwhQ4hnmsM+49a+XV8D0bElnpRNEltsjXzDF04C+17Rb +afQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Rhi2Ek/LFDdAxEB0kn/K/hH0cuLJ4QtWBjqduotMNHQ=; b=bKIcyx9eS+MUqkBRtW2qH78LP8I2uoqXpEVktSFYeexDI7LWda86EdRA+5n3DH7m6h vsfXQxMNWqW+qEoDND44AB/vclxVBoZMHgt5WwQFgeVoka7zJOsqT/qYaIM6AdVJb66T ksRsF3yaSRS/fBJqEchAvjHw8MJ78XJwXH3yh5lm/pznYGQaGsTgjUHYihwqfz0t/FTD MJO8l8QDg7ar3AEvBTX+ZeU11egi56VQb3TP74Mc6wVotm4OgxJCkpHTrTw9BxCg1qcQ RQ4EMmozDja4L1T0iShmwEVPXIGVRVSol6gOmAIOVdaWqO1AX832hjvK86dz028Wdtpa Anuw== X-Gm-Message-State: AOAM532ii7Sa4UUD9ULnNUd2miAzZ4d+03n0YYdxtt6gosVhsY5LE/AW 24X0jVNSfeQAyB3Ry4QOM7TcO0eO X-Google-Smtp-Source: ABdhPJwCe56usiPIzQ0QRRd35MVizqxxgV6vPe2LOmwKcBBXr35+ky281W3u/JggUHLhtUINvLc1tw== X-Received: by 2002:adf:8302:: with SMTP id 2mr5402431wrd.114.1589561731115; Fri, 15 May 2020 09:55:31 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id 8sm3299243wmb.15.2020.05.15.09.55.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 May 2020 09:55:30 -0700 (PDT) References: <20200514134846.29037-1-me@tobias.gr> <87blmpjg3x.fsf@nckx> From: Vincent Legoll Message-ID: Date: Fri, 15 May 2020 18:55:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <87blmpjg3x.fsf@nckx> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 (-) Hello, On 15/05/2020 18:52, Tobias Geerinckx-Rice wrote: > How does this conflict with your work? I'll get a merge conflict in etc/guix-install.sh and maybe also in nix/local.mk but that's OK, it will be simple enough to handle. -- Vincent Legoll From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] .gitignore ? Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 May 2020 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158963274713437 (code B ref 41259); Sat, 16 May 2020 12:40:02 +0000 Received: (at 41259) by debbugs.gnu.org; 16 May 2020 12:39:07 +0000 Received: from localhost ([127.0.0.1]:39993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZw5p-0003Ud-Jw for submit@debbugs.gnu.org; Sat, 16 May 2020 08:39:07 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:39098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZw5k-0003U6-LG for 41259@debbugs.gnu.org; Sat, 16 May 2020 08:39:05 -0400 Received: by mail-wm1-f41.google.com with SMTP id w64so5335463wmg.4 for <41259@debbugs.gnu.org>; Sat, 16 May 2020 05:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YlwfhhyjEJ50NeJ9b2qVXFaumCpZ77zmVmBwqv74e54=; b=d3zMIpz/DBOsiAVSDV043znKd8LqY3ei2S8O0L6ntML1PS4PGhEgcMC/+QUlGcOv0s 6xjxJUVg9bwFrS/68d3IAQ5SgBZ/CHYk9uKQOd/jLl1adDf6KMZ6gk+z+U9chzPFckrX IQM+/SHMrh9azcUekpr5FHTBxodOcdZ2m/co/sctiubvw5Tr4MSBwCxGo+o9AjM/9p9v 0CyTKLMTaz+cDP2znRlt8o9EO3B4jsRhl9bfuOi2GxUXr4e+42jqNmmk13nqPH+0a+az 43Lmf4ysHN+YbK2QDjNlQBsAqoyhMS0uxx9XAAFMGwrqyf+e0yH/52Bmyct38EypyaMN LWgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YlwfhhyjEJ50NeJ9b2qVXFaumCpZ77zmVmBwqv74e54=; b=mshn21rLekhZF5M+YxKsQtVD14N77KEfzBV73YsPMLAsgW9C5oGNE8smMDd7wrQbYI 98lIKX81mSLiLV5RzD6peVn2PH7hn/aBJs/9J8oAmgT5LJ98GPBHTfyrnxCwFzBGC5kH Ib+KRAewI8RIumPX11KobztFIlDMcjtMC2PDu2mwRGnra4w2goGRo4vclQeLeOccP7sG TB+LuWP8mi38o/NJ2dlpfw99V/jHZ4dcjs9PDanrkGmdM3+2FfIVllLmfzr5zbYgu7OO LhP3J+MiZy8NV27u+0Z7PC9eJ1qw04yfyRJt5pWZC4rWpXF1JADK5Z2+NgLwdMm20HPf CNSQ== X-Gm-Message-State: AOAM532n5WIN2MFsNlMOXO8+Qx0KObOTDQR7v9FzTdOcr6Uw48IY8HBE ccXHaoiViRvZbfCRhKrBP0v45jZK X-Google-Smtp-Source: ABdhPJw3XMbvyTz80JeILL8HCgZAF+Bh2cY3w7tiyEl8xElof4WcQ/G1AhMAdZM6X6eqiWpnFyCpEg== X-Received: by 2002:a1c:25c4:: with SMTP id l187mr9283940wml.89.1589632734345; Sat, 16 May 2020 05:38:54 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id 2sm8201594wre.25.2020.05.16.05.38.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 May 2020 05:38:53 -0700 (PDT) From: Vincent Legoll References: <20200514134846.29037-1-me@tobias.gr> <87blmpjg3x.fsf@nckx> Message-ID: <741a8f8e-e3a0-fe88-2484-3a54db19b617@gmail.com> Date: Sat, 16 May 2020 14:38:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 (-) Hello Tobias, yesterday's today is in fact today's today... On 15/05/2020 18:55, Vincent Legoll wrote: > I'll get a merge conflict in etc/guix-install.sh and > maybe also in nix/local.mk but that's OK, it will be > simple enough to handle. I was too pessimistic, I'm not getting any merge conflict. Your patch seems to be working nicely, I tested on a range of VMs: x86_64: alpine devuan fedora debian_stretch debian_buster i686: void guix is still working properly (search, show, build, gc, package -i, -r, -l, -d) And `rm -rf /gnu/store/*hello*' was correctly prevented on the systemds (debian*, fedora) and the other ones let the delete run. LGTM I'll try to come with something for the other init systems and add that to my series... -- Vincent Legoll From unknown Tue Aug 19 10:02:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41259] .gitignore ? Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 May 2020 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vincent Legoll Cc: 41259@debbugs.gnu.org Received: via spool by 41259-submit@debbugs.gnu.org id=B41259.158963785422984 (code B ref 41259); Sat, 16 May 2020 14:05:02 +0000 Received: (at 41259) by debbugs.gnu.org; 16 May 2020 14:04:14 +0000 Received: from localhost ([127.0.0.1]:41432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZxQE-0005ye-Jn for submit@debbugs.gnu.org; Sat, 16 May 2020 10:04:14 -0400 Received: from tobias.gr ([80.241.217.52]:41370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZxQC-0005yW-TR for 41259@debbugs.gnu.org; Sat, 16 May 2020 10:04:13 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ffc66856; Sat, 16 May 2020 14:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=9Wzxfeb7G2pSA1bgWjVMY1 HJMDcqkzfANFtcOkVCNuk=; b=RfC78cLK6poJyEax34nMECOH1oWT2Sy7xetw1w Vgvvp6WDA+HQ/fFn6Isf31xKjXL9eHdp9Kdu+zefVMbILW0yedpJibaoA2qbvQXs +ArjboUb3x1HRie9/RsUATPfCmpMU3HfGYhNPSbRDfNbiXkORuVExG8pmf/H6nG0 P+C9k0l98oqclOVb72Vh338rdoObhZOrOsOlya5r7Nv5yXXqLA+rOcFnr6sMTDiL K5GPb26g0c/ojXWhI5fV9ztf1vfzxUYGsP/p4WhXnn7HhNX4JTEZ3A2/Jngwe1w2 qVPQMlOUl11dTgDhVF2xycpIQhw3KJkSTluNPWDNIG1yRThA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a6fb0817 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 16 May 2020 14:04:09 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20200514134846.29037-1-me@tobias.gr> <87blmpjg3x.fsf@nckx> <741a8f8e-e3a0-fe88-2484-3a54db19b617@gmail.com> In-reply-to: <741a8f8e-e3a0-fe88-2484-3a54db19b617@gmail.com> Date: Sat, 16 May 2020 16:04:05 +0200 Message-ID: <87o8qonfhm.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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; format=flowed Content-Transfer-Encoding: quoted-printable Vincent, Vincent Legoll =E5=86=99=E9=81=93=EF=BC=9A > yesterday's today is in fact today's today... I've tried to stop that but to no avail. > I was too pessimistic, I'm not getting any merge conflict. Happy to hear it. Git can be remarkably clever with 3-way merges=20 sometimes (and disappointingly dense at others). > Your patch seems to be working nicely, I tested on a range > of VMs: > > x86_64: alpine devuan fedora debian_stretch debian_buster > i686: void Thank you for being so thorough. You've given me the confidence=20 to push this to master as=20 1a1faa78b0498fbb71f1533beb4b65817c1d3f2a. Guess I'll leave this=20 bug open since it only solves it for systemd. > I'll try to come with something for the other init systems > and add that to my series... I hope we can avoid touching users' fstab but don't know enough=20 about these other systems to say. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXr/y1gAKCRANsP+IT1Vt edztAQDjqOXbfjA2e7z2ByyCv6xVAJuuMEkXJ4MQhYWJDt78CAD9F0TDi3t8ZEPy mfjYREOBGicJPISoF1UJzuu5mJimOgY= =Y6U5 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:02:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#41259: closed (Re: bug#41259: [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only.) Message-ID: References: <87pmuu8fq3.fsf_-_@gmail.com> <20200514134846.29037-1-me@tobias.gr> X-Gnu-PR-Message: they-closed 41259 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41259@debbugs.gnu.org Date: Tue, 03 Aug 2021 19:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1628020622-17056-1" This is a multi-part message in MIME format... ------------=_1628020622-17056-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41259: [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41259@debbugs.gnu.org. --=20 41259: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41259 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1628020622-17056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41259-done) by debbugs.gnu.org; 3 Aug 2021 19:56:29 +0000 Received: from localhost ([127.0.0.1]:41589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB0Wa-0004QH-TD for submit@debbugs.gnu.org; Tue, 03 Aug 2021 15:56:29 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:34365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB0WY-0004Q2-Sz for 41259-done@debbugs.gnu.org; Tue, 03 Aug 2021 15:56:27 -0400 Received: by mail-qk1-f173.google.com with SMTP id 184so568491qkh.1 for <41259-done@debbugs.gnu.org>; Tue, 03 Aug 2021 12:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=CeXn01ePeHwnGJV9R0/KL8UU7dudZ5/BcX/XfU1bedM=; b=TCGZmG0KAW2LmXkucWj9vVzoMvBdSKGki500B0GezZW3dIVnHNGD/HBtF55RQociJg X6cZf1gGXROK1rB8DQHubTq21CZnLMQbkBvaoJXhgVxAUprmIlU2uqGt5lEFDGJSlP7C yP8EA1c+XHeHrCMkio3/m7f+7J1so8zKAqwafsIkKgH0fcNWGtFQ+dTO3q9HXDAJL3wl BRjQ0bdJZBZrUFIl5AVnipVYT1BjkaWhfP/fLPZkWaxV8m0VkqD0A2QVlCKbd6Dcw2sV 73PmCtn71N+TEL11Z4WF8juoQfXhdKgabPt6LW1yHg3tbSNBMGZDkmC92RawqBu/l7vL FPjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=CeXn01ePeHwnGJV9R0/KL8UU7dudZ5/BcX/XfU1bedM=; b=V1TfCqy0AGW9AO8reY/XNGCyBVh/5m3VuXpH2K86F1LUomX06Cdf/+Tz0atGa/BDJ3 FeZ+6tkwIY58l+gcqNCcURDPIR/FezgkMkAge8O6FebuTHVaqe0e4JuHQeQccprdUWVg wp1OO+SbyzoMjwfbUDaej8XM3u/xvu9SWKgzgdM4R+6b4I1razYu1s/r/C4I/Qh9Jw65 4sQ+17QvLQOJxIzC676KyFGnXNBN/nW9IXbkHwodKHtAh5Z5rIuH0L4IaUNjWQIvEGmN DGfPLc619rtYnM1OKZ3bsEAXz6AbB0CuLNZCcQZyPRVyNf4NTBV4WXlASw7OR1yUb3hQ j3ew== X-Gm-Message-State: AOAM5339lMOZmauL71PpYsuHyAslm/ihWGGnzsA17On/BwSEoj2rI5Oy VHGeHo45i7gRAjXArGRiB9mf9XH7fLJ4WOSM X-Google-Smtp-Source: ABdhPJw/hWzzJmW02Tnd2JlRTRKqaUE30t65Pvbm9fZNrp2KZFD1sPJ/srzptnW2cIPMuUasmOclrQ== X-Received: by 2002:a37:e303:: with SMTP id y3mr22075366qki.45.1628020581228; Tue, 03 Aug 2021 12:56:21 -0700 (PDT) Received: from hurd (dsl-10-129-132.b2b2c.ca. [72.10.129.132]) by smtp.gmail.com with ESMTPSA id r4sm6657932qtc.66.2021.08.03.12.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 12:56:20 -0700 (PDT) From: Maxim Cournoyer To: Tobias Geerinckx-Rice Subject: Re: bug#41259: [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. References: <20200514134846.29037-1-me@tobias.gr> <87blmpjg3x.fsf@nckx> <741a8f8e-e3a0-fe88-2484-3a54db19b617@gmail.com> <87o8qonfhm.fsf@nckx> Date: Tue, 03 Aug 2021 15:56:20 -0400 In-Reply-To: <87o8qonfhm.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 16 May 2020 16:04:05 +0200") Message-ID: <87pmuu8fq3.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41259-done Cc: 41259-done@debbugs.gnu.org, Vincent Legoll 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 (-) Tobias Geerinckx-Rice writes: > Vincent, > > Vincent Legoll =E5=86=99=E9=81=93=EF=BC=9A >> yesterday's today is in fact today's today... > > I've tried to stop that but to no avail. > >> I was too pessimistic, I'm not getting any merge conflict. > > Happy to hear it. Git can be remarkably clever with 3-way merges > sometimes (and disappointingly dense at others). > >> Your patch seems to be working nicely, I tested on a range >> of VMs: >> >> x86_64: alpine devuan fedora debian_stretch debian_buster >> i686: void > > Thank you for being so thorough. You've given me the confidence to > push this to master as 1a1faa78b0498fbb71f1533beb4b65817c1d3f2a. > Guess I'll leave this bug open since it only solves it for systemd. That's a patch, not a bug, though :-). I'll close it now to spare someone else the time it took me to read through and see whether bits had gone uncommitted :-). Thank you, Maxim ------------=_1628020622-17056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 May 2020 13:49:15 +0000 Received: from localhost ([127.0.0.1]:60699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEEX-0003kJ-P4 for submit@debbugs.gnu.org; Thu, 14 May 2020 09:49:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:59236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEES-0003k8-C5 for submit@debbugs.gnu.org; Thu, 14 May 2020 09:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEES-0007JR-4p for guix-patches@gnu.org; Thu, 14 May 2020 09:49:04 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:41504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEEN-0006GS-7I for guix-patches@gnu.org; Thu, 14 May 2020 09:49:03 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 9ce5d4d9 for ; Thu, 14 May 2020 13:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=xgc+nzsdeOC1rDBHOHqeTlft0tjSAcIlEwnc CAyVFBM=; b=RL9m0Thipb+SQ9KWvxxgTolkGGA0x1UOOrz4wC2JliM8HboxwG1k GFj2hfCh/WITEO4ohaoiYaJjlt0aJDr5vhq/JOMJrxkJWMqlxtvMkNIgjwUHHMLM yErmd2lChO00UG0VbOgNRtPyLqofvob7aeIlZ7HdcH0H+gE0VM+dz2pkW//np59J jGsA2FIXvdIXjKkRPfMyWoBwm8QQUU9qvKHeFPpRlCpmMrgsgLDnzjSnqXcK1POw mpfRcGz9gaiOf2KIF9P13FyC8kPMSuGe1+wcg0Okwijm+s+obc9P7dFfVvfxRMg6 p8LilHCehaK+LG/Pa/e2xZbesVq4Uwjq3g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ea89ff14 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 14 May 2020 13:48:55 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only. Date: Thu, 14 May 2020 15:48:46 +0200 Message-Id: <20200514134846.29037-1-me@tobias.gr> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) * etc/gnu-store.mount.in: New file. * nix/local.mk (nodist_systemdservice_DATA): Add it. (etc/%.mount): New rule. * etc/guix-install.sh (sys_enable_guix_daemon): Install it. * doc/guix.texi (Binary Installation): Document it. --- For . doc/guix.texi | 5 +++-- etc/gnu-store.mount.in | 14 ++++++++++++++ etc/guix-install.sh | 12 +++++++++--- nix/local.mk | 12 +++++++++++- 4 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 etc/gnu-store.mount.in diff --git a/doc/guix.texi b/doc/guix.texi index d6fbd85fde..5d80a7e405 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -659,9 +659,10 @@ with these commands: @c https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html @example -# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ +# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \ + ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ /etc/systemd/system/ -# systemctl enable --now guix-daemon +# systemctl enable --now gnu-store.mount guix-daemon @end example If your host distro uses the Upstart init system: diff --git a/etc/gnu-store.mount.in b/etc/gnu-store.mount.in new file mode 100644 index 0000000000..c94f2db72b --- /dev/null +++ b/etc/gnu-store.mount.in @@ -0,0 +1,14 @@ +[Unit] +Description=Read-only @storedir@ for GNU Guix +DefaultDependencies=no +ConditionPathExists=@storedir@ +Before=guix-daemon.service + +[Install] +WantedBy=guix-daemon.service + +[Mount] +What=@storedir@ +Where=@storedir@ +Type=none +Options=bind,ro diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 4909d3f162..d252c132fb 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -342,7 +342,13 @@ sys_enable_guix_daemon() _msg "${PAS}enabled Guix daemon via upstart" ;; systemd) - { cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ + { # systemd .mount units must be named after the target directory. + # Here we assume a hard-coded name of /gnu/store. + cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/gnu-store.mount" \ + /etc/systemd/system/; + chmod 664 /etc/systemd/system/gnu-store.mount; + + cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ /etc/systemd/system/; chmod 664 /etc/systemd/system/guix-daemon.service; @@ -357,8 +363,8 @@ sys_enable_guix_daemon() fi; systemctl daemon-reload && - systemctl start guix-daemon && - systemctl enable guix-daemon; } && + systemctl start gnu-store.mount guix-daemon && + systemctl enable gnu-store.mount guix-daemon; } && _msg "${PAS}enabled Guix daemon via systemd" ;; sysv-init) diff --git a/nix/local.mk b/nix/local.mk index a64bdd2137..435fdd389a 100644 --- a/nix/local.mk +++ b/nix/local.mk @@ -155,7 +155,17 @@ noinst_HEADERS = \ # The '.service' files for systemd. systemdservicedir = $(libdir)/systemd/system -nodist_systemdservice_DATA = etc/guix-daemon.service etc/guix-publish.service +nodist_systemdservice_DATA = \ + etc/gnu-store.mount \ + etc/guix-daemon.service \ + etc/guix-publish.service + +etc/%.mount: etc/%.mount.in \ + $(top_builddir)/config.status + $(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \ + $(SED) -e 's|@''storedir''@|$(storedir)|' < \ + "$<" > "$@.tmp"; \ + mv "$@.tmp" "$@" etc/guix-%.service: etc/guix-%.service.in \ $(top_builddir)/config.status -- 2.26.2 ------------=_1628020622-17056-1--