misc/118923: Wrong pidfile in /usr/local/etc/rc.d/dcc-start port mail/dcc-dccd

John Fox Maule john at fox-maule.dk
Thu Dec 20 23:20:02 PST 2007


>Number:         118923
>Category:       misc
>Synopsis:       Wrong pidfile in /usr/local/etc/rc.d/dcc-start port mail/dcc-dccd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 07:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     John Fox Maule
>Release:        6.2
>Organization:
>Environment:
FreeBSD post.brmit.com 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 24 01:22:42 CET 2007
>Description:
/usr/local/etc/rc.d/dcc-start (installed via ports) states that pidfile is 

pidfile=${dccifd_pidfile:-"/var/run/dcc/dccifd.pid"}

But it should be
pidfile=${dccifd_pidfile:-"/var/run/dccifd.pid"}

Also the ports seems very old 1.3.50 latest version 1.3.79 including fixes post version 1.3.50 that are specific to FreeBSD

See http://www.rhyolite.com/anti-spam/dcc/dcc-tree/CHANGES


>How-To-Repeat:
cd /usr/ports/mail/dcc/dcc-dcdd
make install clean
enable dcc by entering DCCIFD_ENABLE=on in /usr/local/dcc/dcc_conf
/usr/local/etc/rc.d/dcc-start start
/usr/local/etc/rc.d/dcc-start stop
>Fix:
Correct the pidfile in the startup script

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list