1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Add a patch to address upstream bug CFE-1803 (Storage promises do not unmount

the filesystem as promised)

Reviewed by:	cy@, gjb@
Approved by:	cy@
Differential Revision:	D6186
This commit is contained in:
Steven Kreuzer 2016-05-04 12:52:33 +00:00
parent 933a6c7ed8
commit d0d4cae1ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414601
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= cfengine
PORTVERSION= 3.8.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/

View File

@ -0,0 +1,11 @@
--- cf-agent/verify_storage.c.orig 2016-05-03 13:42:49 UTC
+++ cf-agent/verify_storage.c
@@ -132,7 +132,7 @@ PromiseResult VerifyStoragePromise(EvalC
PromiseResult result = PROMISE_RESULT_NOOP;
#ifndef __MINGW32__
- if ((SeqLength(GetGlobalMountedFSList())) && (!LoadMountInfo(GetGlobalMountedFSList())))
+ if ((!SeqLength(GetGlobalMountedFSList())) && (!LoadMountInfo(GetGlobalMountedFSList())))
{
Log(LOG_LEVEL_ERR, "Couldn't obtain a list of mounted filesystems - aborting");
YieldCurrentLock(thislock);