Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29109

Summary: net-www/pound fails to stop
Product: Gentoo Linux Reporter: Thomas Stein <thomas.stein>
Component: [OLD] ServerAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED INVALID    
Severity: major CC: eckert.thomas, tantive, web-apps
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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