GNU bug report logs - #41259
[PATCH] etc: Add a systemd unit to bind-mount @storedir@ read-only.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Thu, 14 May 2020 13:50:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 41259 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Emmanuel Medernach <emmanuel.medernach <at> gmail.com>,
 zimoun <zimon.toutoune <at> gmail.com>, help-guix <at> gnu.org
Cc: 41259 <at> debbugs.gnu.org
Subject: Re: Few questions
Date: Thu, 14 May 2020 15:53:36 +0200
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice 写道:
> A simple
>
>  $ sudo mount -o bind,ro /gnu/store /gnu/store

I decided to write a q&d patch that does just that 
<https://issues.guix.gnu.org/41259>.

Caveats:
- It's lightly tested (the only non-Guix System I have SSH access 
 to is someone's laptop, currently being used to consume ‘dank 
 memes’, and I cannot risk performing any action that could stop 
 the flow of memes),
- it only fixes the problem on modern^Wsystemd systems (I'm fine 
 with that),
- the unit name could be templated to @storedir@ as well.  Worth 
 it?

Feedback and testing welcome.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.