3.0.11: unjustified warning on startup

Stefan Winter stefan.winter at restena.lu
Wed Feb 10 10:21:45 CET 2016


this here is shown on startup:

"raddb/clients/staff[232]: The item 'staff_type' is defined, but is
unused by the configuration"

But it's not correct... yes, I set a custom attribute staff_type inside
a client {} there, but I *do* use it in configuration, in statements
like this:

update request {
      &RESTENA-Service-Type = "Staff-%{client:staff_type}"


if ( "%{client:staff_type}" == "Nagios-Login" [...]

Could the warnings be made more clever? It is sure useful to be warned
about unused things for cleanup of configs, but only if the things are
*really* unused.


Stefan Winter

Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
2, avenue de l'Université
L-4365 Esch-sur-Alzette

Tel: +352 424409 1
Fax: +352 422473

PGP key updated to 4096 Bit RSA - I will encrypt all mails if the
recipient's key is known to me

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160210/0c81c7af/attachment-0001.sig>

More information about the Freeradius-Users mailing list