On 2010-04-26 13:08, Yann wrote:
It seems my puppet is running with an incorrect locale:
LANG=C
[...]
LC_MESSAGES=C
[...]
LC_ALL=C
r...@venice:/tmp# /usr/bin/vmbuilder kvm ubuntu
2010-04-26 11:58:14,501 INFO : Cleaning up
locale-gen does not recognize your locale 'C'
"C" is a very much valid locale. I don't know what locale-gen
does, so I don't know if it is locale-gen that is broken or if
vmbuilder is broken calling locale-gen when it shouldn't. I
have never used vmbuilder myself, but it does sound very, very
weird that it wouldn't be able to run when you use the C locale.
That's the most basic of all locales, and is actually entirely
equivalent to not using locales at all.
No idea why I wasnt able to catch those error messages before. I will
continue to work on it and let you know if I manage to see where the
locale is defined and why I wasnt seing that message (even after
adding a 2>&1 > /tmp test at the end of the command line)
That redirection should be the other way around: >/tmp/test 2>&1.
Redirections are executed from left to right. Your redirection
means "Clone the file descriptor for the current standard output
[likely /dev/null] onto the file descriptor for standard error.
Then open /tmp/test as the new standard output." After that,
standard error will be open to /dev/null. Switching them around
turns the meaning into "Open /tmp/test as standard output. Then
clone the file descriptor for the current standard output [which
is now /tmp/test] onto the file descriptor for standard error."
/Bellman
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.