Bug 1147737

Summary: [Doc]virsh manual miss manual of lxc-enter-namespace --noseclabel option
Product: [Community] Virtualization Tools Reporter: Luyao Huang <lhuang>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, dyuan, eblake, mzhan, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-14 17:30:06 UTC 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:

Description Luyao Huang 2014-09-30 01:34:32 UTC
description of problem:
lxc-enter-namespace manual miss option --noseclabel

Version-Release number of selected component (if applicable):
libvirt-1.2.8-4.el7.x86_64


How reproducible:
100%

Steps to Reproduce:

1.# virsh lxc-enter-namespace --help
  NAME
    lxc-enter-namespace - LXC Guest Enter Namespace

  SYNOPSIS
    lxc-enter-namespace <domain> [--noseclabel] {[--cmd] <string>}...

  DESCRIPTION
    Run an arbitrary lxc guest enter namespace; use at your own risk

  OPTIONS
    [--domain] <string>  domain name, id or uuid
    --noseclabel     Do not change process security label
    [--cmd] <string>  namespace

2.#man virsh
       lxc-enter-namespace domain -- /path/to/binary [arg1, [arg2, ...]]
           Enter the namespace of domain and execute the command
           "/path/to/binary" passing the requested args. The binary path is
           relative to the container root filesystem, not the host root
           filesystem. The binary will inherit the environment variables /
           console visible to virsh. This command only works when connected to
           the LXC hypervisor driver.  This command succeeds only if
           "/path/to/binary" has 0 exit status.



Actual results:
virsh manual miss manual of lxc-enter-namespace --noseclabel option

Expected results:
virsh manual have a manual about --noseclabel

Additional info:

Comment 1 Eric Blake 2015-07-28 15:52:40 UTC
Should be an easy doc fix, but moving bug upstream since RHEL is less concerned with lxc.

Comment 2 Cole Robinson 2016-04-11 21:03:23 UTC
I sent a patch upstream:

http://www.redhat.com/archives/libvir-list/2016-April/msg00536.html

Comment 3 Cole Robinson 2016-04-14 17:30:06 UTC
commit 0f8be2531c44f04854af0b0569d3f2c373b1bba6
Author: Cole Robinson <crobinso>
Date:   Mon Apr 11 17:02:25 2016 -0400

    man: virsh: Document lxc-enter-namespace --noseclabel
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1147737