Red Hat Bugzilla – Bug 749154
Ovirt User and Group ID reservation request
Last modified: 2016-04-26 22:21:27 EDT
Description of problem:
As a part of ovirt-engine development, we need a specific user and group
in Fedora in order to setup the ovirt-engine agent properly.
1. user / group name: ovirt / ovirt
2. home directory: /home/ovirt
I see ovirt group and user already registered in setup uidgid file... Is there some kind of modification required?
Note: "/" or something under "/var/" dir is better option for home directory of system accounts. They should not be in "/home/"
See setup changelog:
* Tue Sep 08 2009 Ondrej Vasik <email@example.com> 2.8.9-1
- reserve uidgid pair 108:108 for ovirt from libvirt (#513261)
Please note that the safest way is something like:
getent group ovirt > /dev/null || /usr/sbin/groupadd -g 108 -r ovirt
getent passwd ovirt > /dev/null || /usr/sbin/useradd -r -u 108 -g ovirt \
-c "ovirt user" -d / -s /sbin/nologin ovirt
> in order to setup the ovirt-engine agent properly
By "ovirt-engine agent" you mean VDSM (rhev management agent on host) or something else?
There's already "vdsm" user reserved.
Closing worksforme as this pair was already reserved...