Title
#kolide
InfosecGuruji

InfosecGuruji

01/12/2019, 8:03 PM
After lots of debugging, I encountered that in mac, launchctl load /Library/LaunchDaemons/com.launcher.launcher.plist doesn't load and returns
invalid property list
m

mbmy

01/13/2019, 6:30 PM
Just encountered the same issue after building with package-builder for the first time. I tried out fleet about a year ago briefly and didn’t encounter the same issue. Is this possibly Mojave related?
InfosecGuruji

InfosecGuruji

01/13/2019, 6:53 PM
Yes, it built and tested on Mojave. Is there any specific bug/build error with Mojave?
m

mbmy

01/13/2019, 6:53 PM
After running the plist through
plutil -convert xml -r com.kolide.launcher.plist -o /tmp/test.plist
I compared the changes in the plist file. Changing that value allowed it to launch.
6:53 PM
Literally just figured it out
6:54 PM
but now the actual agent is crashing on load so I still have to investigate. May be completely unrelated
InfosecGuruji

InfosecGuruji

01/13/2019, 7:00 PM
I'll try this. I was able to connect to my fleet instance after setting enviornment variables manually and running
/usr/local/launcher/bin/launcher --insecure
s

seph

01/14/2019, 2:47 AM
I’m not sure about the load thing, but plist generation changed recently. Can you file a github issue on that?
m

mbmy

01/14/2019, 2:49 AM
Yup I planned on it once I got everything sorted out
s

seph

01/14/2019, 2:50 AM
Cool. I can dig a bit, and try to tell whether it was my recent changes, or something in the plist library I’m calling.