Re: LVM tools segfault since 2.03.12

Zdenek Kabelac <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
Dne 02. 09. 21 v 9:34 Jean-Michel Pollion napsal(a):
> Hello,
> 
> I have the lvm2 tools segfaulting since 2.03.12 with a message of
> unsorted commands in cmds.h.
> It turns out that in my locale and on my setup, the LANG=C setting
> before "sort -u" in tools/Makefile.in is not enough, I had to patch and
> add LC_COLLATE=C too, or the rules will not count the underscore while
> sorting, causing the segfault in the code (command.c IIRC).
> This broke the boot on some of my servers, so I think it's a rather big
> problem that perhaps can't be caught in reproducible builds.
> Can this be corrected upstream or should I just modify my build
> environment for LVM2?
>


Hi

Interesting - can you send a patch to Makefile  to include LC_COLLATE=C
in case it does fixes your problem.

Although LANG=C should IMHO set all LC_XXX settings - so it can be also a bug 
in glibc process ??

What locales are used in your environment ?

Can you attache resulting sorted  cmds.h in your environment ?

Regards

Zdenek

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.