Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245593 - app-text/dictd-1.10.11-r3 is always reported to fail to start and uses no pid file
Summary: app-text/dictd-1.10.11-r3 is always reported to fail to start and uses no pid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 21:49 UTC by Erik Hahn
Modified: 2008-11-08 18:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
init script fixed by using a pid file (dictd,1.98 KB, text/plain)
2008-11-04 21:50 UTC, Erik Hahn
Details
/etc/conf.d/dictd with DICTD_PID entry (dictd,235 bytes, text/plain)
2008-11-04 21:52 UTC, Erik Hahn
Details
Patch to init script for using a pid file (dictd.patch,567 bytes, patch)
2008-11-05 11:15 UTC, Erik Hahn
Details | Diff
Patch for /etc/conf.d/dictd (dictd-confd.patch,218 bytes, patch)
2008-11-05 11:17 UTC, Erik Hahn
Details | Diff
emerge --info (emerge-info,3.78 KB, text/plain)
2008-11-05 11:29 UTC, Erik Hahn
Details
paludis --info (paludis-info,30.37 KB, text/plain)
2008-11-05 11:30 UTC, Erik Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Hahn 2008-11-04 21:49:03 UTC
The init script of dictd always reports that the program dies:

init.d # ./dictd restart
 * Caching service dependencies ...                                                          [ ok ]
 * Stopping dictd ...                                                                        [ ok ]
 * Scanning for dictionaries...
 * Done, 1 dictionaries found.
 * Starting dictd ...
 * start-stop-daemon: /usr/sbin/dictd died                                                   [ !! ]
 * ERROR: dictd failed to start

This is because dictd forks into the background - in fact it runs fine. I'm attaching a fixed init script and the needed conf.d/dictd file.

Reproducible: Always

Steps to Reproduce:
1.Try to start dictd

Actual Results:  
The script reports that dictd failed, it runs in the background though.

Expected Results:  
Dictd starts
Comment 1 Erik Hahn 2008-11-04 21:50:59 UTC
Created attachment 170748 [details]
init script fixed by using a pid file

I'm not sure about this - should I have attached a patch instead of the whole file?
Comment 2 Erik Hahn 2008-11-04 21:52:06 UTC
Created attachment 170749 [details]
/etc/conf.d/dictd with DICTD_PID entry
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-11-05 06:17:41 UTC
Please, attach unified diff (diff -u) and provide emerge --info. Thanks.
Comment 4 Erik Hahn 2008-11-05 11:15:37 UTC
Created attachment 170790 [details, diff]
Patch to init script for using a pid file
Comment 5 Erik Hahn 2008-11-05 11:17:00 UTC
Created attachment 170792 [details, diff]
Patch for /etc/conf.d/dictd
Comment 6 Erik Hahn 2008-11-05 11:29:53 UTC
Created attachment 170794 [details]
emerge --info

Here you are, I wonder how it's relevant in this case though.
Comment 7 Erik Hahn 2008-11-05 11:30:50 UTC
Created attachment 170795 [details]
paludis --info
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2008-11-06 10:55:31 UTC
Could you try to update openrc up to 3.0.0-r1 and retry?
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2008-11-08 18:37:37 UTC
Ok, I've checked. This is broken only with openrc-0.2.5 and it works fine with baselayout-1 and openrc-0.3.0-r1. Added fix, but without any revision bump.