DNF_SECURITY_COMMAND (napalm_device_types/package_updates.py:32) runs dnf updateinfo list --security --quiet. dnf downloads and parses fresh repository metadata whenever the cached copy has expired, so the query can take minutes, and it runs inside a poll that has 120 s for everything. Seen on an Oracle Linux 9.8 host on OCI, where every poll timed out (NAPALM/napalm-linux#59).
Expected
The query reads only the cached metadata (dnf --cacheonly …), like APT_UPGRADABLE_COMMAND does for apt. Refreshing the index is a separate step (refresh_available_updates → dnf makecache), which netOrk runs once a day per host. Without a cache, dnf fails at once, and the __DNF_RC marker already turns that into "security unknown" rather than "not a security fix".
## What happens
`DNF_SECURITY_COMMAND` (`napalm_device_types/package_updates.py:32`) runs `dnf updateinfo list --security --quiet`. dnf downloads and parses fresh repository metadata whenever the cached copy has expired, so the query can take minutes, and it runs inside a poll that has 120 s for everything. Seen on an Oracle Linux 9.8 host on OCI, where every poll timed out (NAPALM/napalm-linux#59).
## Expected
The query reads only the cached metadata (`dnf --cacheonly …`), like `APT_UPGRADABLE_COMMAND` does for apt. Refreshing the index is a separate step (`refresh_available_updates` → `dnf makecache`), which netOrk runs once a day per host. Without a cache, dnf fails at once, and the `__DNF_RC` marker already turns that into "security unknown" rather than "not a security fix".
Priority: P2 — same impact as NAPALM/napalm-linux#59, which needs both halves fixed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What happens
DNF_SECURITY_COMMAND(napalm_device_types/package_updates.py:32) runsdnf updateinfo list --security --quiet. dnf downloads and parses fresh repository metadata whenever the cached copy has expired, so the query can take minutes, and it runs inside a poll that has 120 s for everything. Seen on an Oracle Linux 9.8 host on OCI, where every poll timed out (NAPALM/napalm-linux#59).Expected
The query reads only the cached metadata (
dnf --cacheonly …), likeAPT_UPGRADABLE_COMMANDdoes for apt. Refreshing the index is a separate step (refresh_available_updates→dnf makecache), which netOrk runs once a day per host. Without a cache, dnf fails at once, and the__DNF_RCmarker already turns that into "security unknown" rather than "not a security fix".Priority: P2 — same impact as NAPALM/napalm-linux#59, which needs both halves fixed.