FreeBSD Bugzilla – Attachment 87929 Details for
Bug 124643
security/clamav - Clamav-milter rc script does not wait for the milter socket to exist before chmoding it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patchfile
patchfile (text/plain), 636 bytes, created by
Adrian Thearle
on 2008-06-16 14:00:03 UTC
(
hide
)
Description:
patchfile
Filename:
MIME Type:
Creator:
Adrian Thearle
Created:
2008-06-16 14:00:03 UTC
Size:
636 bytes
patch
obsolete
>Index: clamav-milter.in >=================================================================== >--- clamav-milter.in (revision 111) >+++ clamav-milter.in (working copy) >@@ -59,6 +59,22 @@ > > start_postcmd() > { >+ echo -n "Waiting for clamav-milter socket.. " >+ i=${clamav_milter_socktimeout} >+ while [ $i -ne 0 ] >+ do >+ [ -S "$clamav_milter_socket" ] && break >+ if [ `expr $i % 10` -eq 0 ]; then >+ echo -n "${i}.. " >+ fi >+ sleep 1 >+ i=$(($i-1)) >+ done >+ echo >+ if [ $i -eq 0 ]; then >+ echo "There is no clamav-milter socket (${clamav_clamd_socket})!" >+ exit 1 >+ fi > /bin/chmod ${clamav_milter_socket_mode} ${clamav_milter_socket} > }
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 Raw
Actions:
View
Attachments on
bug 124643
: 87929