Date: Thu, 10 Aug 2006 13:45:20 -0400 From: John Nielsen <john@jnielsen.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jean-Baptiste Quenot <jbq@caraldi.com> Subject: ports/101767: ports: www/resin3 does not start with "faststart" Message-ID: <200608101345.20882.john@jnielsen.net> Resent-Message-ID: <200608101750.k7AHoDWs072168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101767 >Category: ports >Synopsis: ports: www/resin3 does not start with "faststart" >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: Thu Aug 10 17:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: John Nielsen >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD jnielsen.benefitfocus.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 2 13:20:44 EDT 2006 john@jnielsen.benefitfocus.com:/usr/obj/usr/src/sys/JNIELSEN i386 >Description: Resin currently fails to start at boot on rcng systems (such as FreeBSD 6.1) that pass the "faststart" argument to the rc scripts. Resin's rc script simply passes whatever argument it is given on to the resinctl utility, and without the patch below resinctl does not recognize "faststart" as a valid argument. >How-To-Repeat: Reboot a FreeBSD 6.1 system with resin installed. Resin fails to start, and (depending on its configuration) Apache may fail as well. >Fix: Apply this patch to ports/www/resin3/files/resinctl. --- resinctl.patch begins here --- --- resinctl.orig Thu Aug 10 13:30:39 2006 +++ resinctl Thu Aug 10 13:31:56 2006 @@ -67,7 +67,7 @@ return 0 def usage(): - print >> sys.stderr, "Usage: %s {start|stop|restart}" % sys.argv[0] + print >> sys.stderr, "Usage: %s {start|faststart|stop|restart}" % sys.argv[0] def start(): cwd = os.getcwd() @@ -174,6 +174,9 @@ sys.exit(1) if sys.argv[-1] == "start": + start() + + elif sys.argv[-1] == "faststart": start() elif sys.argv[-1] == "stop": --- resinctl.patch ends here --- ------------------------------------------------------- --Boundary-00=_wC32EtmRpzYdMOc Content-Type: text/plain; name="ports: www/resin3 does not start with "faststart"" Content-Transfer-Encoding: 7bit >Release-Note: >Audit-Trail: >Unformatted: --Boundary-00=_wC32EtmRpzYdMOc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608101345.20882.john>