Page MenuHomeFreeBSD

Add a patch to address upstream bug CFE-1803 (Storage promises do not unmount the filesystem as promised)
ClosedPublic

Authored by skreuzer on May 3 2016, 1:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 10:52 PM
Unknown Object (File)
Thu, May 2, 10:37 PM
Unknown Object (File)
Thu, May 2, 10:37 PM
Unknown Object (File)
Thu, May 2, 9:03 PM
Unknown Object (File)
Jan 3 2024, 10:30 AM
Unknown Object (File)
Sep 14 2023, 7:20 PM
Unknown Object (File)
Jun 27 2023, 12:52 AM
Unknown Object (File)
May 5 2023, 6:20 AM
Subscribers

Details

Summary

GetGlobalMountedFSList returns a static list, which is initially
length zero; LoadMountInfo fills that list in with the output of the mount
command. But the sense of the first check is backwards. We should fill in the
list if it is empty, not if it is non-empty.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

skreuzer retitled this revision from to Add a patch to address upstream bug CFE-1803 (Storage promises do not unmount the filesystem as promised).
skreuzer updated this object.
skreuzer added reviewers: gjb, cy.

Looks good.

This patch should be backported to at least cfengine36 and cfengin37.

In D6186#131958, @cy wrote:

Looks good.

This patch should be backported to at least cfengine36 and cfengin37.

Yeah, I plan on doing this but we don't run cfe 3.6 or 3.7 anymore so I need to build a test environment to make sure it still does what I expect it to do. We also opened a pull request upstream to get this patch merged back into cfengine/core