ports/127978: 'pidfile=/var/run/jftpgw.pid' interferes in rc script
Helmut Schneider
jumper99 at gmx.de
Thu Oct 9 11:40:01 UTC 2008
>Number: 127978
>Category: ports
>Synopsis: 'pidfile=/var/run/jftpgw.pid' interferes in rc script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 09 11:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Helmut Schneider
>Release:
>Organization:
>Environment:
>Description:
/usr/local/etc/rc.d/jftpgw states:
pidfile=/var/run/jftpgw.pid
When the pid file is changed via jftpgw.conf the change is ignored and restart fails.
>How-To-Repeat:
[root at proxy ~]# cat /usr/local/etc/jftpgw.conf | grep pid$
pidfile /var/run/jftpgw/jftpgw.pid
[root at proxy ~]# ps -p `cat /var/run/jftpgw/jftpgw.pid`
PID TT STAT TIME COMMAND
49108 ?? Ss 0:00.00 /usr/local/sbin/jftpgw -f /usr/local/etc/jftpgw.conf
[root at proxy ~]# /usr/local/etc/rc.d/jftpgw restart
jftpgw not running? (check /var/run/jftpgw.pid).
Starting jftpgw.
Error binding: Address already in use
[root at proxy ~]#
>Fix:
Remove line
pidfile=/var/run/jftpgw.pid
from /usr/local/etc/rc.d/jftpgw as 'pidfile=/var/run/jftpgw.pid' is default anyway.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list