public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freeipa] rawhide: Fix more potential scriptlet failures
@ 2026-10-01 17:26 Alexander Bokovoy
  0 siblings, 0 replies; only message in thread
From: Alexander Bokovoy @ 2026-10-01 17:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/freeipa
            Branch : rawhide
            Commit : aae5c6f55e2f55e09a96131e3a25d612e585d2ac
            Author : Alexander Bokovoy <abokovoy@redhat.com>
            Date   : 2026-10-01T20:25:29+03:00
            Stats  : +8/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/freeipa/c/aae5c6f55e2f55e09a96131e3a25d612e585d2ac?branch=rawhide

            Log:
            Fix more potential scriptlet failures

This is the same as 9b5b1650a6e709dd18aca100dbfbb4f8635e0621 but in a
different scriptlet

Resolves: rhbz#2439482

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>

---
diff --git a/freeipa.spec b/freeipa.spec
index 16e4184..b3c5a42 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -211,7 +211,7 @@
 
 Name:           %{package_name}
 Version:        %{IPA_VERSION}
-Release:        3%{?rc_version:.%rc_version}%{?dist}
+Release:        3.1%{?rc_version:.%rc_version}%{?dist}
 Summary:        The Identity, Policy and Audit system
 
 License:        GPL-3.0-or-later
@@ -1474,9 +1474,9 @@ if [ -f '/etc/ssh/sshd_config' -a $restore -ge 2 ]; then
             GLOBALKNOWNHOSTFILE="GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts/"
             grep -qF '$GLOBALKNOWNHOSTFILE' $SSH_CLIENT_SYSTEM_CONF
             if [ $? -ne 0 ]; then
-                sed -E --in-place=.orig '/(# IPA-related configuration changes to ssh_config)/a # added by ipa-client update\n'"$GLOBALKNOWNHOSTFILE"'' $SSH_CLIENT_SYSTEM_CONF
+                sed -E --in-place=.orig '/(# IPA-related configuration changes to ssh_config)/a # added by ipa-client update\n'"$GLOBALKNOWNHOSTFILE"'' $SSH_CLIENT_SYSTEM_CONF || :
             fi
-            sed -E --in-place=.orig 's/(KnownHostsCommand \/usr\/bin\/sss_ssh_knownhosts \%H)/ProxyCommand \/usr\/bin\/sss_ssh_knownhostsproxy -p \%p \%h/' $SSH_CLIENT_SYSTEM_CONF
+            sed -E --in-place=.orig 's/(KnownHostsCommand \/usr\/bin\/sss_ssh_knownhosts \%H)/ProxyCommand \/usr\/bin\/sss_ssh_knownhostsproxy -p \%p \%h/' $SSH_CLIENT_SYSTEM_CONF || :
         fi
     fi
 fi
@@ -1495,8 +1495,8 @@ if [ -f '/etc/ssh/sshd_config' -a $restore -ge 2 ]; then
             if grep -E -q 'Include' $SSH_CLIENT_SYSTEM_CONF  2>/dev/null ; then
                 SSH_CLIENT_SYSTEM_CONF="/etc/ssh/ssh_config.d/04-ipa.conf"
             fi
-            sed -E --in-place=.orig 's/^(GlobalKnownHostsFile \/var\/lib\/sss\/pubconf\/known_hosts)$/# disabled by ipa-client update\n# \1/' $SSH_CLIENT_SYSTEM_CONF
-            sed -E --in-place=.orig 's/(ProxyCommand \/usr\/bin\/sss_ssh_knownhostsproxy -p \%p \%h)/# replaced by ipa-client update\n    KnownHostsCommand \/usr\/bin\/sss_ssh_knownhosts \%H/' $SSH_CLIENT_SYSTEM_CONF
+            sed -E --in-place=.orig 's/^(GlobalKnownHostsFile \/var\/lib\/sss\/pubconf\/known_hosts)$/# disabled by ipa-client update\n# \1/' $SSH_CLIENT_SYSTEM_CONF || :
+            sed -E --in-place=.orig 's/(ProxyCommand \/usr\/bin\/sss_ssh_knownhostsproxy -p \%p \%h)/# replaced by ipa-client update\n    KnownHostsCommand \/usr\/bin\/sss_ssh_knownhosts \%H/' $SSH_CLIENT_SYSTEM_CONF || :
         fi
     fi
 fi
@@ -1977,6 +1977,9 @@ fi
 %endif
 
 %changelog
+* Thu Oct 01 2026 Alexander Bokovoy <abokovoy@redhat.com> - 4.13.4-3.1
+- Resolves: rhbz#2439482
+
 * Thu Oct 01 2026 Alexander Bokovoy <abokovoy@redhat.com> - 4.13.4-3
 - Fixes: CVE-2026-14612 - potential buffer overflow in ipa-otpd
 - Fix potential buffer overvlow in ipa-join

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-01 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 17:26 [rpms/freeipa] rawhide: Fix more potential scriptlet failures Alexander Bokovoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox