ports/75034: [patch] Scanlogd doesn't start with rc-script after update to scanlogd-2.2.5_1
Hilko.Meyer at gmx.de
Hilko.Meyer at gmx.de
Mon Dec 13 21:50:24 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list