Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29109 - net-www/pound fails to stop
Summary: net-www/pound fails to stop
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 05:37 UTC by Thomas Stein
Modified: 2004-05-12 15:13 UTC (History)
3 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 Thomas Stein 2003-09-19 05:37:07 UTC
/etc/init.d/pound stop fails. Maybe a pidfile problem?

best regards
Thomas
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2003-09-21 16:37:26 UTC
Hi Tom!

As you submitted the ebuild, could you please have a look at this bug?
Comment 2 Thomas Eckert 2003-09-22 02:25:33 UTC
Sure :)
The problem is a change in pidfile-generation in v1.4. It's possible to start
multiple pound-processes and that is aided by a "non-standard" way of pidfile-naming:
/var/run/pound_pid.1234 (1234 the actual pid).

I have no idea how to fix that cleanly without breaking the "start more than
one instance"-feature of pound.

If we throw away the "multi-start"-feature we could do the following ugly hack.
Modify /etc/init.d/pound to search for a pound-pidfile and use it:
sed -i.bak 's@/var/run/pound.pid@/var/run/pound_pid.*@' /etc/init.d/pound

This obviously beaks if more than one instance of pound is running or if there
are stale pidfiles.

Sorry, no better solution at the moment.
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 01:25:47 UTC
Does this still happen with pound-1.6?

Best regards,
Stu
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-05-12 15:13:14 UTC
Closing old bug.  If this problem is still happening with the latest stable version of pound, please re-open this bug.

Best regards,
Stu