.rpmnew files during RPM upgrade

John Dennis jdennis at redhat.com
Wed Oct 10 14:36:20 CEST 2012


On 10/09/2012 08:57 PM, Fajar A. Nugraha wrote:
> On Wed, Oct 10, 2012 at 5:39 AM, John Dennis <jdennis at redhat.com> 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 to exclude *.rpmnew files?
>>>
>>>
>>>     As always, patches are welcome.
>>
>>
>> O.K. I did just that. The freeradius-2.2.0 RPM's I've been pushing now
>> includes a patch to ignore config filenames that should be excluded from
>> being loaded. I'll send the patch to the developers list via a github pull
>> request. The list is hardcoded, at the moment it excludes:
>>
>> Any basename beginning with a dot (.)
>> Any basename beginning with a hash (i.e. pound sign, octothorp) (#)
>> Any basename ending with a tilde (~)
>> Any basename ending with the substring ".rpmsave"
>> Any basename ending with the substring ".rpmnew"
>> Any basename ending with the substring ".bak"
>
> Can you please add ".dpkg-new", ".dpkg-dist", and ".dpkg-old" as well?

Sure, no problem, done.


-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/


More information about the Freeradius-Users mailing list