Odd tmp filesystem location

From: Andrew S (wkdpanda2@hotmail.com)
Date: Wed Aug 31 2005 - 11:41:43 EDT


OK, I am working with Solaris 9, and chroot'ing applications.

I have an app that is chroot'd, and I have another non-chroot'd app that
needs to talk to it.

The chroot'd app opens sockets in /tmp (or /jail/tmp to those outside).

The non-chroot'd app looks in /tmp for the socket (it doesn't know about
/jail/tmp).

What would be the downside of mounting /jail/tmp on swap with the appropiate
permissions, and then removing /tmp and doing a ln -s /jail/tmp /tmp to
recreate it?

What would break? Everything should follow the link, right?

-Andrew

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:27 EDT