[linux-lvm] autoactivation fails

Christian Hesse list at eworm.de
Thu May 21 12:19:55 UTC 2015


Hello everybody,

with recent lvm2 I had problems booting an Arch Linux system with non-systemd
initramfs. lvmetad is launched, but volumes are not activated. A git bisect
reported this bad commit:

commit fe30658a4d5fe4e4e6bb346c9c9ee7142a98f49d
Author: Ondrej Kozina <okozina at redhat.com>
Date:   Mon Apr 13 16:29:15 2015 +0200

    toollib: close connection to lvmetad after fork
    
    sharing connection between parent command and background
    processes spawned from parent could lead to occasional failures
    due to unexpected corruption in daemon responses sent to either child
    or a parent.
    
    lvmetad issued warning about duplicate config values in request.
    LVM commands occasionaly failed w/ internal error after receving
    corrupted response.
    
    lvmetad connection is renewed when needed after explicit disconnect
    in child

Reverting this single commit makes everything work with git master
(v2_02_120-36-gba68aed) again.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20150521/52b0ee9e/attachment.sig>


More information about the linux-lvm mailing list