From mboxrd@z Thu Jan 1 00:00:00 1970 From: raingloom Subject: bug#39815: Sharing the store between a host and a guest Date: Thu, 27 Feb 2020 21:33:59 +0100 Message-ID: <1582835639.895.0@riseup.net> References: <87k147epvx.fsf@cassou.me> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58494) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7Ps7-00037L-Ha for bug-guix@gnu.org; Thu, 27 Feb 2020 15:35:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7Ps6-0005x9-LK for bug-guix@gnu.org; Thu, 27 Feb 2020 15:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7Ps6-0005wz-Bx for bug-guix@gnu.org; Thu, 27 Feb 2020 15:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7Ps6-00084w-8N for bug-guix@gnu.org; Thu, 27 Feb 2020 15:35:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k147epvx.fsf@cassou.me> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39815@debbugs.gnu.org Would have to share the connection with the Guix daemon. The VM would see the changes but it could write to the store directly. But that's effectively what you want. When you use guix as a user, the guix command doesn't write to the store, it tells the daemon to do things. Same deal here. On Thu, Feb 27, 2020 at 21:28, Damien Cassou wrote: > Hi, > > `guix system vm` generates a VM which shares /gnu/store with the > host. However, the share is done read-only. The info pages recommends > copying the VM image and making it writable. > > Is it possible/recommended to get a writable and shared /gnu/store in > the VM? > > Best, > > -- > Damien Cassou > > "Success is the ability to go from one failure to another without > losing enthusiasm." --Winston Churchill > > >