help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix package: error: build failed: opening lock file?


From: Ludovic Courtès
Subject: Re: guix package: error: build failed: opening lock file?
Date: Fri, 06 Apr 2018 10:35:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Chris Marusich <address@hidden> skribis:

> address@hidden writes:
>
>> I am running a 'guix system vm' and 'guix package -i' fails ...
>>
>> address@hidden ~$ guix package -i icecat
>> guix package: error: build failed: opening lock file
>> `/gnu/store/4iznqdzql2cp4l2jkr09jn10xxw861c4-mirrors.lock': Read-only
>> file system
>>
>> Any idea what I am doing wrong? Here are the details ...
>>
>> guix system vm -M 4 -c 4 /home/g1/src/vm/vms/server17/server17.scm
>>
>> sudo /gnu/store/1vnsn52grzvpzrdndv1f3nkf7mdwd5wk-run-vm.sh -name
>> server17 -net
>> tap,ifname=server17,script=/home/g1/src/vm/qemu-ifup,downscript=/home/g1/src/vm/qemu-ifdn
>> -daemonize -display none

No need to run that as root.  :-)

>> TIA - George
>
> I think this is expected behavior.

Yes, it’s a known limitation.

I was thinking we could have the VM talk to the host daemon socket:

  guix system vm config.scm --share=/var/guix/daemon-socket

However that doesn’t work, I suppose 9p doesn’t support forwarding
sockets.

The other option would be to make /gnu/store a writable overlayfs, which
should allow us to run a local guix-daemon with its own store in the VM.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]