From nobody@FreeBSD.org  Wed Sep  1 05:48:52 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 698761065694
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dcecchin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: misc/dahdi rc script should not allow it to stop while in use 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    fjoe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 05:50:01 UTC 2010
>Closed-Date:    Sat Sep 04 09:31:46 UTC 2010
>Last-Modified:  Sat Sep 04 09:31:46 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-bugs->fjoe 
Responsible-Changed-By: fjoe 
Responsible-Changed-When: Sat Sep 4 09:02:26 UTC 2010 
Responsible-Changed-Why:  
To me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150175 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/150175: commit references a PR
Date: Sat,  4 Sep 2010 09:04:32 +0000 (UTC)

 fjoe        2010-09-04 09:04:24 UTC
 
   FreeBSD ports repository
 
   Modified files:
     misc/dahdi           Makefile distinfo 
     misc/dahdi/files     patch-zaphfc 
   Removed files:
     misc/dahdi/files     patch-freebsd-drivers-dahdi-wctdm.c 
                          patch-freebsd-freebsd-Makefile 
                          patch-freebsd-freebsd-Makefile.inc 
   Log:
   Update to 2.4.0-rc5.
   
   Major changes are:
   - it is no longer possible to unload drivers in use [1]
   - wctdm params patch is now in upstream
   - NO_FETCH patch and ADDITIONAL_DRIVERS patches are no longer required
   
   PR:             150175 [1]
   Sponsored by:   The FreeBSD Foundation
   
   Revision  Changes    Path
   1.16      +1 -1      ports/misc/dahdi/Makefile
   1.8       +3 -3      ports/misc/dahdi/distinfo
   1.2       +0 -36     ports/misc/dahdi/files/patch-freebsd-drivers-dahdi-wctdm.c (dead)
   1.2       +0 -12     ports/misc/dahdi/files/patch-freebsd-freebsd-Makefile (dead)
   1.2       +0 -14     ports/misc/dahdi/files/patch-freebsd-freebsd-Makefile.inc (dead)
   1.2       +165 -26   ports/misc/dahdi/files/patch-zaphfc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: fjoe 
State-Changed-When: Sat Sep 4 09:31:04 UTC 2010 
State-Changed-Why:  
Fixed in dahdi-2.4.0rc5 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150175 
>Unformatted:
