misc/127020: detach cherokee from console

Dulmandakh Sukhbaatar dulmandakh at gmail.com
Mon Sep 1 09:20:03 UTC 2008


>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 at 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:


More information about the freebsd-bugs mailing list