Patchwork [meta-oe] lmbench: specify configuration for systemd-tmpfiles --update

mail settings
Submitter Jonathan Liu
Date Sept. 5, 2013, 5:29 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/57425/
State Accepted, archived
Commit 52c3377b19f63a9ebb516df03630f753c65c2f8e
Headers show


Jonathan Liu - Sept. 5, 2013, 5:29 a.m.
Running systemd-tmpfiles --update without specifying a configuration
file results in all tmpfiles.d configuration files being processed.

/usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to
prevent non-root users from logging in while the system is booting.
If systemd-tmpfiles --update is run after the system has started,
it will still create /run/nologin which would prevent non-root users
from logging in with the message "System is booting up.".

Signed-off-by: Jonathan Liu <>
 meta-oe/recipes-benchmark/lmbench/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/meta-oe/recipes-benchmark/lmbench/ b/meta-oe/recipes-benchmark/lmbench/
index d42d62c..fb8cf4f 100644
--- a/meta-oe/recipes-benchmark/lmbench/
+++ b/meta-oe/recipes-benchmark/lmbench/
@@ -64,7 +64,7 @@  do_install () {
 pkg_postinst_${PN} () {
     if [ -z "$D" ]; then
         if command -v systemd-tmpfiles >/dev/null; then
-            systemd-tmpfiles --create
+            systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/lmbench.conf
         elif [ -e ${sysconfdir}/init.d/ ]; then
             ${sysconfdir}/init.d/ update