objective-see / BlockBlock

BlockBlock provides continual protection by monitoring persistence locations.
GNU General Public License v3.0
626 stars 39 forks source link

BLOCKBLOCK ERROR: install failed #11

Closed 0xmachos closed 3 years ago

0xmachos commented 4 years ago

OS: macOS Big Sur Beta (10.16/11.0) (20A5323l) (Dev Beta 3) BlockBlock: 1.0.2 This is running in a VM using VMware Fusion Tech Preview 20H2.

When I try to install BlockBlock via the command line I get the following.

$ sudo BlockBlock\ Installer.app/Contents/MacOS/BlockBlock\ Installer -install
2020-07-23 21:00:20.976 BlockBlock Installer[2227:44461] Sentry Started -- Version: 3.12.4
INFO : KSCrash.m (339): -[KSCrash sendAllReportsWithCompletion:]: Sending 0 crash reports
No matching processes were found

BLOCKBLOCK ERROR: install failed

This error is printed by Line 35 of src/main.m:

//install
if(YES != cmdlineInterface(ACTION_INSTALL_FLAG))
    {
       //err msg
       printf("\nBLOCKBLOCK ERROR: install failed\n\n");     

       //bail
       goto bail;
    }
0xmachos commented 4 years ago

I think this may be related to Big Sur reporting it's version as 11.0 instead of 10.16 but I'm not sure. I was able to install BlockBlock in Big Sur Dev Beta 1 when it was running on bare metal but in a VM on Dev Beta 3, as stated above, I get this error.

I believe that Big Sur Dev Beta 1 on bare metal was reporting it's version as 10.16 but I can't remember for sure.

jguerin commented 3 years ago

Ditto!

heygarrett commented 3 years ago

I'm seeing this as well.

objective-see commented 3 years ago

Thanks for bug report(s)!

Just pushed a new beta that is (now) compatible w/ Big Sur (macOS 11): image

If you want to give it a test, that'd be great! → Download: https://bitbucket.org/objective-see/deploy/downloads/BlockBlock_1.0.3_BETA.zip

jguerin commented 3 years ago

Confirmed that the Beta build fixes the issue!

0xmachos commented 3 years ago

@objective-see what was the fix? Can you link to a commit?

I've not tested this yet on BS but @jguerin comment sounds good.

jguerin commented 3 years ago

@0xmachos - see the commit above for the changes :)

0xmachos commented 3 years ago

@jguerin thanks mate, totally missed that.

0xmachos commented 3 years ago

Also confirmed that 1.0.3 BETA works.