Print

Print


On 2014-06-26 14:48, Alan Buxey wrote:
> right now, the psk_keys are stored in sqlite3 file in /var/tmp/keys
> 
> whilst these are temporal keys (and with future version of code the keys
> will be re-requested and got via TR etc etc) there is an issue with
> the actual DB being in a temporary location that might be cleared out
> (which means having to re-created the DB!)..as discussed at the recent
> Utrecht training event.
> 
> so...can we agree on the location of this file?  if its PURELY for
> moonshot then /etc/moonshot/ seems to be a nice place.... if its
> something thats more generic (eg used by freeradius for other things
> then /etc/freeradius/ seems to be the place)

If it's variable data, then it fits /var/lib/something better, don't you
think?

Also the file mode needs to be revised, as the current wiki
recommendation of 'chmod 777' is a bit weird.

Kristof