Bug 749154 - Ovirt User and Group ID reservation request
Summary: Ovirt User and Group ID reservation request
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 749192
TreeView+ depends on / blocked
 
Reported: 2011-10-26 10:33 UTC by Ronen Angluster
Modified: 2016-04-27 02:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 749192 (view as bug list)
Environment:
Last Closed: 2011-11-11 12:13:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ronen Angluster 2011-10-26 10:33:15 UTC
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.

Expected results:
1. user / group name: ovirt / ovirt
2. home directory: /home/ovirt

Comment 1 Ondrej Vasik 2011-10-27 08:47:36 UTC
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 <ovasik> 2.8.9-1
- reserve uidgid pair 108:108 for ovirt from libvirt (#513261)
...

Comment 2 Ondrej Vasik 2011-10-27 09:00:29 UTC
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

Comment 3 Alan Pevec 2011-10-29 16:01:35 UTC
> 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.

Comment 4 Ondrej Vasik 2011-11-11 12:13:53 UTC
Closing worksforme as this pair was already reserved...


Note You need to log in before you can comment on or make changes to this bug.