python-validity
python-validity copied to clipboard
Move backoff file from /usr/share to /var/run
In hier(7)
/usr
is described as:
This directory is usually mounted from a separate partition. It should hold only shareable, read-only data, so that it can be mounted by various machines running Linux.
The read-only part is very noticeable on systems like Fedora Silverblue where only /var
is writeable and the rest is read-only.
/var/run
is a writable location for data relevant to the current system boot (its content is cleared on boot).
I concur, python-validity
abuses /usr/share
, but this PR looks incomplete. There is more stuff stored under /usr/share/python-validity/
which belongs in /var
, like, calibration data and firmware. We also need to make sure /var/run/python-validity
exists after .deb
installation on Debian systems.
Hey, is there a plan to continue on this? I've just hit this issue.
@neithere , it does not look like anyone is actively working on this PR the moment. If you fork and complete the work I mentioned in https://github.com/uunicorn/python-validity/pull/92#issuecomment-890463731 I'm happy to merge this.
Looks like this was done in #156 , so this can probably be closed
Yep, this was done in https://github.com/uunicorn/python-validity/pull/156 , closing.