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

images: Add hack for systemd-resolved startup race in rawhide #7302

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/fedora-rawhide
9 changes: 9 additions & 0 deletions images/scripts/fedora.setup
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@ fi
# man-db cache update is a CPU/memory hog
rpm -e --verbose man-db

# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=2333743
if [ "${IMAGE#fedora-rawhide}" != "$IMAGE" ]; then
mkdir -p /etc/systemd/system/systemd-resolved.service.d
printf '[Service]\nRestartSec=1s\n' > /etc/systemd/system/systemd-resolved.service.d/restart-wait.conf
systemctl daemon-reload
systemctl reset-failed systemd-resolved
systemctl start systemd-resolved
fi

# fedora-eln image is just used for building/fetching the anaconda-webui RPM dependencies
# no need to install all dependencies there
ALL_DEPS="$COCKPIT_DEPS"
Expand Down
Loading