Actions
Bug #7335
closedcheck-rudder-agent silently fails if namespaces are not supported
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Running on a Debian squeeze, /opt/rudder/bin/check-rudder-agent fails with this output from 'bash -x':
+ check_and_fix_cfengine_processes ++ ps -h -o utsns --pid 30877 + ns= jclarke@hostname:~$ echo $? 1
This comes from the following line:
67 # Detect the correct ps tool to use 68 ns=$(ps -h -o utsns --pid $$ 2>/dev/null)
I found this in 3.1.3 but it goes as far back as the 2.11 branch.
This was apparently introduced in #7189 and seems to be related to #7245, #7243.
Actions