All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Run the DBus daemon with the "C" locale
Date: Sat, 5 Mar 2016 11:50:29 +0100	[thread overview]
Message-ID: <56DAB9F5.3040003@redhat.com> (raw)
In-Reply-To: <1457074768-11160-1-git-send-email-vpodzime@redhat.com>

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



      reply	other threads:[~2016-03-05 10:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04  6:59 [PATCH] Run the DBus daemon with the "C" locale Vratislav Podzimek
2016-03-05 10:50 ` Zdenek Kabelac [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56DAB9F5.3040003@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.