Thanks for this awesome project. Did you run into any problems with files in /run/shm/hooks disappearing after a certain period of time? In my case, after a couple of hours the symlink gets broken. This is happening on Raspbian Stretch Lite version 2017-09-07.
From what I was able to investigate, option RemoveIPC=yes of systemd could be the culprit. systemd by default cleans up interprocess communication for user accounts who are not logged in, and we're using the pi user as the owner of hooks dir, so it's files get cleaned up after a while.
One of the solutions is to uncomment line with RemoveIPC and change it to no in /etc/systemd/logind.conf, but I was wondering if there's something else that could be done, maybe run the picam-stream as some other system user?
Hey,
Thanks for this awesome project. Did you run into any problems with files in
/run/shm/hooks
disappearing after a certain period of time? In my case, after a couple of hours the symlink gets broken. This is happening on Raspbian Stretch Lite version 2017-09-07.From what I was able to investigate, option
RemoveIPC=yes
ofsystemd
could be the culprit.systemd
by default cleans up interprocess communication for user accounts who are not logged in, and we're using thepi
user as the owner ofhooks
dir, so it's files get cleaned up after a while.One of the solutions is to uncomment line with
RemoveIPC
and change it tono
in/etc/systemd/logind.conf
, but I was wondering if there's something else that could be done, maybe run the picam-stream as some other system user?