Project

General

Profile

Actions

Bug #7335

closed

check-rudder-agent silently fails if namespaces are not supported

Added by Jonathan CLARKE about 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Agent
Target version:
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.


Related issues 3 (0 open3 closed)

Related to Rudder - Bug #7189: issues with process management on physical hosting LXC containersReleasedMatthieu CERDA2015-09-12Actions
Related to Rudder - Bug #7245: check-rudder agent ps errorReleasedVincent MEMBRÉ2015-10-06Actions
Related to Rudder - Bug #7243: Check-rudder-agent fails on an error while checking processesReleasedVincent MEMBRÉ2015-10-06Actions
Actions

Also available in: Atom PDF