1713. [port] linux: extend capset failure message to say:

please ensure that the capset kernel module is
                        loaded.  see insmod(8)
This commit is contained in:
Mark Andrews
2004-09-16 02:49:50 +00:00
parent 9049555824
commit e8cf98cf53
2 changed files with 9 additions and 2 deletions
+4
View File
@@ -18,6 +18,10 @@
address when a nameserver was specified by name.
[RT #12286]
1713. [port] linux: extend capset failure message to say:
please ensure that the capset kernel module is
loaded. see insmod(8)
1712. [bug] Missing FULLCHECK for "trusted-key" in dig.
1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'.
+5 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.66.18.2 2004/05/04 03:24:02 marka Exp $ */
/* $Id: os.c,v 1.66.18.3 2004/09/16 02:49:50 marka Exp $ */
#include <config.h>
#include <stdarg.h>
@@ -161,7 +161,10 @@ linux_setcaps(unsigned int caps) {
cap.inheritable = caps;
if (syscall(SYS_capset, &caphead, &cap) < 0) {
isc__strerror(errno, strbuf, sizeof(strbuf));
ns_main_earlyfatal("capset failed: %s", strbuf);
ns_main_earlyfatal("capset failed: %s:"
" please ensure that the capset kernel"
" module is loaded. see insmod(8)",
strbuf);
}
}