From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#25444: 'guix system init' on GuixSD w/ RAID target produces "guix system: error: failed to register" Date: Sat, 14 Jan 2017 12:26:54 -0500 Message-ID: <86r345v9gh.fsf@gmail.com> References: <868tqeqn4a.fsf@gmail.com> <8737glpxgm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSS0o-0006DD-1h for bug-guix@gnu.org; Sat, 14 Jan 2017 12:21:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSS0k-0007ZN-20 for bug-guix@gnu.org; Sat, 14 Jan 2017 12:21:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:38678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSS0j-0007ZH-VA for bug-guix@gnu.org; Sat, 14 Jan 2017 12:21:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cSS0j-0008P8-Kf for bug-guix@gnu.org; Sat, 14 Jan 2017 12:21:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737glpxgm.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 14 Jan 2017 14:44:57 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25444@debbugs.gnu.org On 01/14/2017 at 14:44 Ludovic Court=C3=A8s writes: > Hi, > > myglc2 skribis: > >> root@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 =E2=80=98guix-register=E2=80=99 com= mand? 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 ;-) HTH - George LOOKING FOR guix-register root@g1 ~# guix pull Starting download of /tmp/guix-file.wg2stp >From http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz... =E2=80=A6.tar.gz 2.1MiB/s 00:05 | 10.8Mi= B transferred unpacking '/gnu/store/j6c3hhijcn5q5yqydvz35y681ch5q7gb-guix-latest.tar.gz'.= .. substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org= '... 100.0% The following derivation will be built: /gnu/store/nkay6hkzh2lz766v1fr3gcmjp0d0qkyj-guix-latest.drv building path(s) `/gnu/store/7xl24l9hl73lyr35ff31wprjlfhylm7g-guix-latest' copying and compiling to '/gnu/store/7xl24l9hl73lyr35ff31wprjlfhylm7g-guix-= latest'... loading... 24.0% of 567 filesrandom seed for tests: 1484413770 loading... 99.8% of 567 files compiling... 98.8% of 567 files updated GNU Guix successfully deployed under `/root/.config/guix/latest' root@g1 ~# find . -name "guix-register" root@g1 ~# stat ~/.config/guix/latest | grep File: File: '/root/.config/guix/latest' -> '/gnu/store/7xl24l9hl73lyr35ff31wprj= lfhylm7g-guix-latest' root@g1 ~# find /gnu/store/7xl24l9hl73lyr35ff31wprjlfhylm7g-guix-latest -na= me "guix-register" root@g1 ~# echo $PATH /home/g1/bin:/home/g1/bin:/root/.guix-profile/bin:/run/setuid-programs:/run= /current-system/profile/bin:/run/current-system/profile/sbin root@g1 ~# guix package -I root@g1 ~# guix package --list-installed --profile=3D/run/current-system/pr= ofile | grep guix emacs-guix 0.2.2 out /gnu/store/bqyhm280m61xwsbcy70jzmadwz19zgvb-emacs-guix= -0.2.2 guix 0.12.0-2.b291 out /gnu/store/53vamzdlzadg9x5zfpandzka87bsmkfh-guix-0.1= 2.0-2.b291 root@g1 ~# find . /gnu/store/53vamzdlzadg9x5zfpandzka87bsmkfh-guix-0.12.0-2= .b291 -name "guix-register" /gnu/store/53vamzdlzadg9x5zfpandzka87bsmkfh-guix-0.12.0-2.b291/sbin/guix-re= gister REPRODUCING THE CRIME: root@g1 ~# lsblk -f NAME FSTYPE LABEL UUID MOU= NTPOINT sdb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=94=9C=E2=94=80sdb2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=94=9C=E2=94=80sdb5 linux_raid_member g1:1 644cee85-566f-abce-84c5-= 5e6f9983c6f8=20 =E2=94=82 =E2=94=94=E2=94=80md1 swap 448fd258-7d0e-45= c3-b374-2a2f3be911e0 [SWAP] =E2=94=9C=E2=94=80sdb1 linux_raid_member g1:0 59340f87-fc27-638b-f1cd-= 42a9a6bdfad3=20 =E2=94=82 =E2=94=94=E2=94=80md0 ext4 g1-root 415ba95b-7375-4f= 26-822c-d3d3e7a0f734 /mnt/md0 =E2=94=94=E2=94=80sdb6 linux_raid_member g1:2 1b0c8ab8-0dad-e743-e5c6-= 577fcd6419cd=20 =E2=94=94=E2=94=80md2 ext4 g1-bstg 02d1d054-fc65-4773-9597-= 890b56482b6a /mnt/md2 sdc=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=94=9C=E2=94=80sdc2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=94=9C=E2=94=80sdc5 linux_raid_member g1:1 644cee85-566f-abce-84c5-= 5e6f9983c6f8=20 =E2=94=82 =E2=94=94=E2=94=80md1 swap 448fd258-7d0e-45= c3-b374-2a2f3be911e0 [SWAP] =E2=94=9C=E2=94=80sdc1 linux_raid_member g1:0 59340f87-fc27-638b-f1cd-= 42a9a6bdfad3=20 =E2=94=82 =E2=94=94=E2=94=80md0 ext4 g1-root 415ba95b-7375-4f= 26-822c-d3d3e7a0f734 /mnt/md0 =E2=94=94=E2=94=80sdc6 linux_raid_member g1:2 1b0c8ab8-0dad-e743-e5c6-= 577fcd6419cd=20 =E2=94=94=E2=94=80md2 ext4 g1-bstg 02d1d054-fc65-4773-9597-= 890b56482b6a /mnt/md2 sda=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=94=94=E2=94=80sda1 ext4 ssd-root ec3af1c3-2489-4400-acee-= a57438b353d4 / root@g1 ~# guix system init system/g1.00.scm /mnt/md0 guix system: error: failed to load 'system/g1.00.scm': No such file or dire= ctory root@g1 ~# guix system init raid/bugs/25444/g1.00.scm /mnt/md0 /gnu/store/5p908dbxhy58qkrd972pvqyaxjm6yqx2-system /gnu/store/0gsyrihzxi8zjx2vvkmhwhx9ypp2hdf0-grub.cfg /gnu/store/b5sqah8g55sms20r98ladyiamwb0s1hy-grub-2.02beta3 initializing operating system under '/mnt/md0'... 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/1k2swlkbpf44d5fzgvrp5zna= fhw90xh7-grub-image.png' under '/mnt/md0' root@g1 ~#=20