|
From: Heiko Z. <he...@zu...> - 2005-02-02 18:07:07
|
Hey, > I'm trying to create an NTPD jail config, but the included ntpd in DL > 1.2.2 doesn't support chrooting. > Does anybody know where can I find a more-or-less (preferably more :-) > official chroot patch for ntpd-4.2.0? > > I tried to search it on google, but it was unsuccessfull... > What patch source can accept the main development team? For cases like this we have the 'compartment' tool included, which takes care of chroot, setting capabilities and stuff like that. Take a look at what I did for Lotus Notes. Take a look at those files: /etc/sysconfig/jail/DOMINO /etc/init.d/domino The jail script itself will take care of all the needed shared libraries (as long as the binaries tells us which ones it needs). Otherwise you can always add the missing ones to the jail config. -- Regards Heiko Zuerker http://www.devil-linux.org |