public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alexander Bokovoy <abokovoy@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/freeipa] rawhide: Fix more potential scriptlet failures
Date: Thu, 01 Oct 2026 17:26:34 GMT	[thread overview]
Message-ID: <179087559450.1.2703007668063424252.rpms-freeipa-aae5c6f55e2f@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-01 17:26 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=179087559450.1.2703007668063424252.rpms-freeipa-aae5c6f55e2f@fedoraproject.org \
    --to=abokovoy@redhat.com \
    --cc=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