Skip to content

anaconda-cleanup: Remove /etc/resolv.conf#478

Merged
jlebon merged 1 commit intocoreos:masterfrom
cgwalters:noresolv
Apr 11, 2019
Merged

anaconda-cleanup: Remove /etc/resolv.conf#478
jlebon merged 1 commit intocoreos:masterfrom
cgwalters:noresolv

Conversation

@cgwalters
Copy link
Member

This definitely shouldn't be in the image by default.

@sinnykumari
Copy link
Contributor

sinnykumari commented Apr 11, 2019

what already @bgilbert mentioned, other than that LGTM

@jlebon
Copy link
Member

jlebon commented Apr 11, 2019

LGTM! Will leave it open for now in case you wanted to address the nit.

A more atomic option here would be to switch to a whitelist of files we actually do want from anaconda, and otherwise essentially rsync --delete /usr/etc/ /etc (or really rm-rf + cp-a). Doesn't block this PR though.

@cgwalters
Copy link
Member Author

rsync --delete /usr/etc/ /etc (or really rm-rf + cp-a

Unfortunately...while I've said that about rsync before in fact it's more complicated than that because...SELinux.

This also gets into coreos/fedora-coreos-config#39

This definitely shouldn't be in the image by default.
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.

5 participants