Bug 213846

Summary: runcon and double-dash arg separator
Product: Red Hat Enterprise Linux 5 Reporter: Bryn M. Reeves <bmr>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: meyering
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-19 19:24:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Document use of '--' with runcon
none
Correct documentation of command args and '--' none

Description Bryn M. Reeves 2006-11-03 12:25:26 UTC
Like other tools, runcon needs a '--' separator between the runcon arguments and
the arguments of the command to be run. This causes confusion for some users.

Documenting the use of '--' in the man page as sudo does would help, without
needing to change the way runcon parses its command line arguments.

Comment 1 Bryn M. Reeves 2006-11-03 12:25:28 UTC
Created attachment 140240 [details]
Document use of '--' with runcon

Comment 2 Bryn M. Reeves 2006-11-03 12:37:15 UTC
The man page is also broken in that it states "Any additional arguments after
COMMAND are interpreted as arguments to the command.", which does not reflect
current behavior.


Comment 3 Bryn M. Reeves 2006-11-03 12:39:10 UTC
Created attachment 140241 [details]
Correct documentation of command args and '--'

Comment 4 Tim Waugh 2006-11-10 17:35:25 UTC
Fixed in coreutils-5.97-14.fc7.  '\f8' corrected to '\fB'.

Comment 5 Bryn M. Reeves 2006-11-10 17:42:06 UTC
latest coreutils release I can see in RHEL5 is coreutils-5.97-11.

Comment 6 RHEL Program Management 2006-11-10 18:01:28 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 7 James Laska 2006-12-13 21:47:34 UTC
Marking as VERIFIED based on comment#4

Comment 8 Jay Turner 2006-12-19 15:47:09 UTC
Need to look at this one in more detail, as the latest RHEL5 tree includes
coreutils-5.97-12.1.el5.

Comment 9 Jay Turner 2006-12-19 19:24:22 UTC
Fix confirmed with coreutils-5.97-12.1.el5 which is included in the latest RHEL5
trees.