[Bug 254624] Detaching an iSCSI-connected swap should be refused

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 28 13:20:35 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254624

            Bug ID: 254624
           Summary: Detaching an iSCSI-connected swap should be refused
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: d8zNeCFG at aon.at

Scenario:
- FreeBSD main ca. March 13, armv6 running on Raspberry Pi model B+
- Adding network storage using "iscsictl -A -n <name>"
- Swapping to that storage via "swapon /dev/daNpX"
- Inadvertently issuing "iscsictl -R -n <name>"

Result:
- The disk carrying the swap space is removed without warning
- The system deadlocks

Expected result:
- The "iscsictl -R ..." should result in an error message and be refused.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list