Run the DBus daemon with the "C" locale
PATCH 1/1 Run the DBus daemon with the "C" locale
Otherwise it uses the system default which may be e.g. cs_CZ.UTF-8 causing the daemon to fail when parsing output from the CLI tools - it for example gets 1,5G instead of 1.5G.
--- scripts/lvm2_lvmdbusd_systemd_red_hat.service.in | 1 + 1 file changed, 1 insertion(+)
scripts/lvm2_lvmdbusd_systemd_red_hat.service.in +1 -0
@@ -5,6 +5,7 @@ Documentation=man:lvmdbusd(8) [Service] Type=dbus BusName=com.redhat.lvmdbus1 +Environment="LC_ALL=C" ExecStart=@sbindir@/lvmdbusd --udev [Install]
Signature · 1 line
2.5.0
PATCH 1/1 Run the DBus daemon with the "C" locale
Dne 4.3.2016 v 07:59 Vratislav Podzimek napsal(a):
Quoted 13 lines
Otherwise it uses the system default which may be e.g. cs_CZ.UTF-8 causing the daemon to fail when parsing output from the CLI tools - it for example gets 1,5G instead of 1.5G.
--- scripts/lvm2_lvmdbusd_systemd_red_hat.service.in | 1 + 1 file changed, 1 insertion(+)scripts/lvm2_lvmdbusd_systemd_red_hat.service.in +0
-0
scripts/lvm2_lvmdbusd_systemd_red_hat.service.in Documentation=man:lvmdbusd(8) · line 11
Quoted 7 lines
scripts/lvm2_lvmdbusd_systemd_red_hat.service.in +1
-0@@ -5,6 +5,7 @@ Documentation=man:lvmdbusd(8) [Service] Type=dbus BusName=com.redhat.lvmdbus1 +Environment="LC_ALL=C" ExecStart=@sbindir@/lvmdbusd --udev [Install]
Hi
Thanks for noticing - the bug has been addressed directly in daemon init code:
https://www.redhat.com/archives/lvm-devel/2016-March/msg00065.html
Regards
Zdenek