Is there a chroot build script somewhere?
- by Nils
I am about to develop a little script to gather information for a chroot-jail.
In my case this looks (at the first glance) pretty simple:
The application has a clean rpm-install and did install almost all files into a sub-directory of /opt.
My idea is:
Do a find of all binaries
Check their library-dependencies
Record the results into a list
Do a rsync of that list into the chroot-target-directory before startup of the application
Now I wonder - ist there any script around that already does such a job (perl/bash/python)?
So far I found only specialized solutions for single applications (like sftp-chroot).
Update
I see three close-votes for the reason "off topic". This is a question that arose because I have to install that ancient piece of software on a server at work. So if you still feel this is off-topic - leave a comment...