kontainapp / km

Kontain Monitor
http://kontain.app
Apache License 2.0
28 stars 5 forks source link

/proc/self virtualization glitches #650

Open msterin opened 4 years ago

msterin commented 4 years ago

python (unittest module) does the following tricks.... both will not be propery working in KM as of today (5/20/20)

readdir("/proc/self/fd") to check the number of open files and they traverse them (later read("/proc/self/status") to get SigIgn - signal ignore mask - and validate it's bits

//CC @johnmuth81

gnode1 commented 4 years ago

readdir("/proc/self/fd") is taken care of by https://github.com/kontainapp/km/pull/709.

However read("/proc/self/status") is still an issue

msterin commented 3 years ago

I suggest adding a message for reads (and other stuff we do not support in /proc, whatever we know at this moment), so if we ever run into that we at least know where to start. Can be done in post-release, no urgency