!23 Fix the creation of user and group

From: @ffrog 
Reviewed-by: @huangtianhua 
Signed-off-by: @huangtianhua
This commit is contained in:
openeuler-ci-bot 2022-04-02 09:19:58 +00:00 committed by Gitee
commit d5329e34cb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: openstack-ironic-inspector
Summary: Hardware introspection service for OpenStack Ironic
Version: 9.2.4
Release: 3
Release: 4
License: ASL 2.0
URL: https://launchpad.net/ironic-inspector
@ -291,7 +291,7 @@ PYTHON=%{__python3} stestr run --test-path ironic_inspector.test.unit
%license LICENSE
%{python3_sitelib}/%{modulename}/test
%pre
%pre common
getent group ironic-inspector >/dev/null || groupadd -r ironic-inspector
getent passwd ironic-inspector >/dev/null || \
useradd -r -g ironic-inspector -d %{_sharedstatedir}/ironic-inspector -s /sbin/nologin \
@ -326,6 +326,9 @@ exit 0
%systemd_postun_with_restart openstack-ironic-inspector-conductor.service
%changelog
* Fri Apr 01 2022 lijiawei <ljw1101.vip@gmail.com> -9.2.4-4
- Fix the creation of user and group
* Tue Mar 22 2022 zhangy1317 <zhangy1317@chinaunicom.cn> -9.2.4-3
- Fix latest version of python construct