all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 33360-done@debbugs.gnu.org
Subject: bug#33360: Guix does not error pretty when filesystem is ro
Date: Sat, 17 Nov 2018 21:05:10 +0100	[thread overview]
Message-ID: <c25481ec-0b79-cf97-0188-03e09afb33c7@riseup.net> (raw)
In-Reply-To: <874lcjj457.fsf@gnu.org>

On 2018-11-14 12:21, Ludovic Courtès wrote:
> Hello,
> 
> swedebugia <swedebugia@riseup.net> skribis:
> 
>> Today I booted up my pc from standby.
>>
>> Qemu was running GuixSD from a cow on an USB-disk.
>>
>> It had remounted ro and I got weird errors from guix when trying to build.
>>
>> All other programs just stated the obvious:
>>
>> "Cannot write to bla bla - read-only filesystem."
>>
>> Guix of course tried to do a lot but failed of course.
> 
> Could you paste the exact command you run and its output?

I did not succede in reproducing. This time I suspended my pc multiple 
times but qemu/the kernel did not remount / ro.

So I janked the usb out and back in and that did the trick if I ran a 
complicated command while it was out (guix build did the trick) :D

sdb@komputilo ~$ mount
none on /proc type proc (rw,relatime)
none on /dev type devtmpfs 
(rw,relatime,size=1002304k,nr_inodes=250576,mode=755)
none on /sys type sysfs (rw,relatime)
/dev/sda1 on / type ext4 (ro,relatime)
none on /dev/pts type devpts (rw,relatime,gid=996,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/dev/sda1 on /gnu/store type ext4 (ro,relatime)
sdb@komputilo ~$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76

Unfortunately it errored nicely this time:

sdb@komputilo ~/guix-tree [env]$ ./pre-inst-env guix build hello -K 
--substitute-urls="http://berlin.guixsd.org http://mirror.hydra.gnu.org"
guix build: error: fport_read: Connection reset by peer

Then the ssh terminal freezes. (qemu window shows a nice "kernel panic - 
not syncing: Attempted to kill init!" :)

Closed the bug.

-- 
Cheers Swedebugia

      reply	other threads:[~2018-11-18  7:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-12 22:37 bug#33360: Guix does not error pretty when filesystem is ro swedebugia
2018-11-14 11:21 ` Ludovic Courtès
2018-11-17 20:05   ` swedebugia [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c25481ec-0b79-cf97-0188-03e09afb33c7@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=33360-done@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.