Thank you Mario, now I see the light.
This has nothing to do with locales -- it's the logfile.
>From dictd(8)
-L file or --logfile file
[snip]
If dictd does not have write permission for this file, it will
silently fail.
I bet that while on your machine
su dictd -c 'dictd --locale=de_AT.utf-8 --logfile=/var/log/dictd.log'
fails,
su dictd -c 'dictd --locale=de_AT.utf-8 --logfile=/tmp/dictd.log'
will work.
Dictd, when invoked as root, drops its permissions as soon as it has
accomplished some initial tasks (such as opening the logfile), and
before it forks. Back in 2002 Russell Coker requested, that for
additional security, dictd be invoked via "start-stop-daemon -c dictd"
http://bugs.debian.org/140513
and this was done for version 1.7.1-1.
A quick solution for you would be to:
# mkdir /var/log/dictd
# chown dictd.dictd /var/log/dictd
then use "--logfile=/var/log/dictd/dictd.log".
I am reluctant to revert back away from the -c dictd option, but
instead I will do the following:
Get dictd to print an error when it fails to open a log file.
Have the package include /var/log/dictd/ owned by dictd.dictd.
Add something to the man page about permissions when started on
Debian systems and suggested location for log files.
Kirk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]