From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 8 13:10:08 2008 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 1A5781065674 for ; Fri, 8 Aug 2008 13:10:08 +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 EA3718FC2D for ; Fri, 8 Aug 2008 13:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m78DA7hF059420 for ; Fri, 8 Aug 2008 13:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m78DA7i1059419; Fri, 8 Aug 2008 13:10:07 GMT (envelope-from gnats) Resent-Date: Fri, 8 Aug 2008 13:10:07 GMT Resent-Message-Id: <200808081310.m78DA7i1059419@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, Nejc Skoberne Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB9B106566B for ; Fri, 8 Aug 2008 13:05:53 +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 9DB6E8FC17 for ; Fri, 8 Aug 2008 13:05:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m78D5qP9029318 for ; Fri, 8 Aug 2008 13:05:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m78D5qdW029317; Fri, 8 Aug 2008 13:05:52 GMT (envelope-from nobody) Message-Id: <200808081305.m78D5qdW029317@www.freebsd.org> Date: Fri, 8 Aug 2008 13:05:52 GMT From: Nejc Skoberne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/126368: Running ktrace/kdump in jail leads to stale jails 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: Fri, 08 Aug 2008 13:10:08 -0000 >Number: 126368 >Category: kern >Synopsis: Running ktrace/kdump in jail leads to stale jails >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 08 13:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Nejc Skoberne >Release: 7-STABLE >Organization: >Environment: FreeBSD server.domain.com 7.0-STABLE FreeBSD 7.0-STABLE #3: Mon Aug 4 10:28:12 CEST 2008 root@server.domain.com:/usr/src/sys/amd64/compile/ARLEQUIN amd64 >Description: Looks like running ktrace and (or?) kdump in jail isn't a very good idea. When trying to make "/etc/rc.d/jail stop jailname", the jail looks it is stopped, but the entry remains when listing jails with "jls". If the jail is run again, there will be two entries in jls output. >How-To-Repeat: 1. Run ktrace/kdump in a jail, 2. /etc/rc.d/jail stop 3. jls output still contains the entry for that jail. 4. if running /etc/rc.d/jail start, there will be two entries for the same jail, the "broken" one will not work. >Fix: >Release-Note: >Audit-Trail: >Unformatted: