New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LVM plugin breaks with russian locale #3181
Comments
Solution: Don't start Collectd with russian locale. |
I'd rather say this is a workaround. I'd like to stress that user might quite easily bump into this issue with normally configured system. Setting system-wide locale is a standard and documented practice. And systemd passes So I had to add extra config to avoid this:
|
Ok, patches are welcome. |
The cause was found: 865f2eb#diff-67e997bcfdac55191033d57a16d1408a and patch will be published soon. Maybe, somedays it will be merged into master. Thanks for reporting this. |
limits.h check removed in 865f2eb limits.h included in src/daemon/collectd.h unconditionally Issue: collectd#3181
865f2eb breaks locale checks Issue: collectd#3181
limits.h check removed in 865f2eb limits.h included in src/daemon/collectd.h unconditionally Issue: collectd#3181
865f2eb breaks locale checks Issue: collectd#3181
As I see, Team committed my PR. Unfortunately, they don't care about this issue so it was not closed. :-( |
All right, let's close this, if you believe that fix is committed. |
Yup, indeed fixed. Could not reproduce with collectd 5.9.2 |
Expected behavior
Collectd should collect data regardless of locale.
Actual behavior
When running with LANG=ru_RU.UTF-8 in envirnoment and enabling LVM plugin collectd can't create rrd files for LVM plugin data.
Steps to reproduce
LANG=ru_RU.UTF-8 collectd
Looks like locale-aware function is used somewhere to dispatch value from LVM plugin,
The text was updated successfully, but these errors were encountered: