Re: .rpmnew files during RPM upgrade

2012-10-10 Thread John Dennis
On 10/09/2012 08:57 PM, Fajar A. Nugraha wrote: On Wed, Oct 10, 2012 at 5:39 AM, John Dennis wrote: On 09/11/2012 07:42 AM, Alan DeKok wrote: Jonathan Gazeley wrote: It seems to me that the "broken" behaviour is not with RPM but with FreeRADIUS. Can the regular expression that includes conf

Re: .rpmnew files during RPM upgrade

2012-10-09 Thread Fajar A. Nugraha
On Wed, Oct 10, 2012 at 5:39 AM, John Dennis wrote: > On 09/11/2012 07:42 AM, Alan DeKok wrote: >> >> Jonathan Gazeley wrote: >>> >>> It seems to me that the "broken" behaviour is not with RPM but with >>> FreeRADIUS. Can the regular expression that includes config files and >>> modules be tweaked

Re: .rpmnew files during RPM upgrade

2012-10-09 Thread John Dennis
On 09/11/2012 07:42 AM, Alan DeKok wrote: Jonathan Gazeley wrote: It seems to me that the "broken" behaviour is not with RPM but with FreeRADIUS. Can the regular expression that includes config files and modules be tweaked to exclude *.rpmnew files? As always, patches are welcome. O.K. I

Re: .rpmnew files during RPM upgrade

2012-09-11 Thread Phil Mayers
On 09/11/2012 04:37 PM, Brian Julin wrote: -Original Message- On 11/09/12 12:16, Phil Mayers wrote: This approach of a separate available/enabled modules dir is the default approach in the MASTER branch (to be 3.x) Would redhat packaging policy allow the package scripts to instead crea

RE: .rpmnew files during RPM upgrade

2012-09-11 Thread Brian Julin
> -Original Message- > On 11/09/12 12:16, Phil Mayers wrote: > > This approach of a separate available/enabled modules dir is the default > approach in the MASTER branch (to be 3.x) Would redhat packaging policy allow the package scripts to instead create e.g. modules.rpmnew/ and stuff its

Re: .rpmnew files during RPM upgrade

2012-09-11 Thread Phil Mayers
On 11/09/12 12:16, Phil Mayers wrote: Change the modules directory to a locally-managed one: $INCLUDE modules-active/ ...and symlink from there to the files in the rpm-managed directory, or edit locally as needed. (In more length now that I'm back at my desk) This approach of a separate av

Re: .rpmnew files during RPM upgrade

2012-09-11 Thread Alan DeKok
Jonathan Gazeley wrote: > It seems to me that the "broken" behaviour is not with RPM but with > FreeRADIUS. Can the regular expression that includes config files and > modules be tweaked to exclude *.rpmnew files? As always, patches are welcome. Alan DeKok. - List info/subscribe/unsubscribe?

Re: .rpmnew files during RPM upgrade

2012-09-11 Thread Phil Mayers
Jonathan Gazeley wrote: >I rolled and deployed an RPM of FreeRADIUS 2.2.0. As expected for RPM >packages, it left a number of *.rpmnew files in /etc/raddb. > >Trouble is, FreeRADIUS reads these files as live configs and was unable > >to start after the upgrade, until I had manually intervened an