From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1") Date: Tue, 24 Jan 2017 22:47:55 +0100 Message-ID: <87mveg3zas.fsf@gnu.org> References: <86eg66m126.fsf@gmail.com> <86mveg1bu8.fsf@gmail.com> 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]:58518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW8xi-0004QZ-K3 for bug-guix@gnu.org; Tue, 24 Jan 2017 16:49:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW8xa-0001Pu-Cl for bug-guix@gnu.org; Tue, 24 Jan 2017 16:49:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW8xa-0001Ph-9U for bug-guix@gnu.org; Tue, 24 Jan 2017 16:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cW8xa-00054U-36 for bug-guix@gnu.org; Tue, 24 Jan 2017 16:49:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <86mveg1bu8.fsf@gmail.com> (myglc2@gmail.com's message of "Tue, 24 Jan 2017 14:45:19 -0500") 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: myglc2 Cc: 24141-done@debbugs.gnu.org myglc2 skribis: > On 08/03/2016 at 10:31 myglc2 writes: > >> This is a followup to bug#24135.=20 >> >> Note: This may duplicate, Gmane swallowed my reply yesterday. >> >> With bug#24135 commits in place the system reconfigure completes w/ >> 'Installation finished. No error reported.' _but_ shows an embedded >> error ... >> >> ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1") >> >> ... and the system does not boot. >> >> This is really 2 bugs >> >> 1) a problem w/the RAID mechanism and/or my config >> >> 2) reconfigure should not complete when shepherd produces errors >> >> version info: >> >> guix (GNU Guix) 0.11.0 >> root@g1 ~# File: '/root/.config/guix/latest' -> '/home/g1/src/guix' >> root@g1 ~# v0.10.0-2118-g1061862 >> root@g1 ~# 1061862 mapped-devices: raid-device-mapping: Avoid non-top-le= vel 'use-modules'. >> root@g1 ~# root@g1 ~#=20 >> >> reconfigure: >> >> root@g1 ~# guix system reconfigure system40.scm >> /gnu/store/nn051a04gas6x3g6xhbi8x0ca38akbzk-system >> /gnu/store/dsq79n5a8p21ca7zc38yzxzi9hk0mhzp-grub.cfg >> /gnu/store/zgm8s5z5y9dh0g36jqxh5i30js93irk5-grub-2.02beta3 >> activating system... >> setting up setuid programs in '/run/setuid-programs'... >> populating /etc from /gnu/store/3vbg3i84k9z57kj5xwz91h08b59mh9yb-etc... >> usermod: no changes >> usermod: no changes >> usermod: no changes >> making '/gnu/store/nn051a04gas6x3g6xhbi8x0ca38akbzk-system' the current = system... >> guix system: unloading service 'device-mapping-/dev/md0'... >> shepherd: Removing service 'device-mapping-/dev/md0'... >> shepherd: Done. >> guix system: unloading service 'file-system-/mnt/md0'... >> shepherd: Removing service 'file-system-/mnt/md0'... >> shepherd: Done. >> guix system: loading new services: device-mapping-/dev/md0 file-system-/= mnt/md0... >> shepherd: Evaluating user expression (register-services (primitive-load = "/gn...") #). >> guix system: error: exception caught while executing 'start' on service = 'device-mapping-/dev/md0': >> ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1") >> Installing for i386-pc platform. >> Installation finished. No error reported. >> >> config and shepherd log attached. >> >> TIA - George > > This is fixed AFAICT Great, thanks. I believe this was fixed by 6e52376d2e6c9ef849bd46b2ee72b58ad30d1947 in October 2016. > FWIW, the comment in the code at mapped-devices.scm ... > > (source mapped-device-source) ;string > > ... is not current with the doc, which says ... Good catch, I=E2=80=99ve fixed it in my tree. Thank you, Ludo=E2=80=99.