Hi,

Leo Famulari <l...@famulari.name> skribis:

> For example, I create and run a VM from the bare-bones template:
>
> `guix system vm --no-grafts doc/os-config-bare-bones.texi`
>
> Within the VM, I try the command:
>
> ------
> # guix gc --references 
> /gnu/store/cbzabyh8kdks7ip1hk4cycldq1wiflg3-automake-skip-amhello-tests.patch
> guix gc: error: changing ownership of path '/gnu/store': Read-only file system

In ‘guix system vm’, the store is a read-only 9p mount of the host’s
store and thus guix-daemon cannot actually write to it.

We could improve on that by making the store and overlay over said 9p
mount such that writes would go elsewhere (similar to ‘cow-store’ in the
installer).

About ‘guix gc --references’ specifically: in theory it should be not
require write access to the store, but in practice guix-daemon always
assumes write access when a client connects, that’s why.

Ludo’.

Reply via email to