Bug 978954

Summary: DOC: man page: no info what NAME means
Product: Red Hat Enterprise Linux 7 Reporter: Petr Sklenar <psklenar>
Component: systemdAssignee: Václav Pavlín <vpavlin>
Status: CLOSED CURRENTRELEASE QA Contact: Branislav Blaškovič <bblaskov>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: bblaskov, jscotka, lnykryn, mattdm, systemd-maint-list, vpavlin
Target Milestone: betaKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-207-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:44:56 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:
Bug Depends On:    
Bug Blocks: 959971    

Description Petr Sklenar 2013-06-27 11:21:27 UTC
Description of problem:
man page: no info what NAME means

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

How reproducible:
always

Steps to Reproduce:
1. systemctl [OPTIONS...] COMMAND [NAME...]
2. there is no explanation what NAME means

Actual results:
no explanation what NAME means

Expected results:
* what NAME means
* not obvious that you need '.service' in the comand
* not obvious that you need '=' in '--unit=NetworkManager.service', a space should work as well

Additional info:

Comment 3 Lukáš Nykrýn 2013-07-23 14:56:01 UTC
I think that this is sufficiently explained later in commands section, for example:

       start NAME...
           Start (activate) one or more units specified on the command line.

From above statement it is obvious that NAME corresponds to unit name.

Comment 4 Matthew Miller 2013-07-23 15:36:22 UTC
I think it would be helpful and not terribly burdensome to add a short explanation of usage to the top of the man page, in the DESCRIPTION section, which is currently very terse.

Comment 6 Branislav Blaškovič 2013-11-20 11:28:52 UTC
# man systemctl

I can see this in Description section (as mentioned in comment #4):

       For Unit Commands the NAME represents full name of unit.

           systemctl start foo.service

       For Unit File Commands the NAME represents full name of the unit file, or absolute path to the unit file.

           systemctl start /path/to/foo.service


Just one thing:
As far as I know: There should not be comma ',' before 'or' in english. :)

Comment 7 Branislav Blaškovič 2013-11-20 11:29:50 UTC
Additional information for comment #6:

It was tested with systemd-207-8.el7.x86_64.

Comment 8 Ludek Smid 2014-06-13 09:44:56 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.