No symlink from /usr/bin/python to python2.7 after OS patching

Solution Verified - Updated -

Issue

  • After OS patching, there is no longer a symlink from /usr/bin/python to /usr/bin/python2.7
Before OS patching:

# ls -l /usr/bin/python
lrwxrwxrwx. 1 root root 18 Mar 19 12:43 /usr/bin/python -> /usr/bin/python2.7

After OS patching:

# ls -l /usr/bin/python
ls: cannot access '/usr/bin/python': No such file or directory

# ls -l /usr/bin/python2.7
-rwxr-xr-x. 1 root root 9264 Dec 14  2018 /usr/bin/python2.7

Environment

  • Red Hat Enterprise Linux 8
  • chkconfig
  • python

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content