Chris O'Regan wrote: >> Where did you get your RPM and what operating system are you using? Is >> it installed from an RPM and did you make any changes with regard to >> what "custom" means? >> > > I downloaded the source tarball from: > > http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.2.4.tar.gz > > As a policy, we prefer not to install anything in the OS area -- thus we > tend to avoid RPMs -- but rather place applications into their own tree, > and have a separate area where we put data files.
Sorry, I do not have the time to help with this (either the custom packaging or the custom python) The RPMs make the patches consistent, supportable, and easily updateable. If you are doing your own installation all bets are unfortunately off and I would suggest you reconsider that practice as you are forgoing nearly all of the advantages consistent OS packaging provides for you. This is the entire point of having all python libraries available in RPMs and cobbler available in EPEL -- it builds it and we can ensure all cobbler installations are as consistent as possible and we know what versions of all the libraries we are using. --Michael > Most -- if not all -- > of the customization involved changing the hard-coded paths in various > files so that Cobbler could find its configuration in its data directory > rather than in /etc/cobbler, /var/lib/cobbler, etc. This was > accomplished using find/sed. > > I used 'setup.py' (with the path changes mentioned above) to install but > I broke it up so that Cobbler would be installs in the right places and > as the right user. First (Cobbler scripts): > > /local/bin/python /local/pkg/cobbler-1.2.4/src/setup.py build > /local/bin/python /local/pkg/cobbler-1.2.4/src/setup.py \ > install_scripts \ > --install-dir=/local/pkg/cobbler-1.2.4/root/bin > > Next (Cobbler python libraries): > > /local/bin/python /local/pkg/cobbler-1.2.4/src/setup.py install_lib > > And finally (Cobbler data): > > /local/bin/python /local/pkg/cobbler-1.2.4/src/setup.py install_data > > I can send you my full transcripts if that helps. > > Fairly sure I got the custom paths right. If I remove the config > directory altogether, I get this message (even if I run as root): > > [EMAIL PROTECTED] repo]$ cobbler > Insufficient permissions. Use cobbler aclsetup to grant access to > non-root users. > > >> Judging from the OS release bits below, might you have something /else/? >> If you're running Cobbler on another platform then perhaps the >> os_version routine does not work there. >> > > This system is Red Hat Enterprise 5.2. We are using our own python > rather than the system version. Are there any known problems with v.2.5.x? > > >> I'd need more details to speculate further. >> > > Just ask... > > > Thanks, > > Chris > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
