detail file locking

Alan DeKok aland at deployingradius.com
Wed Nov 24 19:45:41 CET 2021


On Nov 24, 2021, at 1:41 PM, Thor Spruyt <thor.spruyt at telenet.be> wrote:
> I only see calls to fnctl() for the .work file.

  That's fine.

> Also, i have "locking = yes" , instead of "locking = true".

  That's also fine.

> Wed Nov 24 16:32:13 2021 : Debug:   detail detail-000 {
> Wed Nov 24 16:32:13 2021 : Debug:       filename = "/opt/radius/var/queue/queue_000/detail-000"
> Wed Nov 24 16:32:13 2021 : Debug:       header = "%t"
> Wed Nov 24 16:32:13 2021 : Debug:       permissions = 420
> Wed Nov 24 16:32:13 2021 : Debug:       locking = yes
> Wed Nov 24 16:32:13 2021 : Debug:       escape_filenames = no
> Wed Nov 24 16:32:13 2021 : Debug:       log_packet_header = no
> Wed Nov 24 16:32:13 2021 : Debug:   }
> 
> I also notice now, that the permissions doesn't seem to be taken from the config:
> detail detail-000 {
>    filename = ${localstatedir}/queue/queue_000/detail-000
>    permissions = 0644
>    locking = yes
> }

  0644 in octal is 420 decimal.  So that's fine.

$ printf "%d\n" 0644
420

  Alan DeKok.




More information about the Freeradius-Users mailing list