-
Notifications
You must be signed in to change notification settings - Fork 36
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
Check DNS in postinst scripts in package and image mode #1352
Comments
When I last looked at this what I suspect is going on is that Anaconda is setting up |
Filed https://issues.redhat.com/browse/RHEL-73499 to track this |
I'm afraid this will not be the only case with such a bug. Before the image mode we more or less knew how the system will look like after the installation because it was a fresh installation. However, with bootc it is no longer true because of any customization done by the user. Thanks for filing the issue. |
Can you elaborate a bit more? In theory admins can make (nearly) equally arbitrary changes in the set of RPMs input. Although now it is definitely possible to do things like not having |
Yes, they can do that now with:
I guess, the change is that bootc is much more suited for these changes than the other methods? So, it's not something new, it's more like blind spot on our side because these changes were not that easy to achieve before IMHO. |
Yes, actually on this topic - certainly someone could put |
Seems it can be the cause of the problem: https://issues.redhat.com/browse/RHEL-73499?focusedId=26380845&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-26380845 |
When provisioning current c10s in image mode in Beaker, the postinst script is unable to resolve DNS names.
This works fine for FC41, or for c10s package mode.
Please consider adding tests that check for DNS resolution in postinst.
Reproducer: beaker.zip
The text was updated successfully, but these errors were encountered: