Project

General

Profile

Actions

Bug #5344

open

NLSR should not write nlsrSeqNo.txt in the home directory

Added by Davide Pesavento about 1 month ago. Updated 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

It's bad etiquette. FHS defines /var/lib as the directory to hold application state information. Furthermore, XDG defines $XDG_STATE_HOME for similar purposes, with a default value of $HOME/.local/state. When running as a systemd service, we should also consider honoring the $STATE_DIRECTORY env variable.

Actions

Also available in: Atom PDF