bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev


From: Ludovic Courtès
Subject: bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1")
Date: Tue, 24 Jan 2017 22:47:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

myglc2 <address@hidden> skribis:

> On 08/03/2016 at 10:31 myglc2 writes:
>
>> This is a followup to bug#24135. 
>>
>> 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
>> address@hidden ~#   File: '/root/.config/guix/latest' -> '/home/g1/src/guix'
>> address@hidden ~# v0.10.0-2118-g1061862
>> address@hidden ~# 1061862 mapped-devices: raid-device-mapping: Avoid 
>> non-top-level 'use-modules'.
>> address@hidden ~# address@hidden ~# 
>>
>> reconfigure:
>>
>> address@hidden ~# 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’ve fixed it in my tree.

Thank you,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]