Re: savecore: operation not permitted

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 26 Nov 2022 19:17:23 UTC
On Sat, Nov 26, 2022, 11:19 AM void <void@f-m.fm> wrote:

> On 13-stable (n253148), am seeing in the console at startup
>
> savecore[1415]: /dev/ada0s1b: Operation not permitted
> Writing crash summary to /var/crash/core.txt.3.
>
> It's enabled in rc.conf:
>
> # sysrc savecore_enable
> savecore_enable: YES
>
> # dumpon -l
> ada0s1b
>
> What's broken?
>


What's your secure level? Can you run the command by hand after boot?
(Usually on modern systems you don't swap right away and have time for a
test like that).

Trying to see if this is prohibited by secure level or other MAC, vs sone
snafu that leads to /var/crash not being writable.

All this assumes this isn't inside a jail...

Warner

> tia,
> --
>
>