FreeRadius 3 deb packages upgrade
Hi, Been using FreeRadius 3 deb compiled packages for a while here. At first I installed them locally and had no problem; however when doing the upgrade from a repository, the upgrades always overwrite my eap file in /etc/freeradius/mods-enabled with the original file. In the modules directory I am doing links to the files I have not modified, and I have the full files when modifying them. Is this intended behaviour or should I leave only links in mods-enabled and do full modifications in mods-available? (will also test this situation in my next upgrade) -- Regards, -- Rui Ribeiro Senior Sysadm ISCTE-IUL https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434
On Mon, Sep 8, 2014 at 4:04 PM, Rui Ribeiro <ruyrybeyro@gmail.com> wrote:
Hi,
Been using FreeRadius 3 deb compiled packages for a while here. At first I installed them locally and had no problem; however when doing the upgrade from a repository,
which repo?
the upgrades always overwrite my eap file in /etc/freeradius/mods-enabled with the original file.
In the modules directory I am doing links to the files I have not modified, and I have the full files when modifying them.
Is this intended behaviour or should I leave only links in mods-enabled and do full modifications in mods-available? (will also test this situation in my next upgrade)
Basically yes, mods-enabled should only be symlinks. -- Fajar
On 2014-09-08 12:04, Rui Ribeiro wrote:
Been using FreeRadius 3 deb compiled packages for a while here. At first I installed them locally and had no problem; however when doing the upgrade from a repository, the upgrades always overwrite my eap file in /etc/freeradius/mods-enabled with the original file.
In the modules directory I am doing links to the files I have not modified, and I have the full files when modifying them.
Is this intended behaviour or should I leave only links in mods-enabled and do full modifications in mods-available? (will also test this situation in my next upgrade)
I think the problem is that symlinks are not considered as conffiles (which are not overridden on upgrade). So if you run debsums -e freeradius-config | grep mods-enabled, you wonn't match anything. However freeradius doesn't declare conffiles, so this might just work after all.
participants (3)
-
Fajar A. Nugraha -
Rui Ribeiro -
Zenon Mousmoulas