diff options
Diffstat (limited to 'recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch')
| -rw-r--r-- | recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch b/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch deleted file mode 100644 index 9f6f338d..00000000 --- a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 89bf4b64e810e174068e7861490e6d6ab2d14854 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Asselstine <mark.asselstine@windriver.com> | ||
| 3 | Date: Mon, 10 Sep 2018 15:01:54 -0400 | ||
| 4 | Subject: [PATCH] systemd: ensure /var/lib/lxcfs exists | ||
| 5 | |||
| 6 | If the directory doesn't exist the service will fail to start. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [embedded specific] | ||
| 9 | |||
| 10 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | ||
| 11 | --- | ||
| 12 | config/init/systemd/lxcfs.service | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | Index: lxcfs-4.0.7/config/init/systemd/lxcfs.service | ||
| 16 | =================================================================== | ||
| 17 | --- lxcfs-4.0.7.orig/config/init/systemd/lxcfs.service | ||
| 18 | +++ lxcfs-4.0.7/config/init/systemd/lxcfs.service | ||
| 19 | @@ -5,6 +5,7 @@ | ||
| 20 | Documentation=man:lxcfs(1) | ||
| 21 | |||
| 22 | [Service] | ||
| 23 | +ExecStartPre=-/bin/mkdir /var/lib/lxcfs | ||
| 24 | ExecStart=/usr/bin/lxcfs /usr/local/var/lib/lxcfs | ||
| 25 | KillMode=process | ||
| 26 | Restart=on-failure | ||
