Bug 172348 - [unionfs] umount -f of filesystem in use with readonly backed filesystem results in panic
Summary: [unionfs] umount -f of filesystem in use with readonly backed filesystem resu...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 04:10 UTC by Enji Cooper
Modified: 2025-03-03 04:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2012-10-05 04:10:05 UTC
The following resulted in a vary quick kernel panic when booted from the livecd (again, I goofed up the arguments order):

- mount_unionfs /var /tmp/var
- dhclient em0
- umount /var
- umount -f /var
- killall dhclient
- mount_unionfs /tmp/var /var # EBADF
- mount_unionfs /tmp/var /var # EBADF
- Try to inspect /var and BAM kernel panic.

I assume that it was trying to consolidate the outstanding changes to em0.leases, etc and because the unionfs mountpoint went away, things got unhappy really quickly on the UFS side.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-10-05 04:15:04 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:35 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
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2025-03-03 04:10:33 UTC
^Triage: to submitter: is this still a problem on recent versions of FreeBSD?