Hello everyone.

I tried to build a vm or an image of Guix System with the command `guix system 
image
my-os.scm` and `guix system vm my-os.scm`.

"my-os.scm" contain exactly what is given as an example in the manual:
https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html

But I got a permission denied when Guix tried to use fakeroot. If I set
SELinux to permissive, I no longer have the problem.

I try to understand if it's a problem from how Guix use it, to determine
if I need to open a bug report on Guix side or Fedora side (the
distribution I run Guix on).

How can determine it ?
Can you help me ?



# Details of the error messages

When I run the command, here is the errors messages I got:

    la compilation de 
/gnu/store/9camh23jn48szzv409abfvlw6kkzk550-partition.img.drv a échoué
    Vous trouverez le journal de compilation dans « 
/var/log/guix/drvs/9c/amh23jn48szzv409abfvlw6kkzk550-partition.img.drv.gz ».
    cannot build derivation 
`/gnu/store/crwx06d1ppdq3g1bd7lwz3csn5rmzr6f-genimage.cfg.drv': 1 dependencies 
couldn't be built
    cannot build derivation 
`/gnu/store/zifimh54vprzpg6awmwkd7xcpkd2byqn-disk-image.drv': 1 dependencies 
couldn't be built
    cannot build derivation 
`/gnu/store/g2kxi4xdk1hm57zkckah06yldfr5bd3a-run-vm.sh.drv': 1 dependencies 
couldn't be built
    guix system: erreur : build of 
`/gnu/store/g2kxi4xdk1hm57zkckah06yldfr5bd3a-run-vm.sh.drv' failed

And in the file
"/gnu/store/9camh23jn48szzv409abfvlw6kkzk550-partition.img.drv", I got:

    fakeroot, while creating message channels: Permission denied
    This may be due to a lack of SYSV IPC support.
    fakeroot: error while starting the `faked' daemon.
    kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or 
kill -l [sigspec]
    Backtrace:
               1 (primitive-load "/gnu/store/b376mnacg9n2lfbd9mb8l69ciz7…")
    In guix/build/utils.scm:
        822:6  0 (invoke "fakeroot" "mke2fs" "-t" "ext4" "-d" "tmp-root" …)
    
    guix/build/utils.scm:822:6: In procedure invoke:
    ERROR:
      1. &invoke-error:
          program: "fakeroot"
          arguments: ("mke2fs" "-t" "ext4" "-d" "tmp-root" "-L" "Guix_image" 
"-U" "4efbd36d-72ff-63f9-3fc8-097a4efbd36d" "-E" 
"root_owner=0:0,lazy_itable_init=1,lazy_journal_init=1" "-O" 
"^metadata_csum,^64bit" 
"/gnu/store/8cyg3qnf1jrd8na5ijir50g36gglj8qy-partition.img" "1024k")
          exit-status: 1
          term-signal: #f
          stop-signal: #f
    environment variable `PATH' set to 
`/gnu/store/pd59dz5kksa8amhx6j4m26q468wq44i7-e2fsprogs-1.47.2/bin:/gnu/store/pd59dz5kksa8amhx6j4m26q468wq44i7-e2fsprogs-1.47.2/sbin:/gnu/store/7z17iq3wgc70mq0k46pk33hvv5mk2j78-fakeroot-1.37.1.2/bin'






Attachment: signature.asc
Description: PGP signature

Reply via email to