Date: Mon, 13 Dec 2004 22:42:40 +0100 (CET) From: Hilko.Meyer@gmx.de To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75034: [patch] Scanlogd doesn't start with rc-script after update to scanlogd-2.2.5_1 Message-ID: <200412132142.iBDLgewE014133@kirk.hochpass.uni-hannover.de> Resent-Message-ID: <200412132150.iBDLoOin057717@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75034 >Category: ports >Synopsis: [patch] Scanlogd doesn't start with rc-script after update to scanlogd-2.2.5_1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 13 21:50:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Hilko Meyer >Release: FreeBSD 5.2.1-RELEASE-p13 i386 >Organization: >Environment: System: FreeBSD kirk.hochpass.uni-hannover.de 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Fri Dec 3 01:06:06 CET 2004 hilti@kirk.hochpass.uni-hannover.de:/usr/obj/usr/src/sys/KIRK i386 >Description: The rc-script installed with scanlogd-2.2.5_1 fails to start the daemon, because it tried to start /usr/local/sbin/scanlogd but the program is installed in /usr/local/bin/ and not in sbin. >How-To-Repeat: >Fix: --- diff begins here --- --- /usr/local/etc/rc.d/scanlogd.sh.orig Mon Dec 13 21:55:55 2004 +++ /usr/local/etc/rc.d/scanlogd.sh Mon Dec 13 22:19:53 2004 @@ -12,14 +12,14 @@ prefix=/usr/local scanlogd_enable=${scanlogd_enable:-"NO"} # Enable scanlogd -scanlogd_program="${prefix}/sbin/scanlogd" # Location of scanlogd +scanlogd_program="${prefix}/bin/scanlogd" # Location of scanlogd scanlogd_flags=${scanlogd_flags:-""} # Flags to scanlogd . /etc/rc.subr name="scanlogd" rcvar=`set_rcvar` -command="${prefix}/sbin/${name}" +command="${prefix}/bin/${name}" required_files="" load_rc_config $name --- diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412132142.iBDLgewE014133>