#50076 Ticket 50056 - Fix CLI/UI bugs
Closed by spichugi. Opened by mreynolds.
mreynolds/389-ds-base UI_FIXES  into  master

Download 50076.patch

Description: Fix several issues discovered during QE testing

https://bugzilla.redhat.com/show_bug.cgi?id=1654101 - dscreate issues
https://bugzilla.redhat.com/show_bug.cgi?id=1654585 - dsidm sys ext error
https://bugzilla.redhat.com/show_bug.cgi?id=1654105 - dsconf related issues
https://bugzilla.redhat.com/show_bug.cgi?id=1654116 - dsctl remove "confirm with "Yes"
https://bugzilla.redhat.com/show_bug.cgi?id=1654134 - backups fixed
https://bugzilla.redhat.com/show_bug.cgi?id=1654451 - dscreate permissions and selinux issues
https://bugzilla.redhat.com/show_bug.cgi?id=1654566 - dbtasks no attr _instance
https://bugzilla.redhat.com/show_bug.cgi?id=1631461 - selinux reserved ports
https://bugzilla.redhat.com/show_bug.cgi?id=1654518 - issues with selinux ports
https://bugzilla.redhat.com/show_bug.cgi?id=1654581 - dsidm sys ext error
https://bugzilla.redhat.com/show_bug.cgi?id=1654577 - check if backup already exists
https://bugzilla.redhat.com/show_bug.cgi?id=1654693 - add password option for dsconf tools
https://pagure.io/389-ds-base/issue/50056 - dscreate defaults for instance name

https://pagure.io/389-ds-base/issue/50056

Reviewed by: ?

I have an issue with the installation (both dscreate and WebUI)

Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: Error - Problem accessing the lockfile /var/lock/dirsrv/slapd-localhost/lock
Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: [06/Dec/2018:05:21:01.577619120 -0500] - CRIT - main - Shutting down due to possible conflicts with other slapd processes

389-ds-base-1.4.0.19-20181206gitc8381c85a.fc28.x86_64

I have an issue with the installation (both dscreate and WebUI)
Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: Error - Problem accessing the lockfile /var/lock/dirsrv/slapd-localhost/lock
Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: [06/Dec/2018:05:21:01.577619120 -0500] - CRIT - main - Shutting down due to possible conflicts with other slapd processes

I saw this once in my testing but I can no longer reproduce this :-( This PR is currently working fine for me (I just triple checked it) :-/ What are your permissions on/var/lock/dirsrv and the child dirs?

I saw this once in my testing but I can no longer reproduce this :-( This PR is currently working fine for me (I just triple checked it) :-/ What are your permissions on/var/lock/dirsrv and the child dirs?

I've tested it on a fresh reserved machine with F28 and it has happened both times.

[root@host-8-247-253 ds]# ll /var/lock/dirsrv/
total 0
drwxr-x---. 2 dirsrv dirsrv 40 Dec  6 11:47 slapd-localhost
[root@host-8-247-253 ds]# ll /var/lock/dirsrv/slapd-localhost/
total 0

I'll reserve one more machine with the environment for you as you'll return.

rebased onto eb32933b8d319cfc14b1f6d58a21e472590c334c

I have an issue with the installation (both dscreate and WebUI)
Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: Error - Problem accessing the lockfile /var/lock/dirsrv/slapd-localhost/lock
Dec 06 05:21:01 host-8-254-143.host.centralci.eng.rdu2.redhat.com ns-slapd[19311]: [06/Dec/2018:05:21:01.577619120 -0500] - CRIT - main - Shutting down due to possible conflicts with other slapd processes

Fixed please review...

There is no need for this line because the file 'f' will be closed after the last line of the block with open(args.pwdfile, "r") as f:

The rest looks good to me!

rebased onto 5ed5f873dc21e6c358ac70b6e21d710fdb391ce2

Pull-Request has been merged by mreynolds

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3135

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata