Hi, I had problem running chrooted dhcp 3.1.1 with CONFIG_GRKERNSEC_CHROOT_CAPS set. Try disabling it via sysctl or procfs.
Roman Markus Bartl wrote: > brant williams schrieb: > > Did you enable any chroot restrictions in the kernel config? > > > brant williams > FCAA CDCA 20BC 3925 D634 F5C4 7420 6784 4DEB 6002 > > > > On Mon, 6 Oct 2008, Markus Bartl wrote: > >>>> Date: Mon, 06 Oct 2008 17:04:15 +0200 >>>> From: Markus Bartl <[EMAIL PROTECTED]> >>>> Reply-To: [email protected] >>>> To: [email protected] >>>> Subject: [gentoo-hardened] /etc/init.d/dhcpd start -> error >>>> >>>> Hi there. >>>> >>>> I did a fresh installation with hardened-sources 2.6.25-r7 with pax >>>> and grsec (server) enabled. >>>> After installing dhcpd with configuration to chroot - environment I >>>> get the following errors in /var/log/debug: >>>> >>>> Oct 6 16:54:35 odin dhcpd: unable to create icmp socket: Operation >>>> not permitted >>>> ... >>>> Oct 6 16:54:35 odin dhcpd: Open a socket for LPF: Operation not >>>> permitted >>>> >>>> /var/log/grsec.log doesnt contain any hints. >>>> >>>> Any idea would be welcome. >>>> >>>> Kind regards, >>>> Markus >>>> >>>> >>>> > Hi brant. > Yes. chroot restrictions are set and no, socket restrictions are not set. > Thanks in advance. > Markus.
