Bug#485747: bind9: fails to start due to capability problems

2008-06-13 Thread Gabor Gombas
Hi, I've rebuilt the bind9 package to use libcap2 instead of the hand-crafted syscall invocation and that made the problem go away. So adding libcap2-dev to the Build-Depends: should be enough to fix this bug. Gabor -- - MTA SZTA

Bug#485747: bind9: fails to start due to capability problems

2008-06-13 Thread Gabor Gombas
Hi, I did some investigation. strace bind9 ends with this: capset(0x20071026, 0, {CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE, CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE, 0}) = -1 EINVAL (In

Bug#485747: bind9: fails to start due to capability problems

2008-06-11 Thread Gábor Gombás
Package: bind9 Version: 1:9.5.0.dfsg-1 Severity: important Hi, The latest bind9 fails to start: # /etc/init.d/bind9 start Starting domain name service...: bindnamed: syscall(capset) failed: Invalid argument: please ensure that the capset kernel module is loaded. see insmod(8) failed! strace