Todo List: Do not rely on /var/run/* and /var/lock/* being persistent

2011-04-04 - Sergej Pupykin

https://bugs.archlinux.org/task/18157

Must packages recreate the folders in /var/{run,lock} on demand, if your package do not, then solve it in one of two ways:

If there is an rc script, add something like

[ -d /var/lock/NAME ] || mkdir -p /var/lock/NAME

or

[ -d /var/run/NAME ] || mkdir -p /var/run/NAME

into /etc/rc.d/NAME.

Otherwise, add a file called /usr/lib/tmpfiles.d/NAME.conf to the package containing something like

d /run/NAME 0755 root root -

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
5 packages displayed out of 5 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Community lastfmsubmitd Complete
i686 Community ndisc6 1.0.3-1 seblu Complete
x86_64 Community ndisc6 1.0.3-1 seblu Complete
i686 Community wt 3.3.6-2 spupykin, svenstaro Complete
x86_64 Community wt 3.3.6-2 spupykin, svenstaro Complete