First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 185611
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Andrej Kacian (RETIRED) <ticho@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul B. Henson <henson@acm.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185611 depends on: Show dependency tree
Show dependency graph
Bug 185611 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-16 23:31 0000
The current init script installed for policyd-weight runs
"/usr/lib/postfix/policyd-weight stop" to shut down the server. However, that
does not kill the cache process:

-----
# /etc/init.d/policyd-weight start
 * Starting policyd-weight ...                                                
$
[ ok ]

# ps -ef | grep policyd-weight
polw      9144     1  0 13:46 ?        00:00:00 policyd-weight (master)
polw      9145  9144  0 13:46 ?        00:00:00 policyd-weight (cache)

# /etc/init.d/policyd-weight stop
 * Stopping policyd-weight ...                                                
$
[ ok ]

# ps -ef | grep policyd-weight
polw      9145     1  0 13:46 ?        00:00:00 policyd-weight (cache)
-----

The init script should use the -k option, which also cleans up the cache
process:

-----
# /etc/init.d/policyd-weight start
 * Starting policyd-weight ...                                                
$
[ ok ]

# ps -ef | grep policyd-weight
polw      9239     1  0 13:47 ?        00:00:00 policyd-weight (master)
polw      9240  9239  0 13:47 ?        00:00:00 policyd-weight (cache)

# /usr/lib/postfix/policyd-weight stop -k
terminating

# ps -ef | grep policyd-weight

-----

------- Comment #1 From Andrej Kacian (RETIRED) 2007-07-17 14:06:21 0000 -------
Good idea, thanks! Fixed in CVS.

First Last Prev Next    No search results available      Search page      Enter new bug