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

2011-04-04 - Sergej Pupykin

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


[ -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
3 packages displayed out of 3 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Community lastfmsubmitd Complete
x86_64 Community ndisc6 1.0.3-2 seblu Complete
x86_64 Community wt 4.0.2-2 svenstaro Complete