[pkg-java] r3321 - in trunk/commons-daemon: debian
src/native/unix/native
Marcus Better
marcusb-guest at alioth.debian.org
Tue Apr 24 10:17:18 UTC 2007
Author: marcusb-guest
Date: 2007-04-24 10:17:17 +0000 (Tue, 24 Apr 2007)
New Revision: 3321
Modified:
trunk/commons-daemon/debian/changelog
trunk/commons-daemon/src/native/unix/native/jsvc-unix.c
Log:
Print a useful error message if capabilities module is missing. Fixes #412478.
Modified: trunk/commons-daemon/debian/changelog
===================================================================
--- trunk/commons-daemon/debian/changelog 2007-04-23 22:12:30 UTC (rev 3320)
+++ trunk/commons-daemon/debian/changelog 2007-04-24 10:17:17 UTC (rev 3321)
@@ -1,7 +1,10 @@
-commons-daemon (1.0.2~svn20061127-5~test1) unstable; urgency=low
+commons-daemon (1.0.2~svn20061127-5) unstable; urgency=low
* jsvc can now redirect daemon output to syslog. (Closes: #402878)
- * Added support for the ppc64 architecture. (Closes: #404704)
+ * Added support for the ppc64 architecture. Thanks to Andreas
+ Jochens. (Closes: #404704)
+ * Print a useful error message if the capabilities module is
+ missing. Thanks to Adrian Bridgett. (Closes: #412478)
* Don't use included config.sub and config.guess.
-- Marcus Better <marcus at better.se> Wed, 13 Dec 2006 15:09:58 +0100
Modified: trunk/commons-daemon/src/native/unix/native/jsvc-unix.c
===================================================================
--- trunk/commons-daemon/src/native/unix/native/jsvc-unix.c 2007-04-23 22:12:30 UTC (rev 3320)
+++ trunk/commons-daemon/src/native/unix/native/jsvc-unix.c 2007-04-24 10:17:17 UTC (rev 3321)
@@ -181,7 +181,8 @@
cap.permitted = caps;
cap.inheritable = caps;
if (syscall(__NR_capset, &caphead, &cap) < 0) {
- log_error("syscall failed in set_caps");
+ log_error("set_caps: failed to set capabilities");
+ log_error("check that your kernel supports capabilities");
return(-1);
}
return(0);
More information about the pkg-java-commits
mailing list