You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran factor on my server I got a lot of errors in /var/log/syslog saying dhcpcd was not running. This is correct because my server is configured with a static IP address without dhcpcd.
@DevSysEngineer can you include some of the errors you're seeing the log (redacted as needed)? Also can you try to reproduce using the latest version 4.10.0?
Hello @joshcooper, I resolved the issue by purging the dhcpcd-base package.
This line in the code link triggers the dhcpcd command, but it fails since dhcpcd isn't installed on the system. After removing dhcpcd-base, this line no longer attempts to call dhcpcd, which resolves the problem.
Is there perhaps an additional check needed to verify that the dhcpcd client is running before calling it?
Describe the Bug
When I ran factor on my server I got a lot of errors in /var/log/syslog saying dhcpcd was not running. This is correct because my server is configured with a static IP address without dhcpcd.
Expected Behavior
No error logs
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
facter --version
4.3.0
The text was updated successfully, but these errors were encountered: