| Summary: | Deprecated chkconfig command in service configuration instructions | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Katerina Odabasi <kanovotn> |
| Component: | Documentation | Assignee: | Lucas Costi <lcosti> |
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Slavicek <pslavice> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.7 | CC: | eap-docs, sjay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-08 00:11:09 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: | |
|
Description
Katerina Odabasi
2016-04-20 10:39:19 UTC
Hi Katerina, running the systemctl commands result in the following output (tested on RHEL 7.0 with EAP 6.4 installed from RPMs): $ sudo systemctl enable jbossas.service jbossas.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig jbossas on The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). As above, it fails-over to using "chkconfig jbossas on" to enable the service. I believe that it is a better user experience to directly use the deprecated command rather than get the above warning which is confusing as to whether the service has been enabled or not. If the service files are updated to natively work with systemctl on RHEL7, I think it would be better to update the documentation then. Please let me know if you have any problems with this. I'm going to close this, as 6.4 is currently in maintenance-only, and the current instructions do work. It has been updated with new service scripts in EAP 7.0 (docs here: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/installation_guide/#configuring_jboss_eap_as_a_service_in_red_hat_enterprise_linux_rpm_installation). |