[lxc-devel] [lxc/master] Create /var/run

Rachid-Koucha on Github lxc-bot at linuxcontainers.org
Sun Jan 27 11:24:12 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 454 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190127/1b84f070/attachment.bin>
-------------- next part --------------
From c65973ad8940931ed3208fc1b5723d98023b67a0 Mon Sep 17 00:00:00 2001
From: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
Date: Sun, 27 Jan 2019 12:23:58 +0100
Subject: [PATCH] Create /var/run

Some programs like "who" need this directory
to work (this permits the of /var/run/utmp file).

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>
---
 templates/lxc-busybox.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
index 37207495ec..2171e2d597 100644
--- a/templates/lxc-busybox.in
+++ b/templates/lxc-busybox.in
@@ -69,6 +69,7 @@ ${rootfs}/sys \
 ${rootfs}/mnt \
 ${rootfs}/tmp \
 ${rootfs}/var/log \
+${rootfs}/var/run \
 ${rootfs}/usr/share/udhcpc \
 ${rootfs}/dev/pts \
 ${rootfs}/dev/shm \


More information about the lxc-devel mailing list