Date: Sat, 26 Nov 2022 12:17:23 -0700 From: Warner Losh <imp@bsdimp.com> To: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: savecore: operation not permitted Message-ID: <CANCZdfpBaUr7qeZGSO9Hm5WuqK21wAsC1=63tVCgcUhmziibqg@mail.gmail.com> In-Reply-To: <Y4JYp7YDmsYZybab@sysmon.zyxst.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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, > -- > > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 26, 2022, 11:19 AM void <<a href="mailto:void@f-m.fm">void@f-m.fm</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13-stable (n253148), am seeing in the console at startup<br> <br> savecore[1415]: /dev/ada0s1b: Operation not permitted<br> Writing crash summary to /var/crash/core.txt.3.<br> <br> It's enabled in rc.conf:<br> <br> # sysrc savecore_enable<br> savecore_enable: YES<br> <br> # dumpon -l<br> ada0s1b<br> <br> What's broken?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">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).</div><div dir="auto"><br></div><div dir="auto">Trying to see if this is prohibited by secure level or other MAC, vs sone snafu that leads to /var/crash not being writable.</div><div dir="auto"><br></div><div dir="auto">All this assumes this isn't inside a jail...</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> tia,<br> -- <br> <br> </blockquote></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpBaUr7qeZGSO9Hm5WuqK21wAsC1=63tVCgcUhmziibqg>
