Project

General

Profile

Bug #9281

ZFS encrypted+mirrored swap may not be activated on 2.4.4-p2

Added by Jim Pingle 6 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
01/21/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4_2
Affected Architecture:
amd64

Description

ZFS encrypted+mirrored swap may not be activated on 2.4.4-p2, the new swap device location code isn't validating the swap location of /dev/mirror/swap.eli

Details at https://forum.netgate.com/topic/139671/losing-swap-after-reboot

Associated revisions

Revision 14d47037 (diff)
Added by Jim Pingle 6 months ago

Fix handling of special swap cases. Fixes #9281

Revision 3bb3fd45 (diff)
Added by Jim Pingle 6 months ago

Fix handling of special swap cases. Fixes #9281

(cherry picked from commit 14d470377eab89d7c3f6f765a150ce737409af28)

History

#1 Updated by Jim Pingle 6 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Vincent Bentley 6 months ago

Jim Pingle wrote:

ZFS encrypted+mirrored swap may not be activated on 2.4.4-p2, the new swap device location code isn't validating the swap location of /dev/mirror/swap.eli

Details at https://forum.netgate.com/topic/139671/losing-swap-after-reboot

The patch works well. It fixes this issue on my system. Thanks.

#3 Updated by Jim Pingle 6 months ago

  • Status changed from Feedback to Resolved

Thanks for testing!

#4 Updated by Jim Pingle 4 months ago

  • Target version changed from 48 to 2.5.0

#5 Updated by Jim Pingle 2 months ago

  • Target version changed from 2.5.0 to 2.4.4-p3

#6 Updated by Jim Pingle 2 months ago

  • Status changed from Resolved to Feedback

#7 Updated by Chris Linstruth 2 months ago

2.4.4-p3

Installed 2.4.4-p1 with ZFS Mirrored, Encrypted swap. Looked good.
Upgraded to 2.4.4-p2 - No swap available.
Upgraded to 2.4.4-p3 - Swap again available.

#8 Updated by Jim Pingle 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF