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 2e00b3a8797e0f5041d69da50ecd923c8f0e3ecd..9fc693943a50056b969807447963db10a05390fb 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -4,7 +4,7 @@ #Basic Information Name: lxcfs Version: 4.0.5 -Release: 3 +Release: 2 Summary: FUSE filesystem for LXC License: Apache-2.0 URL: http://linuxcontainers.org @@ -84,6 +84,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