Bug ID 749639: BIG-IP Installation on MOS shell throws 'getenforce command not found' error

Last Modified: Feb 28, 2025

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4

Fixed In:
17.5.0

Opened: Nov 13, 2018

Severity: 4-Minor

Symptoms

When the local installation of the BIG-IP image via MOS is attempted, you may observe the error below. error: tm_install::TMOS::TMOS_getenforce -- Command not found: /usr/sbin/getenforce

Impact

-- Installation will be a success but you may observe the getenforce command not found error which is benign.

Conditions

-- When installing the BIG-IP image via the MOS shell

Workaround

None

Fix Information

Added the getenforce command for the MOS shell

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips