Bug 1247123
Summary: | unable to start service based on init.d after package installation | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Karel Srot <ksrot> | |
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | |
Status: | CLOSED ERRATA | QA Contact: | Jan Ščotka <jscotka> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 7.1 | CC: | bblaskov, jbastian, jscotka, lnykryn, mpetlan, ovasik, systemd-maint-list, systemd-maint | |
Target Milestone: | rc | Keywords: | Regression | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | initscripts-9.49.28-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1362225 (view as bug list) | Environment: | ||
Last Closed: | 2015-11-19 11:24:13 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
Karel Srot
2015-07-27 11:50:07 UTC
This is not working anymore because systemd does not support initscripts directly. Now it has a generator which generates unit-files, but it is only run during startup and daemon-reload. I propose that we should keep the behavior as is and add a workaround to service command and in initscripts functions. They could detect that init.d directory was changed and reload systemd. Only downside is that you will still need to call deamon-reload before systemctl start, but that should not be a problem, because if third-party ships an initscript, it will use the old commands not systemctl. 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://rhn.redhat.com/errata/RHBA-2015-2134.html |