GNU bug report logs - #33360
Guix does not error pretty when filesystem is ro

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Mon, 12 Nov 2018 22:33:02 UTC

Severity: normal

Done: swedebugia <swedebugia <at> riseup.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33360 in the body.
You can then email your comments to 33360 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33360; Package guix. (Mon, 12 Nov 2018 22:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 12 Nov 2018 22:33:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Report new Guix bug <bug-guix <at> gnu.org>
Subject: Guix does not error pretty when filesystem is ro
Date: Mon, 12 Nov 2018 23:37:23 +0100
Hi

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 we add a simple check to the commands that rely on writing to the 
filesystem?

-- 
Cheers Swedebugia




Information forwarded to bug-guix <at> gnu.org:
bug#33360; Package guix. (Wed, 14 Nov 2018 11:22:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: swedebugia <swedebugia <at> riseup.net>
Cc: 33360 <at> debbugs.gnu.org
Subject: Re: bug#33360: Guix does not error pretty when filesystem is ro
Date: Wed, 14 Nov 2018 12:21:40 +0100
Hello,

swedebugia <swedebugia <at> 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?

TIA,
Ludo’.




Reply sent to swedebugia <swedebugia <at> riseup.net>:
You have taken responsibility. (Sun, 18 Nov 2018 07:50:01 GMT) Full text and rfc822 format available.

Notification sent to swedebugia <swedebugia <at> riseup.net>:
bug acknowledged by developer. (Sun, 18 Nov 2018 07:50:03 GMT) Full text and rfc822 format available.

Message #13 received at 33360-done <at> debbugs.gnu.org (full text, mbox):

From: swedebugia <swedebugia <at> riseup.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 33360-done <at> debbugs.gnu.org
Subject: Re: bug#33360: Guix does not error pretty when filesystem is ro
Date: Sat, 17 Nov 2018 21:05:10 +0100
On 2018-11-14 12:21, Ludovic Courtès wrote:
> Hello,
> 
> swedebugia <swedebugia <at> 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 <at> 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 <at> komputilo ~$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76

Unfortunately it errored nicely this time:

sdb <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Dec 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 138 days ago.

Previous Next


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