You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_directory and 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
The text was updated successfully, but these errors were encountered:
There's a fairly quick workaround for this -- when running the agent in dev mode like this, you can include the flags -autoupdate -autoupdater_initial_delay 1m -autoupdate_interval 1m, and then launcher will download both launcher and osquery updates into its temporary root directory's update directory.
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.
update_directory
and bake that into the k2 controller?Also, remember osqueryd. Have to get osquery udpates too
The text was updated successfully, but these errors were encountered: