Bug 173136 - [unionfs] mounting above the NFS read-only share panic
Summary: [unionfs] mounting above the NFS read-only share panic
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-27 01:00 UTC by Marek Salwerowicz
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Salwerowicz 2012-10-27 01:00:00 UTC
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)
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-10-27 02:47:09 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

correct synopsis and assign
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:19 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped