detail file locking

Thor Spruyt thor.spruyt at telenet.be
Wed Nov 24 19:41:42 CET 2021


----- On Nov 24, 2021, at 7:27 PM, aland aland at deployingradius.com wrote:

>  You should see calls to fcntl() in order to lock the file.  That's if you have
>  "locking = true" in the detail file write.

I only see calls to fnctl() for the .work file.

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

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
}

--
Thor


More information about the Freeradius-Users mailing list