public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: _libexec/generate-rndc-key.sh is used by freeipa
Date: Thu, 02 Jul 2026 14:45:55 GMT [thread overview]
Message-ID: <178300355525.1.5739637913454242474.rpms-bind-5cc93baa3a41@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bind
Branch : rawhide
Commit : 5cc93baa3a419963f211c74608b36f7ca5430899
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-07-02T12:54:49+02:00
Stats : +15/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bind/c/5cc93baa3a419963f211c74608b36f7ca5430899?branch=rawhide
Log:
_libexec/generate-rndc-key.sh is used by freeipa
Provide compatibility symlink until it is replaced. Freeipa calls the
original place for script used to generate /etc/rndc.key. Preferred
variant should be "systemctl restart named-setup-rndc.service" command.
Until that is used everywhere, provide compatibility fix.
---
diff --git a/bind.spec b/bind.spec
index d7b44b9..d82e505 100644
--- a/bind.spec
+++ b/bind.spec
@@ -721,6 +721,7 @@ install -p -m 644 %{SOURCE51} ${RPM_BUILD_ROOT}%{_tmpfilesdir}/%{name}-chroot.co
%global main_man5 named.conf rndc.conf
%global main_unit named.service named-setup-rndc.service
%global main_lib filter-{a,aaaa}
+%global main_libexec generate-rndc-key.sh
# Alternatives touches symlinks targets
for BIN in %{utils_bin1} %{main_bin1} %{dnssec_utils_bin1}; do
@@ -768,6 +769,9 @@ done
--follower %{_sbindir}/%{1} %{upname}-%{1} %{_sbindir}/%{1}%{program_suffix} \\\
--follower %{_mandir}/man%{2}/%{1}.%{2}%{manext} %{upname}-%{1}.%{2} %{_mandir}/man%{2}/%{1}%{program_suffix}.%{2}%{manext}
+%define altflibexec() \\\
+ --follower %{_libexecdir}/%{1} %{upname}-%{1} %{_libexecdir}/%{name}/%{1}
+
%define altflibman() \\\
--follower %{_libdir}/bind/%{1}.so %{upname}-%{1}.so %{_libdir}/bind/%{1}.so%{program_suffix} \\\
--follower %{_mandir}/man%{2}/%{1}.%{2}%{manext} %{upname}-%{1}.%{2} %{_mandir}/man%{2}/%{1}%{program_suffix}.%{2}%{manext}
@@ -801,6 +805,12 @@ done
rm -f -- "$MANX"; \
fi
+%define altrmlibexec() \
+ BINX="%{_libexecdir}/%{1}"; \
+ if ! [ -L "$BINX" ] && [ -f "$BINX" ] && [ -x "$BINX" ]; then \
+ rm -f -- "$BINX"; \
+ fi
+
%define altrmman() \
MANX="%{_mandir}/man%{2}/%{1}.%{2}%{?manext}"; \
if ! [ -L "$MANX" ] && [ -f "$MANX" ]; then \
@@ -856,6 +866,10 @@ fi
%{altrmlibman $LIB 8}
ALTS+="%{altflibman $LIB 8}"
done
+ for LIBEXEC in %{main_libexec}; do
+ %{altrmlibexec $LIBEXEC}
+ ALTS+="%{altflibexec $LIBEXEC}"
+ done
for UNIT in %{main_unit}; do
%{altrmunit $UNIT}
done
@@ -1021,6 +1035,7 @@ fi;
%endif
%{_libexecdir}/%{name}/generate-rndc-key.sh
%{_libexecdir}/%{name}/setup-named-softhsm.sh
+%ghost %{_libexecdir}/generate-rndc-key.sh
# man pages
%{_mandir}/man1/mdig%{program_suffix}.1*
%{_mandir}/man1/named-checkconf%{program_suffix}.1*
reply other threads:[~2026-07-02 14:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178300355525.1.5739637913454242474.rpms-bind-5cc93baa3a41@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox