Re: unnecessary savecore warnings

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Sun, 17 Jul 2005 13:51:57 +0100 (BST)
On Sat, 16 Jul 2005, Nate Lawson wrote:

> I noticed that in the past few months, savecore has begun complaining if 
> the bounds file in /var/crash doesn't exist.  Can we add it to 
> /usr/src/etc/Makefile like the corresponding entry for minfree?
>
> Also, I noticed that /etc/rc.d/savecore has started complaining early in 
> boot if you have dumpdev="AUTO", giving the message "kenv: unable to get 
> dumpdev". Of course, it works just fine and detects the slice with 
> "swap" in /etc/fstab.  So the warning is spurious and should be 
> silenced.

I've noticed this also, and see if on my NanoBSD Soekris box.  Given that 
the machine doesn't have a partition set up for dumping, and I don't want 
its dumps, I'd rather it didn't complain, as that will just cause 
unnecessary worry and questions.

This is similar to the devfs-at-shutdown error.  An error message that is 
a result of a harmless "problem" results in significant concern for 
end-users, which results in more bug reports, less happy users, etc.

Robert N M Watson
Received on Sun Jul 17 2005 - 10:51:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC