Why Openshift master runs as root

Solution Verified - Updated -

Issue

  • Openshift master daemon runs as root. The master should not have to run as root though the node have to.
  • OSE 3 runs as root.
  • Openshift daemon is running as root:
[root@ose1 backup]# ps -aux |grep openshift
root       4592  5.0  1.2 1115956 100984 ?      Ssl  jul01 4493:06 /usr/bin/openshift start node --config=/etc/openshift/node/node-config.yaml --loglevel=3
root      34561  0.0  0.0 112644   976 pts/1    S+   06:17   0:00 grep --color=auto openshift
root      46947 10.6  5.2 1337348 419220 ?      Ssl  ago13 2883:29 /usr/bin/openshift start master --config=/etc/openshift/master/master-config.yaml --loglevel=3

Environment

  • Openshift Enterprise
    • 3.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.