As some of you might already know, bundling libraries isn't a good practice for various reasons. You can read more about this subject at http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries. Unfortunately cobbler comes with its own subprocess and optparse modules: cobbler/sub_process.py, koan/sub_process.py and koan/opt_parse.py. As far as I know, this is needed because the Python from RHEL is old and its stdlib doesn't include them. On the other hand, the Python from Fedora has them and it would be nice to use these.
What I would like to propose is to try using the system provided libraries and if they aren't available fall back to the bundled ones. I'm waiting for your opinions on this.
Thank you, Cristian Ciupitu