NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: misc/38425 (savecore confused if getbootfile(3) fails)



I don't know about any of you, but savecore completely fails to work
for me after 1.78 savecore.c; in particular, failing to set the
booted kernel causes check_space to die a painful death:

        if (stat(kernel, &st) < 0) {
                syslog(LOG_ERR, "%s: %m", kernel);
                exit(1);

which causes the 'savecore: (null): Bad address' message seen so
infamously as of late; I don't see how it could ever work, save 
eliminating the (almost entirely useless, save for the mostly
useless /minfree part) check_space logic.
 


Home | Main Index | Thread Index | Old Index