myglc2 <myg...@gmail.com> 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
>> 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-level 
>> 'use-modules'.
>> root@g1 ~# root@g1 ~# 
>>
>> 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’ve fixed it in my tree.

Thank you,
Ludo’.



Reply via email to