From: Steven Baltakatei Sandoval Date: Tue, 14 Mar 2023 20:03:38 +0000 (+0000) Subject: Merge remote-tracking branch 'gl/develop' into develop X-Git-Url: https://zdv.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/refs/heads/develop?hp=f68aa0b760fa69f6ae3ebd6865e3c8158be37f0a Merge remote-tracking branch 'gl/develop' into develop --- diff --git a/TODO.org b/TODO.org index db92f33..f9e8f36 100644 --- a/TODO.org +++ b/TODO.org @@ -65,6 +65,23 @@ purposes (i.e. periodically reading and piping into ~bklog~). Ideally, the scripts should output sensor data in ~jsonline~ formatted to use an appropriate ontology (i.e. [[https://www.w3.org/TR/vocab-ssn/#iphone_barometer-sosa][SOSA]]). +** TODO Prevent ~systemd~ from removing ~/dev/shm~ user files +*** 2021-10-31T21:53Z +~systemd~ may be automatically removing ~/dev/shm/ninfacyzga~ and +other files used to store photograph script state. [[https://superuser.com/a/1179962][This]] SuperUser post +explains how this default ~systemd~ behavior can be disabled. + +Disabling the behavior requires modifying +~/etc/systemd/logind.conf~. This would add another step of complexity +with possible sideeffects if other unknown programs are writing to +~/dev/shm~ and system stability requires these be regularly deleted. + +[[https://github.com/systemd/systemd/issues/4532][This]] post indicates that the RemoveIPC behavior only occurs for +non-system users. Another possible solution would be to run the +photograph timelapse script as root; however, this would require +making sure to write the output files as the ~pi~ user to prevent file +permission issues. For now, the ~systemd~ defaults will persist. + * Finished Tasks ** DONE Remove unused executables CLOSED: [2021-01-25 Mon 00:07]