Bug 495522
| Summary: | Start script hardcodes file permissions mask to 077 (600), so the nsslapd-*log-mode configuration attributes don't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Deon Ballard <dlackey> | ||||
| Component: | Command Line Utilities | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.1.3 | CC: | jgalipea, nkinder, rmeggins, telackey | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 17:18:44 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 434914, 519216 | ||||||
| Attachments: |
|
||||||
|
Description
Deon Ballard
2009-04-13 16:41:27 UTC
Created attachment 362142 [details]
patch
To ssh://git.fedorahosted.org/git/389/ds.git
58b0496..60c49dd master -> master
commit 60c49ddc2956222468f36be1e5f5a5358fb92774
Author: Rich Megginson <rmeggins>
Date: Tue Sep 22 15:47:17 2009 -0600
Start script hardcodes file permissions mask to 077 (600), so the nsslapd-*l
https://bugzilla.redhat.com/show_bug.cgi?id=495522
Resolves: bug 495522
Bug Description: Start script hardcodes file permissions mask to 077 (600),
Reviewed by: nkinder (Thanks!)
Fix Description: Use umask 002 for the directory server process
Platforms tested: Fedora 11 x86_64
Flag Day: no
Doc impact: no
verified - RHEL 4
version:
redhat-ds-base-8.2.0-2010052704.el4dsrv
init script
/etc/init.d/dirsrv
# start the directory server in a subshell so that the instance specific
# init config environment will not apply to any other instance
(
umask 002 # reset umask to allow logs and other files modes to be explicitly set
[ -f /etc/sysconfig/dirsrv-$instance ] && . /etc/sysconfig/dirsrv-$instance
$exec -D $instbase/slapd-$instance -i $pidfile -w $startpidfile
)
|