python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

Move backoff file from /usr/share to /var/run

Open HarryMichal opened this issue 3 years ago • 1 comments

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).

HarryMichal avatar Jul 27 '21 20:07 HarryMichal

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.

uunicorn avatar Aug 01 '21 06:08 uunicorn

Hey, is there a plan to continue on this? I've just hit this issue.

neithere avatar Feb 22 '23 11:02 neithere

@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.

uunicorn avatar Feb 22 '23 21:02 uunicorn

Looks like this was done in #156 , so this can probably be closed

mattgia avatar May 07 '23 04:05 mattgia

Yep, this was done in https://github.com/uunicorn/python-validity/pull/156 , closing.

uunicorn avatar May 07 '23 04:05 uunicorn