]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: Fixup uid/gid setting
authorBoris Ranto <branto@redhat.com>
Wed, 17 Jun 2015 15:55:59 +0000 (17:55 +0200)
committerSage Weil <sage@redhat.com>
Thu, 27 Aug 2015 00:34:15 +0000 (20:34 -0400)
commit2d4f3a9199bf074706ee01f1069d1036dbd3f206
tree64d26442e5219e4fc796792757f8c817fcba3a59
parent596c9b68c83af70f2be6afede0df459846a78b7e
ceph.spec.in: Fixup uid/gid setting

We need to set the variables in the %pre phase, otherwise they are not properly
evaluated. Also use /sbin/nolongin instead of /bin/false and set the default
uid/gid pair for fedora and rhel (these were already allocated). We can also
use them for older fedora releases as they are guaranteed to be free.

Signed-off-by: Boris Ranto <branto@redhat.com>
ceph.spec.in