.rpmnew files during RPM upgrade

Fajar A. Nugraha list at fajar.net
Wed Oct 10 02:57:34 CEST 2012


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?

Thanks

-- 
Fajar


More information about the Freeradius-Users mailing list