ports/138334: [maintainer update] net-mgmt/noc: Fix script for rc.d
Stanislav A Svirid
count at 211.ru
Sun Aug 30 09:50:02 UTC 2009
>Number: 138334
>Category: ports
>Synopsis: [maintainer update] net-mgmt/noc: Fix script for rc.d
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 30 09:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Stanislav A Svirid
>Release: FreeBSD 7.1-STABLE i386
>Organization:
Siberian Networks
>Environment:
System: FreeBSD unknown.211.ru 7.1-STABLE FreeBSD 7.1-STABLE #7: Mon Mar 9 18:59:18 NOVT 2009 root at unknown.211.ru:/fsys/big0/obj/usr/src/sys/UNKNOWN i386
>Description:
After reboot, noc daemons not started.
Need add '/usr/local/bin/' in PATH env to find python properly.
>How-To-Repeat:
Install noc.
Enable noc in /etc/rc.conf.
reboot.
noc daemons will not start.
>Fix:
--- noc.patch begins here ---
diff -ruN noc.bak/Makefile noc/Makefile
--- noc.bak/Makefile 2009-08-18 16:07:12.000000000 +0700
+++ noc/Makefile 2009-08-30 16:06:27.000000000 +0700
@@ -7,6 +7,7 @@
PORTNAME= noc
PORTVERSION= 0.2.7
+PORTREVISION= 1
CATEGORIES= net-mgmt python
MASTER_SITES= http://trac.nocproject.org/trac/downloads/
DISTNAME= noc-${PORTVERSION}
diff -ruN noc.bak/files/noc.sh.in noc/files/noc.sh.in
--- noc.bak/files/noc.sh.in 2009-08-18 16:07:12.000000000 +0700
+++ noc/files/noc.sh.in 2009-08-30 16:08:45.000000000 +0700
@@ -30,6 +30,8 @@
: ${noc_config="%%NOCDIR%%/etc/noc-launcher.conf"}
: ${noc_flags="-c ${noc_config}"}
+export PATH=$PATH:/usr/local/bin
+
noc_chdir=%%NOCDIR%%
command=%%NOCDIR%%/scripts/noc-launcher.py
command_interpreter=python
--- noc.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list