diff --git a/0001-systemd.patch b/0001-systemd.patch index eaa59e6d91369a722d15a6be8a7845b6615c0b73..5145981fbe8eefce881429dcb4f00d87647fbc5f 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 f6d5a997da4111fbd128d132549b5fbf405ac2b7..091e0e8f387d40339daaeb4b7cf83de17026a746 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