Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove dnsmasq from the default package set #60

Closed
miabbott opened this issue Sep 20, 2024 · 2 comments
Closed

remove dnsmasq from the default package set #60

miabbott opened this issue Sep 20, 2024 · 2 comments

Comments

@miabbott
Copy link
Member

We saw a report in the RHEL for Edge downstream about how the inclusion of dnsmasq in the OS was causing issues for CIS Level 1 server compliance. (Example audit rule for CIS compliance - https://www.tenable.com/audits/items/CIS_Oracle_Linux_9_v2.0.0_L1_Server.audit:35758e8a3ea48aff90e79b2d49199741)

The git archeology for the inclusion of that package appears to go back to the first definition of the IoT package set - https://pagure.io/fedora-iot/ostree/c/e4dff0e6fb85568963701ced7e8ca97e88e5f74a?branch=master

This looks very similar to the base content set that was used for Fedora Atomic Host and the rationale for the inclusion of dnsmasq in Atomic Host had to do with supporting openshift-ansible/OpenShift 3.11 - https://www.pagure.io/fedora-atomic/c/0435250a9308ba55e56f3c31edfe63aab2c41d8d

An inspection of the Requires/Recommends on dnsmasq doesn't show any default packages that depend on the package:

[core@localhost ~]$ rpm -q --whatrequires dnsmasq
no package requires dnsmasq
[core@localhost ~]$ rpm -q --whatrecommends dnsmasq
no package recommends dnsmasq

Given the history and lack of dependencies on the package, it seems like a good candidate for removal from IoT.

(We already decided to remove it from future versions of RHEL for Edge - osbuild/images#921)

@nullr0ute
Copy link
Member

Yes, makes sense, from (a very vague) memory it was originally needed for container networking, but that's no longer the case. Filed this PR: https://pagure.io/fedora-iot/ostree/pull-request/62

@pcdubs
Copy link
Member

pcdubs commented Sep 20, 2024

Merged.

@pcdubs pcdubs closed this as completed Sep 20, 2024
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

No branches or pull requests

3 participants