launcher
launcher copied to clipboard
When running launcher in dev mode, it does not get the updates
When we run launcher in dev mode (say, as bin/agent), it is run with a temporary root directory. Because it's a temp root dir, it's missing the information about updates. This is a small problem in dev mode.
Fixing this has 2 parts.
- First, we need to do something with the update library so it looks in the prod root dir. (Maybe we should just use
update_directoryand bake that into the k2 controller? - Second, we need to make sure you don't need root to find the newer launcher updates. (IIRC, this was related to TUF, but we can consume this from the sqlite db)
Also, remember osqueryd. Have to get osquery udpates too