Commit c93003b0 authored by Mark Andrews's avatar Mark Andrews
Browse files

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

                        please ensure that the capset kernel module is
                        loaded.  see insmod(8)
parent 3e15f559
......@@ -24,7 +24,9 @@
address when a nameserver was specified by name.
[RT #12286]
1713. [placeholder] rt12375
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.
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.68 2004/05/04 03:24:39 marka Exp $ */
/* $Id: os.c,v 1.69 2004/09/16 02:49:41 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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment