From owner-freebsd-bugs@FreeBSD.ORG Thu May 24 17:59:59 2012 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF0E106564A for ; Thu, 24 May 2012 17:59:59 +0000 (UTC) (envelope-from nbari@dalmp.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 22F948FC08 for ; Thu, 24 May 2012 17:59:58 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so640250pbb.13 for ; Thu, 24 May 2012 10:59:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=tuAmXGopCiCCoY+mvS8Uvz+vWoLjDF53DVjfwD0cK3k=; b=JUltYxU2TdixusFJl1YJS1yMYwUdd8Xq/rbV+UcA4YJG1Zjt/U370Ob4ibRJD82sg8 UeKUp4ZdjdYZfYTkcOsEZKSui7C3VSQXh1TVdJg9eeaMlkoGjKsgKDT/KBLsZXUR4EJF ugYDsrA12VUQMt1PyPCluOVFUw0wv6pT17z7zmCedqRV+GAMFCrgDW15prTsje8vInyV Ra/Acc46976gzvIxhL/bUH5SUCj8WDm5bpnSJ76uOkcOwW/mkIeQ+SBO+ivIKXBCzG7J FOHZin1WmyvHunx+uyk2irFnZWnlZA9GlJ2aK2LpPXUkNSWWsKrXogx+BKh7m4pT+5+p +4FQ== MIME-Version: 1.0 Received: by 10.68.242.197 with SMTP id ws5mr6056262pbc.12.1337882398491; Thu, 24 May 2012 10:59:58 -0700 (PDT) Received: by 10.143.33.16 with HTTP; Thu, 24 May 2012 10:59:58 -0700 (PDT) X-Originating-IP: [89.181.193.3] Date: Thu, 24 May 2012 18:59:58 +0100 Message-ID: From: Nicolas de Bari Embriz Garcia Rojas To: freebsd-bugs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmDwu7hy7s32dJZqDS+D/BwzMhFeyWMmqZUFhLsWnXMkXE42GbyzCEfQEWka8YmHyNoGyhT Cc: Subject: /etc/rc.d/jail writing hostname in /var/run/jail_example.id 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: Thu, 24 May 2012 17:59:59 -0000 After updating to 9.0 latest release (via cvsup) the /etc/rc.d/jail cannot stop the jails after starting them after debugging I notice that it the jail PID is stored on the bottom of the /tmp.XXXXX a quick hack is to edit /etc/rc.d/jail and replace the 'head' with a 'tail' on line 649 that looks something like this: _jail_id=$(head -1 ${_tmp_jail}) with this: _jail_id=$(tail -1 ${_tmp_jail}) regards.