Hi guys in my machine when I query `process_namesp...
# general
n
Hi guys in my machine when I query
process_namespaces
like this
select * from process_namespaces
some of the processes do not have
pid_namespaces
even
pid1
does not have pid_namespace. Is this normal?
u
Copy code
osquery> select version from osquery_info ;
version = 3.3.2
osquery> select * from process_namespaces limit 1 ;
             pid = 1
cgroup_namespace = 4026531835
   ipc_namespace = 4026531839
   mnt_namespace = 4026531840
   net_namespace = 4026531957
   pid_namespace = 4026531836
  user_namespace = 4026531837
   uts_namespace = 4026531838
works for me. without more specifics from you i couldn't tell what's wrong with your install.
n
is this ubuntu machine?
u
yes
n
My version is 3.3.2 and my machine is ubuntu 18.04
u
my output above is from 16.04
n
hmm
you think that's the problem?
u
i haven't tried but i doubt. getting namespaces shouldn't have changed so dramatically between the kernels
but feel welcome to prove me wrong.
more information on the details how you're getting your results would also be useful.
n
@8p8c can you be more specific
im just running
osqueryi
u
how?
n
then this command
select *  from process_namespaces
u
k. so, tried it with sudo also?
n
you mean when I type
osqueryi
?
u
Yes. How else are you going to get data out accessible only to root?
n
omg, it worked now!
thanks man
sorry, I'm just beginner
u
Np. Don’t forget to close the issue in github.
n
done
thanks