From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1") Date: Tue, 24 Jan 2017 14:45:19 -0500 Message-ID: <86mveg1bu8.fsf@gmail.com> References: <86eg66m126.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]:54247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW72d-0000iJ-7x for bug-guix@gnu.org; Tue, 24 Jan 2017 14:46:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW72Y-0005G3-CD for bug-guix@gnu.org; Tue, 24 Jan 2017 14:46:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW72Y-0005Fx-8q for bug-guix@gnu.org; Tue, 24 Jan 2017 14:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cW72Y-000759-2a for bug-guix@gnu.org; Tue, 24 Jan 2017 14:46:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <86eg66m126.fsf@gmail.com> (myglc2@gmail.com's message of "Wed, 03 Aug 2016 09:31:13 -0400") 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: 24141@debbugs.gnu.org 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-lev= el '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 s= ystem... > 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-/m= nt/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 FWIW, the comment in the code at mapped-devices.scm ... (source mapped-device-source) ;string ... is not current with the doc, which says ... =E2=80=98source=E2=80=99 This is either a string specifying the name of the block device to be mapped, such as =E2=80=98"/dev/sda3"=E2=80=99, or a = list of such strings when several devices need to be assembled for creating a new one.