Re: savecore: operation not permitted
- Reply: Miroslav Lachman : "Re: savecore: operation not permitted"
- Reply: void : "Re: savecore: operation not permitted"
- In reply to: Jonathan Vasquez : "Re: savecore: operation not permitted"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 11:23:43 UTC
On Sun, Nov 27, 2022 at 05:48:13AM +0000, Jonathan Vasquez wrote: > Make sure you aren't using an encrypted swap (i.e if you have the .eli extension for your swap entry in /etc/fstab, then it's being encrypted). That was the issue I had, it makes sense that you can't get the dumped data if the swap is being re-encrypted on every boot. > .... For this use case (desire to be able to get crash dumps while having swap encrypted), I find that adding the "late" attribute to the "swap" entry in /etc/fstab is useful, thus: g1-51(12.4-S)[1] grep swap /etc/fstab /dev/ada0s4b.eli none swap sw,late 0 0 (Thta is, of course, assuming that one uses fstab to control the swap allocation. If not, arranging to perform the allocation as part of execution of /etc/rc.d/swaplate -- which is what the "late" attribute accomplishes -- should work for you.) I have used the above technique successfully for stable/12, stable/13, and head (current/14). Peace, david -- David H. Wolfskill david@catwhisker.org "attempts made by certain countries to rewrite and reshape world history are becoming increasingly aggressive, ultimately and obviously seeking to divide our society, take away our guiding lines and eventually weaken Russia." -- V. Putin, obviously referring to his own efforts See https://www.catwhisker.org/~david/publickey.gpg for my public key.