Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463504 - mail-filter/dcc initd script does not honour milter socket on TCP
Summary: mail-filter/dcc initd script does not honour milter socket on TCP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 17:58 UTC by Stevan Bajić
Modified: 2013-12-28 04:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proper handling of dccm TCP sockets (dcc.initd-1.3.140.patch,1.51 KB, text/plain)
2013-03-27 18:00 UTC, Stevan Bajić
Details
proper handling of dccm TCP sockets (dcc.initd-1.3.140.patch,1.51 KB, patch)
2013-03-29 13:27 UTC, Stevan Bajić
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stevan Bajić 2013-03-27 17:58:54 UTC
Enabling the milter interface in DCC usually starts a file socket but DCC allows to use a TCP socket as well. This can be done in /etc/dcc/dcc_conf. Unfortunately the init.d script for DCC assumes a file socket and waits 20 seconds for the binary to create the file socket. IMHO the initd script should be extended to handle either file sockets or a normal TCP socket.

Reproducible: Always
Comment 1 Stevan Bajić 2013-03-27 18:00:35 UTC
Created attachment 343452 [details]
proper handling of dccm TCP sockets
Comment 2 Stevan Bajić 2013-03-27 18:03:49 UTC
I forgot to mention that the old init.d script has a typo too. It declares a variable called dccmtimeout (see the 'm' after 'dcc'?) but later only checks for dcctimeout (without the 'm').
Comment 3 Stevan Bajić 2013-03-29 13:27:25 UTC
Created attachment 343640 [details, diff]
proper handling of dccm TCP sockets

Sorry. This is the right patch.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-28 04:47:33 UTC
InCVS