* [meta-oe][PATCH] nostromo: specify configuration for systemd-tmpfiles --update
@ 2013-09-05 5:30 Jonathan Liu
0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-09-05 5:30 UTC (permalink / raw)
To: openembedded-devel
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 <net147@gmail.com>
---
meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index 3aaa5c2..fe860ec 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -61,7 +61,7 @@ CONFFILES_${PN} += "/var/nostromo/conf/mimes ${sysconfdir}/nhttpd.conf"
pkg_postinst_${PN} () {
if [ -z "$D" ]; then
if [ -e /sys/fs/cgroup/systemd ]; then
- systemd-tmpfiles --create
+ systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/nostromo.conf
elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
${sysconfdir}/init.d/populate-volatile.sh update
fi
--
1.8.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-05 5:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05 5:30 [meta-oe][PATCH] nostromo: specify configuration for systemd-tmpfiles --update Jonathan Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.