Hello,

This fix allows to run 389-DS CI tests when 389-ds is deployed as a rpm.

It takes into account previous reviews done by Rich (no use of 'sudo' or 'systemctl', use of 'nobody' user).
It also checks that 127.0.0.1 is resolved as
localhost.localdomain that is required by setup-ds.pl
The tests can be launched either being 'root' ('cd ds/dirsrvtests/tickets; py.test ') or with sudo ('cd ds/dirsrvtests/tickets; sudo py.tests').

https://fedorahosted.org/389/attachment/ticket/47691/0001-Ticket-47691-3-using-lib389-with-RPMs.patch

thanks
thierry