Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2008 09:17:57 GMT
From:      Dulmandakh Sukhbaatar <dulmandakh@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/127020: detach cherokee from console
Message-ID:  <200809010917.m819Hv9l003469@www.freebsd.org>
Resent-Message-ID: <200809010920.m819K21f056359@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127020
>Category:       misc
>Synopsis:       detach cherokee from console
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 01 09:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dulmandakh Sukhbaatar
>Release:        7.0
>Organization:
>Environment:
FreeBSD nagios.gov.mn 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Fri Aug 22 19:28:23 ULAT 2008     root@nagios.gov.mn:/usr/obj/usr/src/sys/NAGIOS  amd64
>Description:
cherokee is attached to console when started from rc script. it's freezing system startup, and it's very unusual behavior.
>How-To-Repeat:
install cherokee from ports /usr/ports/www/cherokee/. and enable it in rc.conf adding cherokee_enable="YES". start is using /usr/local/etc/rc.d/cherokee start
>Fix:
pass -d to command_args to detach cherokee from console. patch attached below

Patch attached with submission follows:

--- cherokee.orig	2008-09-01 17:17:19.000000000 +0800
+++ cherokee	2008-09-01 17:17:30.000000000 +0800
@@ -25,7 +25,7 @@
 : ${cherokee_conf="/usr/local/etc/cherokee/cherokee.conf"}
 
 command=/usr/local/sbin/cherokee
-command_args="-C ${cherokee_conf}"
+command_args="-C ${cherokee_conf} -d"
 pidfile=/var/run/cherokee.pid
 required_files=${cherokee_conf}
 stop_postcmd=stop_postcmd



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809010917.m819Hv9l003469>