Why are the symlinks to the executables in /proc broken?

Solution Verified - Updated -

Issue

  • Linux Daemons with Broken Links to Executables, why?

  • The symbolic links referring to the executables of each process in /proc are seen to be broken:

[user@test ~]$ ll /proc/*/exe 2>/dev/null
lrwxrwxrwx. 1 root  root  0 Sep 12 07:08 /proc/10/exe
lrwxrwxrwx. 1 root  root  0 Sep 12 13:08 /proc/1150/exe
lrwxrwxrwx. 1 root  root  0 Sep 12 13:08 /proc/1151/exe
lrwxrwxrwx. 1 sibu  sibu  0 Sep 12 13:33 /proc/2364/exe -> /bin/bash
lrwxrwxrwx. 1 root  root  0 Sep 12 13:33 /proc/2389/exe
lrwxrwxrwx. 1 root  root  0 Sep 12 07:08 /proc/8/exe
lrwxrwxrwx. 1 root  root  0 Sep 12 07:08 /proc/9/exe
lrwxrwxrwx. 1 sibu  sibu  0 Sep 12 16:36 /proc/self/exe -> /bin/ls
[user@test ~]$ 
  • This is highlighted as an issue by "Nessus Vulnerability Scanner"

Environment

  • Red Hat Enterprise Linux(All)

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.