Fix the creation of user and group
This commit is contained in:
parent
0c2a0d796a
commit
ef98f11686
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user