Summary: | net-proxy/http-replicator-3.0 fail to start at boot (fix included) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Davide Cendron (RETIRED) <scen> |
Component: | Current packages | Assignee: | Maurice van der Pot (RETIRED) <griffon26> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | andrey, m.debruijne, monkeh, net-proxy+disabled, pylon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://freshmeat.net/projects/http-replicator/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
needed change to initscript
Temporary workaround for SIGHUP |
Description
Davide Cendron (RETIRED)
2007-05-07 09:40:43 UTC
Created attachment 118412 [details, diff]
needed change to initscript
Diff of fixed initscript
*** Bug 178220 has been marked as a duplicate of this bug. *** I've test a new installation from scratch in a Virtualbox VM. - i've used a x86 stage3-2007.0 with a recent portage snapshot (around May, 18th) - i've used a simple partitioning scheme (hda1-> boot , hda2-> / , hda3 -> swap) - i haven't updated anything, so the installed system is a "vanilla" stage3 (plus the necessary system tools and grub) - i've installed http-replicator, added it to default runlevel and..... IT WORKS! :PPP So i suppose that could be some problem in MY OWN actual Gentoo installations :P I'll try to update and setup the VM following my typical configurations, and i hope to find where the things break... stay tuned 8) Maurice, care to fix that or do you want me to fix it? Alin, adding --background is not the right solution and I am unable to reproduce the problem myself. Can you reproduce the problem? If so, we could do some debugging to find the real cause. (In reply to comment #5) > Can you reproduce the problem? If so, we could do some debugging to find the > real cause. I can reproduce this problem on my machine. So I can help as well. Created attachment 124346 [details, diff]
Temporary workaround for SIGHUP
Further debugging showed that ignoring SIGHUP in the child process fixes the problem. The solution will probably need some more changes, but as a workaround the attached patch should do the trick.
Stay tuned.
I checked in the work-around I mentioned. If anyone notices any problems with it, please reopen this bug. I'm closing this bug now as RESOLVED/UPSTREAM because upstream is working on a new release that is a rewrite and it wouldn't make much sense to spend time on fixing the old code base if there's a work-around in place. Thanks everyone! It is still not working. I have two updated systems with different profiles. And http-replicator doesn't start. /etc/init.d/http-replicator start * Caching service dependencies [ ok ] * Starting Http-Replicator * Failed to start [ !! ] but in log file tail /var/log/http-replicator.log 11 Feb 2010 13:42:26 INFO: HttpReplicator started If I copy-paste start string from init.d script the replicator will be started without problem. --oknodo solution from http://bugs.gentoo.org/show_bug.cgi?id=281704 fixed this problem looks likes the problem is in start-stop-daemon cos `pidof -x http-replicator` (as called from start-stop-daemon to check when process is already started) returns nothing even http-replicator is runnning. due this http-replicator fails to start see #286191 |