From beb063515efae5183c888cdf138b2c29e1d265cd Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: May 24 2012 14:30:00 +0000 Subject: use reserved user id for keystone reserved in setup RPM rhbz#752842 --- diff --git a/openstack-keystone.spec b/openstack-keystone.spec index ccf3500..c148006 100644 --- a/openstack-keystone.spec +++ b/openstack-keystone.spec @@ -147,9 +147,10 @@ popd rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo %pre -getent group keystone >/dev/null || groupadd -r keystone +# 163:163 for keystone (openstack-keystone) - rhbz#752842 +getent group keystone >/dev/null || groupadd -r --gid 163 keystone getent passwd keystone >/dev/null || \ -useradd -r -g keystone -d %{_sharedstatedir}/keystone -s /sbin/nologin \ +useradd --uid 163 -r -g keystone -d %{_sharedstatedir}/keystone -s /sbin/nologin \ -c "OpenStack Keystone Daemons" keystone exit 0 @@ -207,6 +208,7 @@ fi %changelog * Thu May 24 2012 Alan Pevec 2012.1-3 - python-keystone-auth-token subpackage (rhbz#824034) +- use reserved user id for keystone (rhbz#752842) * Mon May 21 2012 Alan Pevec 2012.1-2 - Sync up with Essex stable branch