Jail causes host to reboot

Niklaas Baudet von Gersdorff niklaas at kulturflatrate.net
Tue Sep 8 18:38:52 UTC 2015


Answering my own question:

On 08/09/15 20:33, Niklaas Baudet von Gersdorff wrote:
> $ ls -la /var/crash
> total 4
> drwxr-x---   2 root  wheel   3 Jul 11  2014 .
> drwxr-xr-x  24 root  wheel  24 Sep  2 12:23 ..
> -rw-r--r--   1 root  wheel   5 Jan 16  2014 minfree
> 
> $ cat /var/crash/minfree
> 2048
> 
> Does this mean that it wasn't a kernel panic at all? Or isn't there
> something worth noticing because I don't have dumpdev configured?

As rc.conf(5) says

>      dumpdev	 (str) Indicates the device (usually a swap partition) to
> 		 which a crash dump should be written in the event of a	system
> 		 crash.	 If the	value of this variable is ``AUTO'', the	first
> 		 suitable swap device listed in	/etc/fstab will	be used	as
> 		 dump device.  Otherwise, the value of this variable is	passed
> 		 as the	argument to dumpon(8).	To disable crash dumps,	set
> 		 this variable to ``NO''.
> 
>      dumpdir	 (str) When the	system reboots after a crash and a crash dump
> 		 is found on the device	specified by the dumpdev variable,
> 		 savecore(8) will save that crash dump and a copy of the ker-
> 		 nel to	the directory specified	by the dumpdir variable.  The
> 		 default value is /var/crash.  Set to ``NO'' to	not run
> 		 savecore(8) at	boot time when dumpdir is set.

So there's nothing because I haven't configured dumpdev yet.


More information about the freebsd-questions mailing list