Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running an application in chroot jail environment. Now I need to run tftpd inside it. My doubt is can I run xinetd inside chroot jail? my host Linux system is already running an instance of xinetd.
I'm running an application in chroot jail environment. Now I need to run tftpd inside it. My doubt is can I run xinetd inside chroot jail? my host Linux system is already running an instance of xinetd.
Why would you need to run xinetd in the jail?
Just run the tftpd server. The only function xinetd provides is a bit of memory optimization by not running services all the time - it only runs the one being requested. If tftpd is the only service, then xinetd is not needed - just run tftpd.
Actually my app is backed by Cobbler and I need Cobbler should manage the tftpd, Cobbler only manage the tftpd and its own python based tftp servers and both are using xinetd
I can run atftp server but Cobbler will not manage it
My host Linux OS is already running an instance of xinetd, just wanted to know can I run an another instance of xinetd inside chroot?
I know xinitd is not an xapp I was pointing out an easier way to start an x app from chroot, rather than running a full blown X server, guess I should have said that in words of one syllable
Actually my app is backed by Cobbler and I need Cobbler should manage the tftpd, Cobbler only manage the tftpd and its own python based tftp servers and both are using xinetd
I can run atftp server but Cobbler will not manage it
My host Linux OS is already running an instance of xinetd, just wanted to know can I run an another instance of xinetd inside chroot?
From skimming the documentation on Cobbler (admittedly a quick one), it looks more like it would require a lot of modifications to work properly in a chroot jail. Cobbler doesn't look like it is designed for that (the number of required packages to be installed before it works is one indicator).
It would likely be easier to get it working in a VM.
I know xinitd is not an xapp I was pointing out an easier way to start an x app from chroot, rather than running a full blown X server, guess I should have said that in words of one syllable
Hi Keith Hedger,
My required services are running fine in my chroot. so its not an issue of running app in chroot its all about running the xinetd service in chroot while the host OS simultaneously running one.
Hi Keith Hedger,
My required services are running fine in my chroot. so its not an issue of running app in chroot its all about running the xinetd service in chroot while the host OS simultaneously running one.
The problem isn't "will it run", yes it will run.
The problem is complexity. Once both are running, which xinetd service is to be directed to reload its configuration? There are now two directory trees for managment - one in the chroot jail... External support gets more complicated - you end up having to either modify the external support... or put it into the jail as well. And based on looking at Cobbler, that could get complicated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.