Date: Sun, 30 Aug 2009 16:25:09 +0700 (NOVST) From: Stanislav A Svirid <count@211.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/138334: [maintainer update] net-mgmt/noc: Fix script for rc.d Message-ID: <200908300925.n7U9P9s3050641@unknown.211.ru> Resent-Message-ID: <200908300950.n7U9o2oe059046@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908300925.n7U9P9s3050641>