From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 05:50:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A4F1106570C for ; Wed, 1 Sep 2010 05:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0098FC22 for ; Wed, 1 Sep 2010 05:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o815o2jk032867 for ; Wed, 1 Sep 2010 05:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o815o2U7032866; Wed, 1 Sep 2010 05:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 1 Sep 2010 05:50:02 GMT Resent-Message-Id: <201009010550.o815o2U7032866@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kalidarn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 698761065694 for ; Wed, 1 Sep 2010 05:48:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 592968FC1C for ; Wed, 1 Sep 2010 05:48:52 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o815mqqk097794 for ; Wed, 1 Sep 2010 05:48:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o815mqX9097793; Wed, 1 Sep 2010 05:48:52 GMT (envelope-from nobody) Message-Id: <201009010548.o815mqX9097793@www.freebsd.org> Date: Wed, 1 Sep 2010 05:48:52 GMT From: Kalidarn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/150175: misc/dahdi rc script should not allow it to stop while in use X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 05:50:02 -0000 >Number: 150175 >Category: misc >Synopsis: misc/dahdi rc script should not allow it to stop while in use >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: Wed Sep 01 05:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kalidarn >Release: FreeBSD 8.1-RELEASE >Organization: >Environment: FreeBSD localhost.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I believe there should be some error handling in the rc script for dahdi to not allow a user to stop it if other things, like asterisk are using the devices ie /dev/dahdi/x If a user does stop dahdi without stopping other services, the system will kernel panic. >How-To-Repeat: Stop dahdi before stopping asterisk. >Fix: Check to see if other processes using dahdi are running. >Release-Note: >Audit-Trail: >Unformatted: