Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217439 Details for
Bug 302282
mail-filter/sid-milter-1.0.0-r4 fails to start if a local socket is already present
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init script
sid-filter.diff (text/plain), 897 bytes, created by
Aurélien Requiem
on 2010-01-26 04:14:30 UTC
(
hide
)
Description:
init script
Filename:
MIME Type:
Creator:
Aurélien Requiem
Created:
2010-01-26 04:14:30 UTC
Size:
897 bytes
patch
obsolete
>--- sid-filter.orig 2010-01-26 01:57:29.000000000 +0100 >+++ sid-filter 2010-01-26 05:06:07.000000000 +0100 >@@ -27,6 +27,19 @@ > fi > } > >+clean_socket() { >+ local socket_file= svc_pid= >+ >+ socket_file="$(echo ${SID_FILTER_OPTS} | sed -e 's/.*local:\(.*\) .*/\1/' | awk '{print $1}')" >+ svc_pid="$(ps -C sid-filter -o pid=)" >+ if [[ -z "${svc_pid}" ]] && [[ ! -z "${socket_file}" ]] && [[ -S "${socket_file}" ]]; then >+ ewarn "Strange, the socket file already exist in \"${socket_file}\"" >+ ewarn "it will be removed now and re-created by the sid-filter server" >+ ewarn "BUT please make your checks." >+ rm -f "${socket_file}" >+ fi >+} >+ > start() { > local filter_user= filter_pid= SSD_OPTS= > >@@ -40,6 +53,7 @@ > fi > > ebegin "Starting Sender-ID Filter" >+ clean_socket > start-stop-daemon --start --quiet --background ${SSD_OPTS} \ > --exec /usr/bin/sid-filter -- ${SID_FILTER_OPTS} > eend $?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 302282
: 217439