!13 lxcfs: fix reinstall bug

From: @zhangsong234
Reviewed-by: @caihaomin
Signed-off-by: @caihaomin
This commit is contained in:
openeuler-ci-bot 2020-11-30 11:16:12 +08:00 committed by Gitee
commit 7002237134
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 <buildteam@openeuler.org> - 4.0.5-2
- fix reinstall bug
* Fri Aug 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.0.5-1
- update to 4.0.5