unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken
@ 2018-06-08  8:08 Ludovic Courtès
  2018-06-08 13:27 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2018-06-08  8:08 UTC (permalink / raw)
  To: 31752

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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken
  2018-06-08  8:08 bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken Ludovic Courtès
@ 2018-06-08 13:27 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-06-08 13:27 UTC (permalink / raw)
  To: 31752-done

ludo@gnu.org (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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-08 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-08  8:08 bug#31752: 'guix system disk-image --file-system-type=iso9660' is broken Ludovic Courtès
2018-06-08 13:27 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).