Skip to content

clamav_config: Update DNS configuration path for sysvinit compatibility#84

Closed
hemant-jadhav-emerson wants to merge 1 commit intoni:masterfrom
hemant-jadhav-emerson:dev/clamav_config/update_conf_path
Closed

clamav_config: Update DNS configuration path for sysvinit compatibility#84
hemant-jadhav-emerson wants to merge 1 commit intoni:masterfrom
hemant-jadhav-emerson:dev/clamav_config/update_conf_path

Conversation

@hemant-jadhav-emerson
Copy link
Copy Markdown
Contributor

@hemant-jadhav-emerson hemant-jadhav-emerson commented Dec 8, 2025

Summary of Changes

Change resolv.conf path from /var/run/resolv.conf to /etc/resolv.conf to align with
NILRT's sysvinit-based DNS configuration.
I am suspecting the SNAC acceptance might fail. If not required, I will close the PR

Signed-off-by: Hemant Jadhav hemant.jadhav@emerson.com

Justification

With this changes nilrt-snac verify should not fail in SNAC mode if /etc/resolv.conf is non-empty.

Testing

Will be testing it on local

Procedure

TODO: Check applicable tasks and remove those that are inapplicable.

  • This PR: changes user-visible behavior, fixes a bug, or impacts the project's security profile; and so it includes a CHANGELOG note.
  • I certify that the contents of this pull request complies with the Developer Certificate of Origin.

Change resolv.conf path from /var/run/resolv.conf to /etc/resolv.conf
to align with NILRT's sysvinit-based DNS configuration.

Signed-off-by: Hemant Jadhav <hemant.jadhav@emerson.com>
@hemant-jadhav-emerson hemant-jadhav-emerson deleted the dev/clamav_config/update_conf_path branch December 11, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant