From d69aa27160b4b8dbd5cf659fc1995f23ec16328b Mon Sep 17 00:00:00 2001 From: bitianyuan Date: Fri, 20 Dec 2024 01:54:00 +0000 Subject: [PATCH] change '/usr/bin/bash' to '/bin/bash' Signed-off-by: bitianyuan (cherry picked from commit ddd14c5e08b575f05aa79adc992f94b9fcc2d1b0) --- openssh.spec | 10 ++++++++-- ssh-host-keys-migration.sh | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/openssh.spec b/openssh.spec index cc53a64..fd0ae83 100644 --- a/openssh.spec +++ b/openssh.spec @@ -6,7 +6,7 @@ %{?no_gtk2:%global gtk2 0} %global sshd_uid 74 -%global openssh_release 1 +%global openssh_release 2 Name: openssh Version: 9.6p1 @@ -404,7 +404,7 @@ getent passwd sshd >/dev/null || \ %post server if [ $1 -gt 1 ]; then # In the case of an upgrade (never true on OSTree systems) run the migration - # script for Fedora 38 to remove group ownership for host keys. + # script to remove group ownership for host keys. %{_libexecdir}/openssh/ssh-host-keys-migration.sh # Prevent the systemd unit that performs the same service (useful for # OSTree systems) from running. @@ -494,6 +494,12 @@ fi %attr(0644,root,root) %{_mandir}/man8/sftp-server.8* %changelog +* Fri Dec 20 2024 bitianyuan - 9.6p1-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:change '/usr/bin/bash' to '/bin/bash' + * Mon Dec 09 2024 yanglu - 9.6p1-1 - Type:requirement - CVE:NA diff --git a/ssh-host-keys-migration.sh b/ssh-host-keys-migration.sh index d376eda..275210e 100644 --- a/ssh-host-keys-migration.sh +++ b/ssh-host-keys-migration.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash set -eu -o pipefail # # Example output looks like: -- Gitee