Bug 1715835 - [Docs] Section 1.3.2.1 adds "root" to libvirt group instead of developer user name
Summary: [Docs] Section 1.3.2.1 adds "root" to libvirt group instead of developer user...
Keywords:
Status: NEW
Alias: None
Product: Container Development Kit (CDK)
Classification: Red Hat
Component: documentation
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.3
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1715822
TreeView+ depends on / blocked
 
Reported: 2019-05-31 12:11 UTC by Thom Carlin
Modified: 2024-05-01 13:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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