change '/usr/bin/bash' to '/bin/bash'

Signed-off-by: bitianyuan <bitianyuan@huawei.com>
This commit is contained in:
bitianyuan 2024-12-20 01:54:00 +00:00
parent c74d5441c1
commit ddd14c5e08
2 changed files with 9 additions and 3 deletions

View File

@ -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 <bitianyuan@huawei.com> - 9.6p1-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:change '/usr/bin/bash' to '/bin/bash'
* Mon Dec 09 2024 yanglu <yanglu72@h-partners.com> - 9.6p1-1
- Type:requirement
- CVE:NA

View File

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
set -eu -o pipefail
#
# Example output looks like: