Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415101 - app-misc/lcdproc - LCDd init script hangs indefinitely
Summary: app-misc/lcdproc - LCDd init script hangs indefinitely
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 08:03 UTC by Eduard Huguet
Modified: 2012-05-10 11:10 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard Huguet 2012-05-08 08:03:54 UTC
Since last world update, the LCDd daemon init script hangs indefinitely when starting the service. Apparently, the problem is simply that LCDd binary is not going to background anymore when started, but keeping into background (as the daemon is indeed running and handling petitions).

After some researching, I found a simple workaround: adding "--background" to start-stop-daemon command line inside /etc/init.d/LCDd script fixes it, so I guess is somewhat related to either lcdproc-0.5.5 (got upgraded in this update), or else openrc-0.9.9.3.






Reproducible: Always

Steps to Reproduce:
1.start LCDd service by calling /etc/init.d/LCDd start

Actual Results:  
LCDd daemon is started and is working fine, but call to /etc/init.d/LCDd script never returns.



Expected Results:  
Call to /etc/init.d/LCDd should return immediately after starting the daemon.
Comment 1 Markus Lischka 2012-05-10 07:46:31 UTC
I just updated to lcdproc-0.5.5 and are experiencing the same problem, using stable openrc 0.9.8.4.

Please revert the change introduced with regards to bug #359501.
Comment 2 Eduard Huguet 2012-05-10 08:35:07 UTC
(In reply to comment #1)
> I just updated to lcdproc-0.5.5 and are experiencing the same problem, using
> stable openrc 0.9.8.4.
> 
> Please revert the change introduced with regards to bug #359501.

Hi, 
Have you tried the workaround I suggested (adding "--background" in init script call). It has worked for me as a temporary solution.

Kind regards
Comment 3 Markus Lischka 2012-05-10 09:22:12 UTC
Readding --background solves the problem as suggested (this option was removed with the last change to fix #359501).
Comment 4 Pacho Ramos gentoo-dev 2012-05-10 09:34:22 UTC
+  10 May 2012; Pacho Ramos <pacho@gentoo.org> files/0.5.1-LCDd.initd,
+  metadata.xml:
+  Revert init script change as it causes problems (#415101 by Eduard Huguet) and
+  former looks to start fine for me.
+
Comment 5 Eduard Huguet 2012-05-10 09:35:30 UTC
Great, thanks!