ERROR: Configuration file /etc/virt-who.conf contains no section headers
Issue
- Virt-who debug output report below error:
# virt-who -o -d
2025-09-09 06:48:22,462 [virtwho.parser WARNING] MainProcess(10679):MainThread @parser.py:read_config_env_variables:237 - The use of environment variables and the use of the sysconfig file to configure virt-who are deprecated. Their use will be ignored in the next major release.
2025-09-09 06:48:22,463 [virtwho.config ERROR] MainProcess(10679):MainThread @config.py:parse_file:427 - Configuration file /etc/virt-who.conf contains no section headers
Environment
- Red Hat Enterprise Linux 8
- Virt-who
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.