Upgrading freeradius from source
I have done some testing on 2.1.4 and I like the flexibility comparing to 1.x. Unfortunately, I am using for production a pretty old distribution 1.1.7. For such an old distro, it's almost impossible to do an upgrade and still maintaining the rpm package info and what not, so I am considering upgrading by compiling from source, ie configure and make install. Any thing I should consider before I have go down to this path ? Cheers.
mctiew@yahoo.com wrote:
Unfortunately, I am using for production a pretty old distribution 1.1.7. For such an old distro, it's almost impossible to do an upgrade and still maintaining the rpm package info and what not, so I am considering upgrading by compiling from source, ie configure and make install.
Any thing I should consider before I have go down to this path ?
It won't over-write your existing configuration. Ensure that you're using "Cleartext-Password := ...", and not "User-Password ==" It may be safer to *migrate* your existing configuration. The configuration files are relatively small, so this shouldn't take long. i.e. go through the configuration files, comparing the old to the new (default) files. Where they are different, add your configuration, OR examine your configuration to see if it's still necessary. The goal of 2.x is to have it *largely* compatible with 1.x, but there are differences. Alan DeKok.
mctiew@yahoo.com wrote:
I have done some testing on 2.1.4 and I like the flexibility comparing to 1.x.
Unfortunately, I am using for production a pretty old distribution 1.1.7. For such an old distro, it's almost impossible to do an upgrade and still maintaining the rpm package info and what not, so I am considering upgrading by compiling from source, ie configure and make install.
Hmm... 1.1.7 RPM makes it sound like an old Fedora release. Alan gave you some good suggestions about the 1.x to 2.x upgrade, I have a suggestion about building and packages. It's always possible to build from source, but it has some downsides, you'll need to make sure all your build prerequisites are satisfied, you've passed all the right values to "configure", not the least of which is to assure the install path information is correct, you've fully removed the old RPM so there aren't conflicts and then when you're done you'll have lost all the advantages of having a package manager (e.g. rpm) which tracks dependencies, watches for conflicts, and knows the version of software installed on the system, sets the right file permissions and SELinux labeling. Plus the source RPM (SRPM) will have any patches applied which are necessary. I think you'll save yourself a lot of headaches if you stick with RPM based packages. If the version of FreeRADIUS is not available as an RPM for the version of the distro you're using then you can find instructions for how to download, build and install the *RPM* for a current version here: http://wiki.freeradius.org/Red_Hat_FAQ
Any thing I should consider before I have go down to this path ?
-- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
participants (3)
-
Alan DeKok -
John Dennis -
mctiew@yahoo.com