<div dir="ltr">Hi,<div><br></div><div>In case you've missed the discussion [1][2], there is an opentmpfiles package</div><div>already in the NEW queque.</div><div>Opentmpfiles is meant as a drop in replacement for systemd-tmpfiles.</div><div>There is a MR [3] that provides sysvinit script and the DD is ready to merge.</div><div>Anyway, more eyes are better so, can someone have a look at the scripts?</div><div>(boring details about tmpfiles.d at the bottom)</div><div><br></div><div>Also, another important thing to understand: </div><div>is Devuan ok with using 'systemd-tmpfiles' from systemd package or prefers to use opentmpfiles? the GR has a sentence about 'cooperation with downstream' so this can be important.</div><div><br></div><div>As far as I understand tmpfiles[4][5] is supposed to do the following:</div><div><br></div><div>* Early boot: deals with files in /dev. This need to happen before udev is started</div><div><br></div><div>* Boot stage (S): clean up files and dir that aren't safe to remove during runtime.</div><div>  This need to happen after filesystems are mounted; i'm not sure about nfs.</div><div><br></div><div>* Late boot stage (S): create files and dir for all services that drop a tmpfile.conf</div><div>   file. This need to happen before longrun services are started. I think (S) is a</div><div>   safe choice here.</div><div><br></div><div>* Runtime [2-5]: these script are not meant to be called here. During packages</div><div>   upgrade calling systemd-tmpfiles it's a job for dh_systemd or some other dh_</div><div>   that doesn't exists yet.</div><div><br></div><div>* Shutdown: it's not clear to me if systemd is doing some cleanup here, see</div><div>   opentmpfiles-clean script</div><div><br></div><div>Regards,</div><div>Lorenzo</div><div><br></div><div>[1] <a href="https://lists.debian.org/debian-devel/2020/01/msg00032.html" target="_blank">https://lists.debian.org/debian-devel/2020/01/msg00032.html</a></div><div>[2] <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947847" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947847</a></div><div>[3] <a href="https://salsa.debian.org/debian/opentmpfiles/merge_requests/1" target="_blank">https://salsa.debian.org/debian/opentmpfiles/merge_requests/1</a></div><div>[4] <a href="https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html" target="_blank">https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html</a></div><div>[5] <a href="https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles-setup.service.html" target="_blank">https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles-setup.service.html</a></div><div><br></div></div>