Bug 1115618

Summary: Update manpage to document service to enable
Product: Red Hat Enterprise Linux 7 Reporter: Andy Grover <agrover>
Component: targetcliAssignee: Andy Grover <agrover>
Status: CLOSED ERRATA QA Contact: Martin Hoyer <mhoyer>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: jchaloup
Target Milestone: rc   
Target Release: ---   
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: 2017-08-01 20:54:35 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 Andy Grover 2014-07-02 18:44:23 UTC
The service to that must be enabled to restore the target configuration on restart is called target.service. It doesn't actually live in the targetcli pkg, it lives in the python-rtslib pkg. There's no good way for an admin to find this out, but they will in all likelihood want to enable it.

We should mention this in the "quickstart" section of the targetcli manpage, so users do not experience extreme frustration.

Comment 4 Martin Hoyer 2017-05-29 14:10:32 UTC
Tested with targetcli-2.1.fb46-1.el7. No regression found.
Manpage states that:

"Although  by default targetcli saves the running configuration upon exit, a distribution-specific service must be enabled to restore the saved configuration on reboot. See distribution documentation for specifics, but for example:

$ sudo systemctl enable target.service"

Comment 5 errata-xmlrpc 2017-08-01 20:54:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2031