GNU bug report logs - #25444
'guix system init' on GuixSD w/ RAID target produces "guix system: error: failed to register"

Previous Next

Package: guix;

Reported by: myglc2 <myglc2 <at> gmail.com>

Date: Sat, 14 Jan 2017 04:25:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #22 received at 25444-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: myglc2 <myglc2 <at> gmail.com>
Cc: 25444-done <at> debbugs.gnu.org
Subject: Re: bug#25444: 'guix system init' on GuixSD w/ RAID target produces
 "guix system: error: failed to register"
Date: Thu, 19 Jan 2017 12:31:40 +0100
myglc2 <myglc2 <at> gmail.com> skribis:

> On 01/15/2017 at 20:19 Ludovic Courtès writes:
>
>> myglc2 <myglc2 <at> gmail.com> skribis:
>>
>>> On 01/14/2017 at 14:44 Ludovic Courtès writes:
>>>
>>>> Hi,
>>>>
>>>> myglc2 <myglc2 <at> gmail.com> skribis:
>>>>
>>>>>     root <at> g1 ~# guix system init system/g1.00.scm /mnt/md0
>>>>>     [...]
>>>>>     initializing operating system under '/mnt/md0'...
>>>>>     copying '/gnu/store/0m0clxj69xrxb76kyh3ral8lkfb0vx8c-linux-libre-4.9.2'...
>>>>>     In execvp of /usr/local/sbin/guix-register: No such file or directory
>>>>
>>>> The crux of the problem is this last line.  It looks like the Guix
>>>> installation is broken here.
>>>>
>>>> Could you check what happened to this ‘guix-register’ command?
>>>
>>> Thanks. I did a fresh guix pull and looked for guix-register. I couldn't
>>> find it my PATH or in guix-latest. But I did find it in the globally
>>> installed guix package.
>>>
>>> Then, just to be sure things hadn't magically fixed themselves, I reproduced
>>> the crime ;-)
>>
>> [...]
>>
>>> copying '/gnu/store/1k2swlkbpf44d5fzgvrp5znafhw90xh7-grub-image.png'...
>>> In execvp of /usr/local/sbin/guix-register: No such file or directory
>>> guix system: error: failed to register '/gnu/store/1k2swlkbpf44d5fzgvrp5znafhw90xh7-grub-image.png' under '/mnt/md0'
>>
>> The problem is that somehow Guix is configured to look for
>> /usr/local/sbin/guix-register (this location comes from
>> guix/config.scm), but that file doesn’t exist.
>>
>> So you need to make /usr/local/sbin/guix-register a symlink to the right
>> thing, or somehow fix the installation.
>
> I was running guix built from Git checkout w/ clean working tree so I
> don't know how my system got out of whack. The symlink approach worked
> and the new system on new disks has ...
>
> which guix-register
> /run/current-system/profile/sbin/guix-register

Good, thanks for letting me know!

Ludo’.




This bug report was last modified 8 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.