Skip to content

Conversation

@rvykydal
Copy link
Contributor

@rvykydal rvykydal commented Apr 15, 2025

Port of upstream #6258
Resolves: RHEL-83931

Start dnsconfd already before kickstart fetching.

We used to start dnsconfd only after the kickstart was fetched if
kickstart usage was detected so that the potential certificates from
kikcstart are applied. But this mechanism ruled out use case when
dnsconfd (name resolution) is needed for the kickstart fetching. So
start the dnsconfd early and if certificates were fetched restart it (it
is done by restarting unbound service as recommended by dnsconfd).

Resolves: RHEL-83931
We need this guard because kickstart may be fetched over multiple
network devices and it is parsed after each fetching. Parsing itself
should be idempotent (multiple parsing harmless) as it only dumps files
with configuration / options for further actions.

Resolves: RHEL-83931
@rvykydal
Copy link
Contributor Author

/kickstart-test --testtype dns

@rvykydal
Copy link
Contributor Author

/kickstart-test --testtype smoke

@rvykydal
Copy link
Contributor Author

/build-image

@github-actions
Copy link

Images built based on commit 49b058b:

  • boot.iso: success

Download the images from the bottom of the job status page.

@rvykydal rvykydal marked this pull request as ready for review April 15, 2025 10:35
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @rvykydal - I've reviewed your changes - here's some feedback:

Overall Comments:

  • It looks like the start_dnsconfd function now takes a stage and a reason, but some call sites only pass a reason - can you ensure all call sites are updated to pass both arguments?
  • Consider adding a comment to explain why PYTHONHASHSEED is being set.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@rvykydal rvykydal added the ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). label Apr 24, 2025
@M4rtinK M4rtinK merged commit a49f3dc into rhinstaller:rhel-10 Apr 25, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). rhel-10

Development

Successfully merging this pull request may close these issues.

3 participants