[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 18/36: services: hurd: Add dummy loopback.
From: |
Ludovic Courtès |
Subject: |
Re: 18/36: services: hurd: Add dummy loopback. |
Date: |
Sun, 03 May 2020 22:50:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Jan Nieuwenhuizen <address@hidden> skribis:
> Ah, great! I rewrote this to use <static-networking>...and it almost
> works already. I have added
>
> (service static-networking-service-type
> (list (static-networking (interface "lo")
> (ip "127.0.0.1")
> (requirement '())
> (provision '(loopback)))))
>
> and the VM builds, only it doesn't start
>
> herd: exeception caught while executing 'start' on service 'loopback':
> Value out of range 0 to 4294967295: -1
Ah see, it’s out of range.
Could you run Guile, load (guix build syscalls), and try to run the code
of the ‘start’ method that appears in
‘static-networking-shepherd-service’ to see which syscall is giving us
that error?
Could it be ‘ifreq-struct-size’ that’s off on GNU/Hurd, or one of its
friends?
Ludo’.