!7 【Mainline】Solve startup failure

From: @yixiangzhike
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2020-09-11 17:50:35 +08:00 committed by Gitee
commit 7a9fc85006
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,5 @@
[Service]
Environment=PARAMETER=-w 1024 -v 1 --Foreground
ExecStart=/usr/sbin/haveged ${PARAMETER}
ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground
Type=simple
SuccessExitStatus=137 143
Restart=always

View File

@ -3,7 +3,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged
Version: 1.9.13
Release: 2
Release: 3
License: GPLv3+
URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -101,6 +101,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/libhavege.3*
%changelog
* Fri Sep 11 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.9.13-3
- solve startup failure
* Thu Aug 13 2020 Anakin Zhang <benjamin93@163.com> - 1.9.13-2
- remove libhavege.so.1*