Use fixed UID:GID 112:112 (RHBZ#534109).
This commit is contained in:
parent
53c268e4a2
commit
b6d5045b2f
10
vhostmd.spec
10
vhostmd.spec
@ -8,7 +8,7 @@
|
||||
Summary: Virtualization host metrics daemon
|
||||
Name: vhostmd
|
||||
Version: 0.4
|
||||
Release: 0.7.gite9db007b%{?dist}
|
||||
Release: 0.8.gite9db007b%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
@ -137,9 +137,10 @@ fi
|
||||
|
||||
|
||||
%pre
|
||||
getent group vhostmd >/dev/null || groupadd -r vhostmd
|
||||
# UID:GID 112:112 reserved, see RHBZ#534109.
|
||||
getent group vhostmd >/dev/null || groupadd -g 112 -r vhostmd
|
||||
getent passwd vhostmd >/dev/null || \
|
||||
useradd -r -g vhostmd -d %{_datadir}/vhostmd -s /sbin/nologin \
|
||||
useradd -u 112 -r -g vhostmd -d %{_datadir}/vhostmd -s /sbin/nologin \
|
||||
-c "Virtual Host Metrics Daemon" vhostmd
|
||||
exit 0
|
||||
|
||||
@ -183,6 +184,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 11 2009 Richard W.M. Jones <rjones@redhat.com> - 0.4-0.8.gite9db007b
|
||||
- Use fixed UID:GID 112:112 (RHBZ#534109).
|
||||
|
||||
* Tue Nov 10 2009 Richard W.M. Jones <rjones@redhat.com> - 0.4-0.7.gite9db007b
|
||||
- vm-dump-metrics-devel package should require version and release of
|
||||
base package.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user