From owner-freebsd-bugs@FreeBSD.ORG Sat Oct 27 00:00:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26D4C88B for ; Sat, 27 Oct 2012 00:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id D7B9E8FC0A for ; Sat, 27 Oct 2012 00:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9R0000M057655 for ; Sat, 27 Oct 2012 00:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9R000d7057654; Sat, 27 Oct 2012 00:00:00 GMT (envelope-from gnats) Resent-Date: Sat, 27 Oct 2012 00:00:00 GMT Resent-Message-Id: <201210270000.q9R000d7057654@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, Marek Salwerowicz Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55BEA81E for ; Fri, 26 Oct 2012 23:56:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB728FC08 for ; Fri, 26 Oct 2012 23:56:34 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9QNuXTO033370 for ; Fri, 26 Oct 2012 23:56:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9QNuXNO033369; Fri, 26 Oct 2012 23:56:33 GMT (envelope-from nobody) Message-Id: <201210262356.q9QNuXNO033369@red.freebsd.org> Date: Fri, 26 Oct 2012 23:56:33 GMT From: Marek Salwerowicz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/173136: (unionfs) mounting above the NFS read-only share panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 00:00:01 -0000 >Number: 173136 >Category: misc >Synopsis: (unionfs) mounting above the NFS read-only share panic >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: Sat Oct 27 00:00:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Marek Salwerowicz >Release: 9.1-PRERELEASE amd64 >Organization: >Environment: FreeBSD s14 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Oct 4 23:46:19 CEST 2012 ato@volt.iem.pw.edu.pl:/tmp/obj/usr/src/sys/DISKLESS amd64 >Description: I am using a diskless mode of FreeBSD with root ('/') read-only mounted from my server. The /tmp directory is mounted as tmpfs. After creating eg. /tmp/istgt directory, mounting it (using mount_unionfs) above the eg. /usr/local/etc/istgt directory and editing existing file (istgt.conf), I receive a kernel panic s14% mount 194.29.146.3:/ on / (nfs, read-only) devfs on /dev (devfs, local) /dev/md0 on /etc (ufs, local) procfs on /proc (procfs, local) tmpfs on /tmp (tmpfs, local) tmpfs on /var (tmpfs, local) output from machine console: https://www.dropbox.com/s/e3wocs9tx0fip6e/20121026434.jpg https://www.dropbox.com/s/jzwjrda5itoyuez/20121026436.jpg >How-To-Repeat: [assume that /tmp is tmpfs, and / is mounted read-only from NFS server] % sudo mkdir /tmp/istgt % sudo mount_unionfs /tmp/istgt /usr/local/etc/istgt % vim /usr/local/etc/istgt/istgt.conf (edit file and save it, using :wq) >Fix: >Release-Note: >Audit-Trail: >Unformatted: