* [PATCH] Run the DBus daemon with the "C" locale
@ 2016-03-04 6:59 Vratislav Podzimek
2016-03-05 10:50 ` Zdenek Kabelac
0 siblings, 1 reply; 2+ messages in thread
From: Vratislav Podzimek @ 2016-03-04 6:59 UTC (permalink / raw)
To: lvm-devel
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(+)
diff --git a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
index d3ad870..b7e9ace 100644
--- a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
+++ b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
@@ -5,6 +5,7 @@ Documentation=man:lvmdbusd(8)
[Service]
Type=dbus
BusName=com.redhat.lvmdbus1
+Environment="LC_ALL=C"
ExecStart=@sbindir@/lvmdbusd --udev
[Install]
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Run the DBus daemon with the "C" locale
2016-03-04 6:59 [PATCH] Run the DBus daemon with the "C" locale Vratislav Podzimek
@ 2016-03-05 10:50 ` Zdenek Kabelac
0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2016-03-05 10:50 UTC (permalink / raw)
To: lvm-devel
Dne 4.3.2016 v 07:59 Vratislav Podzimek napsal(a):
> 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(+)
>
> diff --git a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
> index d3ad870..b7e9ace 100644
> --- a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
> +++ b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-05 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 6:59 [PATCH] Run the DBus daemon with the "C" locale Vratislav Podzimek
2016-03-05 10:50 ` Zdenek Kabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.