[Bugs] [Bug 1157107] String to Floating point conversion failure with client packages during mount

bugzilla at redhat.com bugzilla at redhat.com
Sat Oct 25 10:09:18 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1157107

Dennis Schafroth <dennis at schafroth.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dennis at schafroth.com



--- Comment #1 from Dennis Schafroth <dennis at schafroth.com> ---
This has to do with locales. My locale is danish thus using comma for doubles.  

When running with LANG=da_DK.UTF-8, the LC_NUMERIC is set to da_DK.UTF-8

sudo /usr/local/sbin/glusterfs --debug --entry-timeout=1 --volfile-server=bd
--volfile-id=dist-rep /mnt/glusterfs/
[2014-10-25 09:45:13.131164] I [MSGID: 100030] [glusterfsd.c:2018:main]
0-/usr/local/sbin/glusterfs: Started running /usr/local/sbin/glusterfs version
3.6.0beta3 (args: /usr/local/sbin/glusterfs --debug --entry-timeout=1
--volfile-server=bd --volfile-id=dist-rep /mnt/glusterfs/)
[2014-10-25 09:45:13.131726] D [MSGID: 0]
[glusterfsd.c:409:set_fuse_mount_options] 0-glusterfsd: fopen-keep-cache mode 2
[2014-10-25 09:45:13.131748] D [MSGID: 0]
[glusterfsd.c:487:set_fuse_mount_options] 0-glusterfsd: fuse no-root-squash
mode 0
[2014-10-25 09:45:13.131833] I [options.c:1163:xlator_option_init_double]
0-fuse: option attribute-timeout convertion failed value 1.0
[2014-10-25 09:45:13.131848] E [xlator.c:425:xlator_init] 0-fuse:
Initialization of volume 'fuse' failed, review your volfile again
[2014-10-25 09:45:13.131857] D [MSGID: 0] [glusterfsd.c:572:create_fuse_mount]
0-glusterfsd: failed to initialize fuse translator

fails. Setting LANG=en_DK.UTF-8 works (LC_NUMERIC="C".

I guess the real problem is the hardcoded values (1.0) in
xlators/mount/fuse/src/fuse-bridge.c, that is parsed using localised routines.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list