]> zdv.bktei.com Git - EVA-2020-02.git/commitdiff
chore(TODO):Add task to maintain files in /dev/shm
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sat, 14 May 2022 20:48:39 +0000 (20:48 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sat, 14 May 2022 20:48:39 +0000 (20:48 +0000)
TODO.org

index cddc236f33281b975939b81c60b4b30687e18af0..66e8e63ed2d403675251907088edda6618092f16 100644 (file)
--- a/TODO.org
+++ b/TODO.org
@@ -55,6 +55,23 @@ Setting up time tracking via ~chrony~.
 ** TODO Use ~age --version~ in creating ~VERSION~ output files
 ~age~ as of ~beta7~ outputs its version using the ~--version~ option.
 
+** 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]