Bug 1275763
Summary: | [RFE] add setup-ds.pl option to disable instance specific scripts | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> |
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | amsharma, nkinder, rmeggins |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.5.2-1.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 20:36:53 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: |
Description
Noriko Hosoi
2015-10-27 16:37:08 UTC
Per email discussion, changing this to RFE. https://fedorahosted.org/389/changeset/20ebe8dd9cb9f17d0f09a9f0e5f65fc9a83d0b13/ Fix Description: Instead of defining a configure option, we provide a new option in setup-ds.pl, slapd.InstScriptsEnabled?, which defaults to false. All new installs of 389 will NOT install with a inst_dir nor the scripts that are in that directory. Additionally, this change fixes setup-ds.pl to correctly use the sbindir scripts to start/stop the server instance during installation. Finally, we add support for setup-ds.pl so that in --update if the inst_dir exists, scripts will be updated, but if it does not exist, no action is taken. In time, we will alter --update to *remove* the scripts within inst_dir during the update (We have no way of knowing if a customer has put custom scripts in inst_dir) Example: /opt/dirsrv/sbin/setup-ds.pl slapd.InstScriptsEnabled?=false Doc bug: https://bugzilla.redhat.com/show_bug.cgi?id=1324907 And by default old behaviour will be kept, i.e. scripts will be installed. A minor bug - https://bugzilla.redhat.com/show_bug.cgi?id=1348903 Rest worked as expected. 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/RHSA-2016-2594.html |