We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth
Active subscription is required.
yum
upgrades for production use, this is the repository for you.
Active subscription is required.
Operating System and Software
- Rocky Linux 8
Problem
- If use
NM_CONTROLLED=no
in ifcfg file, unable to bring up interfaces with ‘ifup’ command. ifup
commands fails with below error when try to bring up ens3 interface.
# ifup ens3
Error: unknown connection '/etc/sysconfig/network-scripts/ifcfg-ens3'.
How to Fix
- There are two ways to resolve the issue:
- Remove
NM_CONTROLLED=no
option from ifcfg file. - Install
network-scripts
package to utilize the legacyifup
command.
- Remove
Origin of the Problem
- From Rocky Linux 8,
ifup
command is provided by NetworkManager package. Network scripts are deprecated in Rocky Linux 8 and they are no longer provided by default.
# rpm -qf `which ifup`
NetworkManager-1.14.0-5.el8.x86_64