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

Disable systemd-resolved #269

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

edsantiago
Copy link
Member

We're pretty certain that it's the cause of the cdn03.quay.io flakes

Signed-off-by: Ed Santiago [email protected]

@edsantiago edsantiago force-pushed the banish_systemd_resolver branch 2 times, most recently from 07e086c to a118067 Compare April 3, 2023 20:16
Copy link
Member

@cevich cevich left a comment

Choose a reason for hiding this comment

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

LGTM overall, just one small change is needed. Thanks for opening this, I was about to do it myself then noticed your PR 😁

if grep -q -E 'hosts:.*resolve' $nsswitch; then
echo "Disabling systemd-resolved"
$SUDO sed -i -e 's/^\(hosts: *\).*/\1files dns myhostname/' $nsswitch
$SUDO systemctl stop systemd-resolved
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$SUDO systemctl stop systemd-resolved
$SUDO systemctl disable --now systemd-resolved

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you! Fixed and repushed.

@edsantiago edsantiago force-pushed the banish_systemd_resolver branch from a118067 to da624a0 Compare April 5, 2023 14:45
@cevich
Copy link
Member

cevich commented Apr 5, 2023

Need a new IMG_SFX file (one per push) also.

We're pretty certain that it's the cause of the cdn03.quay.io flakes

Signed-off-by: Ed Santiago <[email protected]>
@edsantiago edsantiago force-pushed the banish_systemd_resolver branch from da624a0 to fe14a06 Compare April 5, 2023 15:23
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian b20230405t152256z-f37f36d12
base fedora b20230405t152256z-f37f36d12
base fedora-aws b20230405t152256z-f37f36d12
base fedora-aws-arm64 b20230405t152256z-f37f36d12
base image-builder b20230405t152256z-f37f36d12
base prior-fedora b20230405t152256z-f37f36d12
cache build-push c20230405t152256z-f37f36d12
cache debian c20230405t152256z-f37f36d12
cache fedora c20230405t152256z-f37f36d12
cache fedora-aws c20230405t152256z-f37f36d12
cache fedora-netavark c20230405t152256z-f37f36d12
cache fedora-netavark-aws-arm64 c20230405t152256z-f37f36d12
cache fedora-podman-aws-arm64 c20230405t152256z-f37f36d12
cache fedora-podman-py c20230405t152256z-f37f36d12
cache prior-fedora c20230405t152256z-f37f36d12
cache win-server-wsl c20230405t152256z-f37f36d12

@containers containers deleted a comment from github-actions bot Apr 5, 2023
@cevich
Copy link
Member

cevich commented Apr 5, 2023

Reviewed logs for fedora images and found Disabling systemd-resolved. I don't see this string for debian, but I'm assuming systemd-resolved isn't used there.

@cevich cevich merged commit 3c32b95 into containers:main Apr 5, 2023
@cevich
Copy link
Member

cevich commented Apr 5, 2023

@edsantiago I tagged this version, so it will automatically roll-out to repos. with Renovate enabled. Renovate support in Podman is a WIP but I expect merge this week or next. Otherwise if you don't want to wait, you're welcome to open image-update PRs manually. Thanks again for taking care of this.

@edsantiago edsantiago deleted the banish_systemd_resolver branch April 5, 2023 18:07
@edsantiago
Copy link
Member Author

Thanks @cevich. Sounds like a good test of Renovatebot.

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.

2 participants