Subject: bug#31752: closed (Re: bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 08 Jun 2018 13:28:03 +0000

Your bug report

#31752: 'guix system disk-image --file-system-type=iso9660' is broken

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31752: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31752
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Fri, 08 Jun 2018 15:27:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) skribis:

> Here’s what I get:
>
> $ guix system disk-image --file-system-type=iso9660 gnu/system/examples/bare-bones.tmpl
> […]
> environment variable `PATH' set to `/gnu/store/fc24iwkx64d05rjmay734arc0z4izdl9-qemu-minimal-2.12.0/bin:/gnu/store/zr3lz229a9p2xs2daapkkf8d46ihppn7-parted-3.2'
> error: failed to evaluate directive: (directory "/gnu/store" 0 30000)
> error: failed to evaluate directive: (directory "/gnu/store" 0 30000 1021)
> In ./gnu/build/linux-boot.scm:
>    530:13  6 (_)
> In unknown file:
>            5 (primitive-load "/gnu/store/v1v98cplv1ra7hqp8p11v2pzssl���")
>            4 (primitive-load "/gnu/store/hgwy4w3y0801napx28z6dpjrzs3���")
> In ice-9/eval.scm:
>     619:8  3 (_ #(#<directory (guile-user) 25b2140> ("/gnu/sto���" ���) ���))
> In ./gnu/build/vm.scm:
>     411:4  2 (make-iso9660-image _ "/gnu/store/iiilhj85499zxp8fp3nn���" ���)
> In ./gnu/build/install.scm:
>     129:2  1 (populate-root-file-system "/gnu/store/98a0qs63d79djaf���" ���)
> In ice-9/boot-9.scm:
>    260:13  0 (for-each #<procedure 255cd60 at ./gnu/build/install.s���> ���)
> In procedure chown: Operation not permitted
> [    0.956489] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
>
> The code in the VM is running as root, yet (mkdir-p
> "/tmp/root/gnu/store") creates those directories with UID 30001.

Fixed in fb126314f85fbe7bf7749a65cc6e10c57aa34023!  \o/

Ludo’.

Subject: 'guix system disk-image --file-system-type=iso9660' is broken
From: [email-masked] (Ludovic Courtès)
To: [email-masked] ("[email-masked]'")
Date: Fri, 08 Jun 2018 10:08:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Here’s what I get:

--8<---------------cut here---------------start------------->8---
$ guix system disk-image --file-system-type=iso9660 gnu/system/examples/bare-bones.tmpl
[…]
environment variable `PATH' set to `/gnu/store/fc24iwkx64d05rjmay734arc0z4izdl9-qemu-minimal-2.12.0/bin:/gnu/store/zr3lz229a9p2xs2daapkkf8d46ihppn7-parted-3.2'
error: failed to evaluate directive: (directory "/gnu/store" 0 30000)
error: failed to evaluate directive: (directory "/gnu/store" 0 30000 1021)
In ./gnu/build/linux-boot.scm:
   530:13  6 (_)
In unknown file:
           5 (primitive-load "/gnu/store/v1v98cplv1ra7hqp8p11v2pzssl���")
           4 (primitive-load "/gnu/store/hgwy4w3y0801napx28z6dpjrzs3���")
In ice-9/eval.scm:
    619:8  3 (_ #(#<directory (guile-user) 25b2140> ("/gnu/sto���" ���) ���))
In ./gnu/build/vm.scm:
    411:4  2 (make-iso9660-image _ "/gnu/store/iiilhj85499zxp8fp3nn���" ���)
In ./gnu/build/install.scm:
    129:2  1 (populate-root-file-system "/gnu/store/98a0qs63d79djaf���" ���)
In ice-9/boot-9.scm:
   260:13  0 (for-each #<procedure 255cd60 at ./gnu/build/install.s���> ���)
In procedure chown: Operation not permitted
[    0.956489] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
--8<---------------cut here---------------end--------------->8---

The code in the VM is running as root, yet (mkdir-p
"/tmp/root/gnu/store") creates those directories with UID 30001.

Needs more investigation…

Ludo’.