emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#33360: closed (Guix does not error pretty when fil


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33360: closed (Guix does not error pretty when filesystem is ro)
Date: Sun, 18 Nov 2018 07:50:01 +0000

Your message dated Sat, 17 Nov 2018 21:05:10 +0100
with message-id <address@hidden>
and subject line Re: bug#33360: Guix does not error pretty when filesystem is ro
has caused the debbugs.gnu.org bug report #33360,
regarding Guix does not error pretty when filesystem is ro
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33360: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33360
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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



--- End Message ---
--- Begin Message --- 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 <address@hidden> 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

address@hidden ~$ 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)
address@hidden ~$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76

Unfortunately it errored nicely this time:

address@hidden ~/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


--- End Message ---

reply via email to

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