!23 Fix the creation of user and group
From: @ffrog Reviewed-by: @huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
d5329e34cb
@ -7,7 +7,7 @@
|
|||||||
Name: openstack-ironic-inspector
|
Name: openstack-ironic-inspector
|
||||||
Summary: Hardware introspection service for OpenStack Ironic
|
Summary: Hardware introspection service for OpenStack Ironic
|
||||||
Version: 9.2.4
|
Version: 9.2.4
|
||||||
Release: 3
|
Release: 4
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://launchpad.net/ironic-inspector
|
URL: https://launchpad.net/ironic-inspector
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ PYTHON=%{__python3} stestr run --test-path ironic_inspector.test.unit
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{modulename}/test
|
%{python3_sitelib}/%{modulename}/test
|
||||||
|
|
||||||
%pre
|
%pre common
|
||||||
getent group ironic-inspector >/dev/null || groupadd -r ironic-inspector
|
getent group ironic-inspector >/dev/null || groupadd -r ironic-inspector
|
||||||
getent passwd ironic-inspector >/dev/null || \
|
getent passwd ironic-inspector >/dev/null || \
|
||||||
useradd -r -g ironic-inspector -d %{_sharedstatedir}/ironic-inspector -s /sbin/nologin \
|
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
|
%systemd_postun_with_restart openstack-ironic-inspector-conductor.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 22 2022 zhangy1317 <zhangy1317@chinaunicom.cn> -9.2.4-3
|
||||||
- Fix latest version of python construct
|
- Fix latest version of python construct
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user