make install without messing with previous configuration?

Arran Cudbard-Bell a.cudbard-bell at sussex.ac.uk
Wed Jul 15 10:54:01 CEST 2009


Leighton Man wrote:
> Hi,
> I tar the entire raddb directory (from the level above), reinstall, and untar the original config over the top of the new one. That way I can keep multiple configs whilst experimenting and switch between them.
>   
Just move the raddb directory to /etc/raddb and change the install path
to /usr/local, then modify the startup script to use -d /etc/raddb.

/etc/raddb is actually a working copy checked out from our subversion
repository, so we can switch between development and production
configurations very easily.


Arran
>> -----Original Message-----
>> From:
>> freeradius-users-bounces+l.j.man=hud.ac.uk at lists.freeradius.or
>> g
>> [mailto:freeradius-users-bounces+l.j.man=hud.ac.uk at lists.freer
>>     
> adius.org] On Behalf Of Nicolas Goutte
>   
>> Sent: 15 July 2009 09:03
>> To: FreeRadius users mailing list
>> Subject: Re: make install without messing with previous configuration?
>>
>>
>> Am 15.07.2009 um 09:53 schrieb Stefan Winter:
>>
>>     
>>> Hi,
>>>
>>>       
>>>> I do not know how to do it at compile time but you can do it at
>>>> runtime by specifing -d your_directory to radiusd.
>>>>
>>>> So perhaps a make install will install many configuration
>>>>         
>> files but
>>     
>>>> not where *your* configuration is.
>>>>         
>>> Yes, I considered pointing --with-raddb-dir=/tmp/trash or so. But I
>>>       
>> I am not sure but does that mean that the binary that you
>> create would point to that directory too. So in that case,
>> you would have to specify the real directory at runtime too.
>>
>>     
>>> don't want a one-time installation problem to require attention
>>> whenever I run the service in the future. It is then something to
>>> remember constantly (and to document for on-duty personnel
>>>       
>> etc. ...),
>>     
>>> only to fix a single-shot problem. It just doesn't sound
>>>       
>> right to me.
>>
>> Yes, I had not seen it from that point of view.
>>
>>     
>>> Greetings,
>>>       
>> Have a nice day!
>>
>>     
>>> Stefan
>>>
>>> --
>>> Stefan WINTER
>>> Ingenieur de Recherche
>>> Fondation RESTENA - Réseau Téléinformatique de l'Education
>>>       
>> Nationale
>>     
>>> et de la Recherche 6, rue Richard Coudenhove-Kalergi
>>> L-1359 Luxembourg
>>>
>>> Tel: +352 424409 1
>>> Fax: +352 422473
>>>
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>       
>> Nicolas Goutte
>>
>>
>> extragroup GmbH - Karlsruhe
>> Waldstr. 49
>> 76133 Karlsruhe
>> Germany
>>
>> Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle
>> Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.:
>> 337/5903/0421 / UstID: DE 204607841
>>
>>
>>
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>>     
>
> <img src="http://www.hud.ac.uk/images/emails/neutral_navy_blue_003976.gif" alt="Inspiring tomorrow's professionals">
> ---
> This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090715/f90a4e88/attachment.pgp>


More information about the Freeradius-Users mailing list