Bug 1715835

Summary: [Docs] Section 1.3.2.1 adds "root" to libvirt group instead of developer user name
Product: Container Development Kit (CDK) Reporter: Thom Carlin <tcarlin>
Component: documentationAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jgreguske, lmohanty
Target Milestone: ---   
Target Release: 2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1715822    

Description Thom Carlin 2019-05-31 12:11:28 UTC
Description of problem:

https://access.redhat.com/documentation/en-us/red_hat_container_development_kit/3.8/html-single/getting_started_guide/index#for-linux

1.3.2.1. Setting Up the KVM Driver

instructions should be reviewed for accuracy

Version-Release number of selected component (if applicable):

current

How reproducible:


Steps to Reproduce:
1. Follow  1.3.2.1. Setting Up the KVM Driver
2.
3.

Actual results:

Target user does not have new group (libvirt)

Expected results:

Target user with new group permissions

Additional info:

The specific issue I identified was:

3. As root, add yourself to the libvirt group:

# usermod -a -G libvirt $(whoami)

4. Update your current session to apply the group change:

$ newgrp libvirt

This doesn't work since whoami would return "root".  Thus, the usermod command would add "root" user to the "libvirt" group where the target user should instead be added

I am unsure if the whole section is accurate so I suggest reviewing with the developers

Comment 1 Robert Krátký 2019-05-31 13:33:57 UTC
Yana, please, create an issue in JIRA and action when possible.

Comment 2 Yana Hontyk 2019-10-22 07:41:52 UTC
The instructions have been reviewed, tested and updated. See: https://access.redhat.com/documentation/en-us/red_hat_container_development_kit/3.8/html-single/getting_started_guide/index#for-linux