Wrong script execution order with encrypted swap 04 February 2024, 14:35:09 For some reason, even if /etc/init.d/dmcrypt has before swap, it still runs after swap, which makes encrypted swaps fail to mount on boot. I can fix it by adding want dmcrypt to /etc/init.d/swap, but, of course, every time there's an OpenRC update, I'm back to square one. Last Edit: 14 February 2024, 02:08:05 by Pragma Once
Re: Wrong script execution order with encrypted swap Reply #1 – 15 February 2024, 00:15:59 The default pacman behaviour is to leave changed files alone and create a /etc/init.d/swap.pacnew instead. To explicitly protect a file, put this in /etc/pacman.conf:Code: [Select]NoUpgrade = etc/init.d/swap