change '/usr/bin/bash' to '/bin/bash'
Signed-off-by: bitianyuan <bitianyuan@huawei.com>
This commit is contained in:
parent
c74d5441c1
commit
ddd14c5e08
10
openssh.spec
10
openssh.spec
@ -6,7 +6,7 @@
|
|||||||
%{?no_gtk2:%global gtk2 0}
|
%{?no_gtk2:%global gtk2 0}
|
||||||
|
|
||||||
%global sshd_uid 74
|
%global sshd_uid 74
|
||||||
%global openssh_release 1
|
%global openssh_release 2
|
||||||
|
|
||||||
Name: openssh
|
Name: openssh
|
||||||
Version: 9.6p1
|
Version: 9.6p1
|
||||||
@ -404,7 +404,7 @@ getent passwd sshd >/dev/null || \
|
|||||||
%post server
|
%post server
|
||||||
if [ $1 -gt 1 ]; then
|
if [ $1 -gt 1 ]; then
|
||||||
# In the case of an upgrade (never true on OSTree systems) run the migration
|
# 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
|
%{_libexecdir}/openssh/ssh-host-keys-migration.sh
|
||||||
# Prevent the systemd unit that performs the same service (useful for
|
# Prevent the systemd unit that performs the same service (useful for
|
||||||
# OSTree systems) from running.
|
# OSTree systems) from running.
|
||||||
@ -494,6 +494,12 @@ fi
|
|||||||
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
|
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 09 2024 yanglu <yanglu72@h-partners.com> - 9.6p1-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/bash
|
#!/bin/bash
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
#
|
#
|
||||||
# Example output looks like:
|
# Example output looks like:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user