Handling FreeRADIUS software upgrades
Alan DeKok
aland at deployingradius.com
Thu Nov 28 13:27:28 UTC 2024
On Nov 28, 2024, at 4:09 AM, George Benjin <george.benjin at gmail.com> wrote:
> The update re-added the default & inner tunnel site symlinks, as well
> as the default eap module symlink which resulted in the service not
> functioning as intended.
>
> We resolved this quickly by deleting the symlinks again but this will
> probably happen again with a future update.
>
> What changes should we make to our config to avoid this happening
> again? Delete the default files in the 'available' dirs? Replace them
> with dummy content? Copy dummy files into the sites-enabled and
> mods-enabled dirs?
After a quick look at the capabilities of RPM, it doesn't look like it's easy to fix this. i.e. there's no trivial way to say "install these files, but only if the parent directory doesn't already exist".
The simplest way to fix this with minimal changes is to just create the problem files, but with zero content. They won't be over-written on any new install.
Alan DeKok.
More information about the Freeradius-Users
mailing list