On Tuesday 04 August 2009 14:54:22 Simon Loewenthal - Tele2 wrote:
Dear all,
I am looking for the right way to configure chroot goals on SLES 11 for an application. I have seen a few guides for various O/Ses for chrooting SSH/FTP/BIND/Apache and so on, but the application I have is a java app.
The server (which runs an http port on a few unpriveledged ports) is based on Java and is already self-contained through the Java sandbox. All processes run as an unprivileged user.
'I think that the application contains all necessary jars and its own Java runtime environment', said the manufactured.
About twice in the past have I set-up chroot and really have little knowledge. I imagine that I would have to copy over any dynamically linked libraries that any of the application uses, but its Java so I am unsure what happens here.
How would I go about this?
Just one note: For Java, you need to /proc mounted in the chroot environment so that it runs, Andreas -- Andreas Jaeger, aj@{novell.com,opensuse.org} SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126