Hi Holger, On Thu, Mar 04, 2010 at 12:16:30AM +0100, Holger Just wrote: > > As a side note, I see that it requires a recent version of python. Just > > out of curiosity, could it (more or less) easily be written in shell ? > > I'm asking because on the Solaris machines where I've seen haproxy, > > there was no python and it's very unlikely that it will be installed > > for a single tool. > > I don't know for sure. The current implementation uses threads to > monitor the spawned subprocesses. So I'm not very confident I could come > up with something similar which then also correctly responds to signals.
OK. > Maybe I could try to port it down to Python 2.4. However I noticed that > Python 2.6 comes even on my stripped down Opensolaris zone by default. > There are some dependencies to a python on this system. Also, Python 2.6 > makes it much easier to work with subprocesses. OK. In fact, I don't think the version is the most important thing. What is important is to know whether it requires python to be installed or not. Based on your explanations above, it seems so. > And as far as I know Python 2.6 will come by default on the next stable > Opensolaris release 2010.03. I don't know about older releases though. I'm not sure it comes with the core installation however, reason why I was interested with having something shell-based. Regards, Willy

