Samuli Suominen wrote: > On 05/18/2011 05:45 PM, Henry Gebhardt wrote: >> >> I thought I'd mention, the way systemd handles this is with an extra >> service and configuration files in /etc/tmpfiles.d [1]. I am sure >> OpenRC could use the same tool[2] for that. >> >> [1] http://0pointer.de/public/systemd-man/tmpfiles.d.html >> [2] http://0pointer.de/public/systemd-man/systemd-tmpfiles.html > > Not all packages using /var/run own a init script, nor need one. Take > sys-fs/udisks[1] for example. Then, we need something to create > these dirs in OpenRC (or fix the package, but that might take some > time...) > > [1] http://bugs.gentoo.org/333893
I belive the idea was to have a single service in openrc that would create all the needed files by reading the configuration in /etc/tmpfiles.d/. Then the various packages could just drop a single file in tmpfiles.d, and everything would be created automagically. -- Jonathan Callen