Title
#fleet
w

wkleinhenz

01/28/2021, 9:31 PM
so im trying to figure out why my fleet instance isnt logging to files anymore, could the change to root-less have broken righting them to /var/log/osquery in the container?
zwass

zwass

01/28/2021, 9:46 PM
Yes, likely related. I don't think we realized that this might not be a a seamless transition for many users. Are you able to resolve the issue knowing that is the likely cause?
w

wkleinhenz

01/28/2021, 9:47 PM
would the host dir mess with this right now the container dir is mapped to a dir in opt
zwass

zwass

01/28/2021, 9:48 PM
I'm having trouble parsing your message
9:48 PM
Can you try to clarify?
w

wkleinhenz

01/28/2021, 9:49 PM
yeah so ive tried a few different container paths for the log file, like /home/fleet and /tmp but i get the same error
9:49 PM
so im wondering if the fact that the host path its mapped to is in opt could be causing issues
zwass

zwass

01/28/2021, 9:50 PM
I see
9:50 PM
Not 100% on this but I think it will have the same permissions in the container
9:50 PM
So that's probably a "yes"
w

wkleinhenz

01/28/2021, 9:50 PM
ok ill try throwing in in tmp to see what happens
zwass

zwass

01/28/2021, 9:52 PM
w

wkleinhenz

01/28/2021, 10:01 PM
ok i think i got it
10:01 PM
let me see if im right
10:03 PM
ok got it
10:03 PM
i just had to do chmod 100:101 on the logs folder