!53 [回合代码]初始化去除密码

From: @hengliue 
Reviewed-by: @zhang_xubo 
Signed-off-by: @zhang_xubo
This commit is contained in:
openeuler-ci-bot 2024-06-25 03:46:48 +00:00 committed by Gitee
commit 3807da152c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,7 +11,7 @@
Name: opengauss
Version: 5.0.1
Release: 14
Release: 15
Summary: openGauss is an open source relational database management system
License: MulanPSL-2.0 and MIT and BSD and zlib and TCL and Apache-2.0 and BSL-1.0
URL: https://gitee.com/opengauss/openGauss-server
@ -40,7 +40,7 @@ BuildRequires: cmake gcc gcc-c++ openssl-devel python
BuildRequires: cjson lz4-devel zstd-devel boost-devel cjson-devel
BuildRequires: libcgroup-devel libcurl-devel unixODBC-devel jemalloc-devel krb5-devel
BuildRequires: java-1.8.0-openjdk-devel libedit-devel libaio-devel
BuildRequires: bison flex DCF
BuildRequires: bison flex, DCF >= 5
BuildRequires: numactl-devel
%ifarch sw_64
BuildRequires: libatomic
@ -53,7 +53,7 @@ BuildRequires: libatomic
Requires: lz4-devel zstd-devel boost-devel cjson-devel
Requires: libcgroup-devel libcurl-devel unixODBC-devel jemalloc-devel
Requires: java-1.8.0-openjdk-devel libedit-devel libaio-devel
Requires: DCF lsof
Requires: DCF >= 5, lsof
Requires: numactl-devel
%description
@ -278,7 +278,7 @@ start_opengauss(){
return 0
fi
result=$(su - opengauss -c "source ~/.bash_profile; gs_initdb -D /var/lib/opengauss/data -U opengauss -w "openGauss@123" --nodename=single_node")
result=$(su - opengauss -c "source ~/.bash_profile; gs_initdb -D /var/lib/opengauss/data -U opengauss --nodename=single_node")
if [ $? -ne 0 ]; then
echo "Init openGauss database failed."
exit $result
@ -434,6 +434,9 @@ fi
%changelog
* Thu Jun 20 2024 liuheng <liuheng76@huawei.com> - 5.0.1-15
- Fix bugs: Initialize Remove Password
* Wed Jun 12 2024 liuheng <liuheng76@huawei.com> - 5.0.1-14
- Fix bugs: #IA4KLQ #IA4PTU