From 84ab8061af609c3db389090d354830fcc66cb683 Mon Sep 17 00:00:00 2001 From: zhangsong234 Date: Mon, 30 Nov 2020 21:46:04 +0800 Subject: [PATCH] lxcfs: fix reinstall bug Signed-off-by: zhangsong234 --- 0001-systemd.patch | 2 +- lxcfs.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/0001-systemd.patch b/0001-systemd.patch index eaa59e6..5145981 100644 --- a/0001-systemd.patch +++ b/0001-systemd.patch @@ -14,7 +14,7 @@ index 9cd4e59..2421a54 100644 -Restart=on-failure -ExecStopPost=-/bin/fusermount -u @LXCFSTARGETDIR@ +ExecStop=/usr/local/bin/lxcfs-tools umount -a -+ExecStopPost=--/bin/fusermount -u /var/lib/lxc/ ++ExecStopPost=-/bin/fusermount -u /var/lib/lxc/ Delegate=yes ExecReload=/bin/kill -USR1 $MAINPID +Restart=always diff --git a/lxcfs.spec b/lxcfs.spec index f6d5a99..091e0e8 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -4,7 +4,7 @@ #Basic Information Name: lxcfs Version: 4.0.5 -Release: 1 +Release: 2 Summary: FUSE filesystem for LXC License: Apache-2.0 URL: http://linuxcontainers.org @@ -83,6 +83,9 @@ fi %{_unitdir}/* %changelog +* Mon Nov 30 2020 openEuler Buildteam - 4.0.5-2 +- fix reinstall bug + * Fri Aug 28 2020 openEuler Buildteam - 4.0.5-1 - update to 4.0.5 -- Gitee