Bug 538525
Summary: | Ability to create instance as non-root user | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Endi Sukma Dewata <edewata> | ||||
Component: | Install/Uninstall | Assignee: | Nathan Kinder <nkinder> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 1.3.0 | CC: | amsharma, nhosoi, nkinder, rmeggins | ||||
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 16:52:57 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: | 543590 | ||||||
Attachments: |
|
Description
Endi Sukma Dewata
2009-11-18 18:36:41 UTC
This bug will also cause a problem when you create 2 different instances using the same instance name eventhough they are located in separate directories. The configuration file (/etc/sysconfig/dirsrv-xxx) of the first instance will be overwritten by the second one. Created attachment 398875 [details]
0001-Bug-538525-Ability-to-create-instance-as-non-root-us.patch
Proposed patch.
To ssh://git.fedorahosted.org/git/389/ds.git 2db1f5a..7701c56 master -> master commit 7701c5626647ddfa44e4f4b11a11d3c384beffa7 Author: Endi S. Dewata <edewata> Date: Tue Mar 9 10:56:34 2010 -0600 Please add the verification steps, thanks. (In reply to comment #4) > Please add the verification steps, thanks. Yes. Run setup-ds.pl -u -s -f file.inf where file.inf is similar to the one in comment #0, while logged in as a non-root user. It should create the server, and you should have an instance config file in ~/.dirsrv/dirsrv-instname [amsharma@testvm data]$ setup-ds.pl --file=samba4.inf --silent restorecon: unable to read directory /var/lock/dirsrv/slapd-testvm restorecon: unable to read directory /var/log/dirsrv/slapd-testvm restorecon: unable to read directory /var/log/dirsrv/admin-serv restorecon: unable to read directory /var/run/dirsrv restorecon: unable to read directory /var/lib/dirsrv/slapd-testvm Your new DS instance 'samba4' was successfully created. Exiting . . . Log file is '/tmp/setupQ8X10E.log' |