<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>101573</bug_id>
          
          <creation_ts>2005-08-06 13:17 0000</creation_ts>
          <short_desc>dictd not starting because of locale issues</short_desc>
          <delta_ts>2007-08-18 01:18:32 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=213745</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>yosefm@gmail.com</reporter>
          <assigned_to>app-dicts@gentoo.org</assigned_to>
          <cc>sascha-gentoo-bugzilla@silbe.org</cc>

      

      
          <long_desc isprivate="0">
            <who>yosefm@gmail.com</who>
            <bug_when>2005-08-06 13:17:40 0000</bug_when>
            <thetext>It seems that dictd needs to run with --locale=en_US.utf8, otherwise it silently
crashes (at least on my locale, LANG=he_IL.utf8). The url I mentioned mentions
this on the Debian bugzilla.

Adding said option to the initscript solves the issue. Seems silly to post a
patch for something this small, but the start line should look like this:

start-stop-daemon --start --quiet --exec /usr/sbin/dictd -- --locale=en_US.utf8
$EARGS

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/dictd start
2. ps -A | grep dictd  # Nothing in the output

Actual Results:  
dictd doesn&apos;t start (but the service does not show an error message and needs to
be zapped)


 $ locale -a
C
de_DE
de_DE@euro
en_US
en_US.utf8
he_IL.utf8
POSIX


$ locale
LANG=he_IL.utf8
LC_CTYPE=&quot;he_IL.utf8&quot;
LC_NUMERIC=&quot;he_IL.utf8&quot;
LC_TIME=&quot;he_IL.utf8&quot;
LC_COLLATE=&quot;he_IL.utf8&quot;
LC_MONETARY=&quot;he_IL.utf8&quot;
LC_MESSAGES=C
LC_PAPER=&quot;he_IL.utf8&quot;
LC_NAME=&quot;he_IL.utf8&quot;
LC_ADDRESS=&quot;he_IL.utf8&quot;
LC_TELEPHONE=&quot;he_IL.utf8&quot;
LC_MEASUREMENT=&quot;he_IL.utf8&quot;
LC_IDENTIFICATION=&quot;he_IL.utf8&quot;
LC_ALL=</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rjenster@eiszeit.blogdns.net</who>
            <bug_when>2005-10-20 09:41:02 0000</bug_when>
            <thetext>I can confirm this behaviour. Adding a note to the /etc/conf.d/dictd would be 
good thing. 
 
Regards, 
Ruben 
 
My locale is: 
LANG=de_DE.UTF-8 
LC_CTYPE=&quot;de_DE.UTF-8&quot; 
LC_NUMERIC=&quot;de_DE.UTF-8&quot; 
LC_TIME=&quot;de_DE.UTF-8&quot; 
LC_COLLATE=&quot;de_DE.UTF-8&quot; 
LC_MONETARY=&quot;de_DE.UTF-8&quot; 
LC_MESSAGES=&quot;de_DE.UTF-8&quot; 
LC_PAPER=&quot;de_DE.UTF-8&quot; 
LC_NAME=&quot;de_DE.UTF-8&quot; 
LC_ADDRESS=&quot;de_DE.UTF-8&quot; 
LC_TELEPHONE=&quot;de_DE.UTF-8&quot; 
LC_MEASUREMENT=&quot;de_DE.UTF-8&quot; 
LC_IDENTIFICATION=&quot;de_DE.UTF-8&quot; 
LC_ALL=de_DE.UTF-8 
LANG=de_DE.UTF-8 
LC_CTYPE=&quot;de_DE.UTF-8&quot; 
LC_NUMERIC=&quot;de_DE.UTF-8&quot; 
LC_TIME=&quot;de_DE.UTF-8&quot; 
LC_COLLATE=&quot;de_DE.UTF-8&quot; 
LC_MONETARY=&quot;de_DE.UTF-8&quot; 
LC_MESSAGES=&quot;de_DE.UTF-8&quot; 
LC_PAPER=&quot;de_DE.UTF-8&quot; 
LC_NAME=&quot;de_DE.UTF-8&quot; 
LC_ADDRESS=&quot;de_DE.UTF-8&quot; 
LC_TELEPHONE=&quot;de_DE.UTF-8&quot; 
LC_MEASUREMENT=&quot;de_DE.UTF-8&quot; 
LC_IDENTIFICATION=&quot;de_DE.UTF-8&quot; 
LC_ALL=de_DE.UTF-8 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2007-08-18 01:18:32 0000</bug_when>
            <thetext>Fixed in dictd-1.10.9.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>