Having swapfile defined in rc.conf
will create duplication of memory disk device after executing init 1 as root
swapinfo will report md0 and md1 as swapdevices and top will report duplicated (2x) swap (impossiblie)
I did not look if other problems may arise when this error happen (swap was not used at all)
Before adding swapfile check if it already exist with mdconfig -l -u X
where X is mdX number of previous swapfile.
How-To-Repeat: create swapfile with dd (as explained in handbook) and add its full name in /etc/rc.conf
notice swapinfo and top output after executing # init 1
This is a problem indeed, and can easily be fixed with this hint from
While in this file, we can use REQUIRE in netif rather than BEFORE in addswap.
Would anyone care to approve?
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