When listing the dictionnaries, a new file is created (with the current umask). As result, when having umask=0077, the file is not readable by dictd. To get rid of that, I declared DICTDCONF_MOD, which hold the chmod(1) argument. If DICTDCONF_MOD is not defined, nothing more happens. I'll attach the patch Reproducible: Always Steps to Reproduce: 1.Make sure dictd is not running 2.# /etc/init.d/dictd start Actual Results: * Re-caching dependency info (mtimes differ)... * Starting dictd... * Scanning for dictionaries... * Done, 4 dictionary indexes found. :E: /etc/dict/dictd.conf is not readable (config file) /sbin/runscript.sh: line 532: 15986 Segmentation Fault start-stop-daemon --start --quiet --exec /usr/sbin/dictd -- $EARGS [ !! ] Expected Results: * Starting dictd... * Scanning for dictionaries... * Changing mod * Done, 4 dictionary indexes found. [ ok ]
Created attachment 57437 [details, diff] dictd-initd-mod
Comment on attachment 57437 [details, diff] dictd-initd-mod Patch to chmod the conf file after listing dicts
Fixed in dictd-1.10.9.
BUIRA I'm dropping DICTDCONF_MOD from conf.d/dictd file and make initrc script itself check and set correct permissions. If you still using dictd, please, give dictd-1.10.11-r1.ebuild a try. Thank you.