the following patch fixes the chroot problem. it retains cap_sys_chroot
for a few lines longer in the code -- note there is a subsequent call
already in the code which removes all capabilities except cap_sys_time.
-dean
--- ntp-4.2.0a+stable/ntpd/ntpd.c.orig 2005-06-29 14:01:31.0
Package: ntp-server
Version: 1:4.2.0a+stable-8
Severity: normal
Chrooting doesn't work because CAP_SYS_CHROOT gets dropped before
chroot(2).
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc64)
2 matches
Mail list logo