objective-see / LuLu

LuLu is the free macOS firewall
GNU General Public License v3.0
9.44k stars 438 forks source link

Issue with 2.6.3 after upgrade #610

Open mimta opened 3 weeks ago

mimta commented 3 weeks ago

Hi After I upgraded it to 2.6.3, it seems that the extension is not running/approved.

> Extensions must be manually approved via Security & Privacy System Preferences.

But when I check the extension list, it says com.objective-see.lulu.extension (2.6.3/2.6.3) Extension [activated enabled]

And here is the output of the log:

ve-see.lulu.extension
2024-06-14 12:57:02.343333+0100 0x1fa4     Debug       0x0                  1005   0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-14 12:57:02.579887+0100 0x1f9a     Debug       0x0                  1005   0    LuLu: [com.objective-see.lulu:application] method '-[AppDelegate applicationShouldHandleReopen:hasVisibleWindows:]' invoked (hasVisibleWindows: 0)
2024-06-14 12:57:02.599993+0100 0x1fa4     Debug       0x0                  1005   0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension

and when I go to the security to see if there is anything to allow, there is nothing there!

Any idea what should to do?

Thanks

MichaelReaNZ commented 2 weeks ago

Same issue, can't install Lulu at all anymore :(

objective-see commented 2 weeks ago

Thanks for the bug report, and sorry about the issue! Looking into this, but can you provide some additional info/logs.

In short, the app, when (re)started looks to see if the extension is off and running, but looking for the extension process, which is named com.objective-see.lulu.extension.

I'm wondering if the extension is still starting up, so the check in the app (that displays that alert), is too "quick"/misses it.

Can you

  1. Confirm the extension is indeed running? ps aux | grep com.objective-see.lulu.extension

  2. Start a log stream (via the terminal) log stream --level debug --predicate="subsystem='com.objective-see.lulu'" And then, (re)start the app, and post any relevant logs messages, such as: \ \ From app: started: ... method '-[AppDelegate applicationShouldHandleReopen:hasVisibleWindows:]' invoked (hasVisibleWindows: 0) \ From extension: started: ... enabled extension ('startSystemExtensionMode' was called)

Thank you πŸ™πŸ½

mimta commented 2 weeks ago

Thanks for the bug report, and sorry about the issue! Looking into this, but can you provide some additional info/logs.

In short, the app, when (re)started looks to see if the extension is off and running, but looking for the extension process, which is named com.objective-see.lulu.extension.

I'm wondering if the extension is still starting up, so the check in the app (that displays that alert), is too "quick"/misses it.

Can you

1. Confirm the extension is indeed running?
   `ps aux | grep com.objective-see.lulu.extension`

2. Start a log stream (via the terminal)
   `log stream --level debug --predicate="subsystem='com.objective-see.lulu'"`
   And then, (re)start the app, and post any relevant logs messages, such as: 

   From app:
   `started: ...`
   `method '-[AppDelegate applicationShouldHandleReopen:hasVisibleWindows:]' invoked (hasVisibleWindows: 0)`

   From extension:
   `started: ...`
   `enabled extension ('startSystemExtensionMode' was called)`

Thank you πŸ™πŸ½

Hi Thank you

1- Confirm the extension is indeed running? 27033 0.0 0.0 410724048 1376 s000 S+ 11:41am 0:00.01 grep com.objective-see.lulu.extension

2- Start a log stream (via the terminal)

Filtering the log data using "subsystem == "com.objective-see.lulu""
Timestamp                       Thread     Type        Activity             PID    TTL  
2024-06-24 11:42:18.396183+0100 0xcaed1    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] started: /Applications/LuLu.app/Contents/MacOS/LuLu (pid: 27070 / uid: 1713849728)
2024-06-24 11:42:18.396826+0100 0xcaed1    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] arguments: (
    "/Applications/LuLu.app/Contents/MacOS/LuLu"
)
2024-06-24 11:42:18.477216+0100 0xcaed1    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] -[AppDelegate applicationDidFinishLaunching:]
2024-06-24 11:42:18.478250+0100 0xcaed1    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] subsequent launch...
2024-06-24 11:42:19.526659+0100 0xcaedc    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] toggling extension (action: 1)
2024-06-24 11:42:19.526922+0100 0xcaedc    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] creating activation request
2024-06-24 11:42:19.528951+0100 0xcaedc    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] submitting request
2024-06-24 11:42:19.531855+0100 0xcaedc    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] submitting request returned...
2024-06-24 11:42:19.531926+0100 0xcaedc    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting system extension & network filter activation...
2024-06-24 11:42:19.578062+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] method '-[Extension request:didFinishWithResult:]' invoked with <OSSystemExtensionActivationRequest: 0x600003f70b40>, 0
2024-06-24 11:42:19.578098+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] extension 'activate' returned
2024-06-24 11:42:19.578113+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] activated system extension, will now activate network filter...
2024-06-24 11:42:19.578128+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] toggling network extension: 1
2024-06-24 11:42:19.580589+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for network extension configuration...
2024-06-24 11:42:19.585860+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] loaded current filter configuration for the network extension
2024-06-24 11:42:19.585883+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] activating network extension...
2024-06-24 11:42:19.587575+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for network extension configuration to save...
2024-06-24 11:42:19.598139+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] saved current filter configuration for the network extension
2024-06-24 11:42:19.598162+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] network filter activated/enabled
2024-06-24 11:42:19.598172+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:19.867893+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:20.133777+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:20.402905+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:20.669769+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:20.937076+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:21.204942+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension
2024-06-24 11:42:21.471903+0100 0xcaedb    Debug       0x0                  27070  0    LuLu: [com.objective-see.lulu:application] waiting for com.objective-see.lulu.extension

Thank you

objective-see commented 1 day ago

Well it appears the extension isn't running πŸ€” (For example the grep command only matches on itself ...also nothing in the logs output from com.objective-see.lulu.extension).

Can you please run: log show --predicate="subsystem='com.objective-see.lulu'" from the Terminal to see if there are any error messages?

And/or check Console.app (click on "Crash Reports" on the left hand side), to see if maybe the extension crashed?

Another idea is maybe reboot, then attempt a (re)install?

Thank you! πŸ™πŸ½