A8 to A9 Elevate issue
Symptom¶
ELEVATE aborts AlmaLinux 8 → 9 with: "RHEL 9 does not support the legacy network-scripts package... Custom network-scripts have been detected."
Cause¶
RHEL 9 removed the network-scripts package. Custom hooks (ifup-local, ifdown-local, ifup-pre-local, ifdown-pre-local) are no longer executed.
Resolution¶
- Identify custom scripts:
- Move them out of the way:
- Create
/etc/NetworkManager/dispatcher.d/20-if-local:#!/bin/bash test -n "$DEVICE_IFACE" || exit 0 run() { test -x "$1" || exit 0; "$1" "$DEVICE_IFACE"; } case "$2" in "up") run /opt/network-scripts/ifup-local ;; "pre-up") run /opt/network-scripts/ifup-pre-local ;; "down") run /opt/network-scripts/ifdown-local ;; "pre-down") run /opt/network-scripts/ifdown-pre-local ;; esac - Set permissions and symlinks: ```bash chown root:root /etc/NetworkManager/dispatcher.d/20-if-local chmod +x /etc/NetworkManager/dispatcher.d/20-if-local restorecon /etc/NetworkManager/dispatcher.d/20-if-local mkdir -p /etc/NetworkManager/dispatcher.d/{pre-up.d,pre-down.d} ln -s ../20-if-local /etc/NetworkManager/dispatcher.d/pre-up.d/ ln -s ../20-if-local /etc/NetworkManager/dispatcher.d/pre-dow