From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.6) Gecko/20040506 Description of problem: I have setup one VG with 6 LV's. I get following error message at boot time: Setting up Logical Volume Management: [OK] setlocale failed Activating swap: [OK] ... Setting up Logical Volume Management: [OK] setlocale failed 6 logical volume(s) in volume group "VG1" now active ... This will not be noted in any log files. It just appears on the screen. Version-Release number of selected component (if applicable): lvm2-2.00.15-2 How reproducible: Didn't try Steps to Reproduce: Additional info:
What locale settings are you using, and are the appropriate locale files installed? The code producing this is: if (!setlocale(LC_ALL, "")) log_error("setlocale failed"); From the setlocale() man page: If locale is "", each part of the locale that should be modified is set according to the environment variables. ... the environment variable LC_ALL is inspected, next the environment variable with the same name as the category (LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, LC_TIME) and finally the environment variable LANG. The first existing envi ronment variable is used. If its value is not a valid locale specification, the locale is unchanged, and setlocale returns NULL.
From the installer i choose german. LANG="de_DE.UTF-8" SUPPORTED="en_US.UTF-8:en_US:en:de_AT.UTF-8:de_AT:de:de_DE.UTF-8:de_DE:de" SYSFONT="latarcyrheb-sun16" LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=
This issue is still present in the final release of the OS. I did a minimal install on a clean machine - accepting all default languages (english).
The message is completely harmless. Could it be that the locale files it's looking for aren't mounted at that stage of the boot process? To see what's going on, you'd need to stick 'strace' in front of the vgscan, capture the resulting trace output, and examine the first part of it, as far as that error message. That would show what files setlocale() is searching for and where.
I assume that's the problem, so I've suppressed the setlocale error message in 2.00.19-1.