Bug 436397
Summary: | LDAPI: move default LDAPI UNIX socket from /var/run/dirsrv/slapd-ID.socket to /var/run/slapd-ID.socket | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Noriko Hosoi <nhosoi> | ||||||
Component: | Directory Server | Assignee: | Noriko Hosoi <nhosoi> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 1.1.0 | CC: | benl, jgalipea | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 8.1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-04-29 23:02:45 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: | 249650, 493682 | ||||||||
Attachments: |
|
Description
Noriko Hosoi
2008-03-06 22:15:37 UTC
Created attachment 297983 [details]
cvs diff DSCreate.pm.in
Description: create an LDAPI UNIX socket at the parent dir of run_dir
(/var/run/dirsrv, by default).
Test result.
Installed by root and the server's owner is nobody.
# ls -l /var/run/slapd-*socket
srw-rw-rw- 1 root root 0 Mar 13 10:28 /var/run/slapd-laputa1.socket
[..] - Red Hat-Directory/8.0.0 B2008.073.1814 starting up
[..] - slapd started. Listening on All Interfaces port 10391 for LDAP requests
[..] - Listening on /var/run/slapd-laputa1.socket for LDAPI requests
Ok. Is root:root 0666 the correct ownership and mode? Is that what openldap uses? I've installed OpenLDAP 2.3.30 on RHEL4. By default, the prefix is /usr/local. And the LDAPI UNIX socket is created at /usr/local/var/run with the mode 0777 owned by root (I started the server as root. For comparison, I tried to start the server as myself, which failed.) [root@laputa openldap-2.3.30]# ls -l /usr/local/var/run total 20 srwxrwxrwx 1 root root 0 Mar 13 13:29 ldapi -rw-r--r-- 1 root root 39 Mar 13 13:29 slapd.args -rw-r--r-- 1 root root 6 Mar 13 13:29 slapd.pid Created attachment 297992 [details]
cvs commit message
Reviewed by Rich (Thanks!)
Checked in into CVS HEAD.
fix verified: RHEL5 - /var/run/slapd-<instance>.socket HP-UX - /var/opt/dirsrv/slapd-<instance>/slapd-<instance>.socket Both in parent directory to the run_dir. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0455.html |