#47578 CI tests: removal of 'sudo' and absolute path in lib389
Closed: Fixed None Opened 6 years ago by tbordaz.

This ticket is to remove the call to sudo and absolute path in the existing code.

389DS can be installed and instance created/start/stop/delete... by non root user.
In order to be able to run as non-root user and to run on non fedora platform, we need to remove sudo and absolute-path


Next step is to add the ability to run the tests without selinux (commands such as semanage, chcon, restorecon, etc.).

Some platforms that we would like to support do not have selinux. Running tests as non-root user with non-root install cannot use selinux.

git merge ticket47578
Updating b00258e..0432e1e
lib389/tools.py | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

git push origin master
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.07 KiB, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/lib389.git/
b00258e..0432e1e master -> master

commit 0432e1e362b27df5f31e6bf53f9554b2516d197e
Author: Thierry bordaz (tbordaz) tbordaz@redhat.com
Date: Wed Nov 6 16:32:56 2013 +0100

Milestone lib389 1.0 deleted

Metadata Update from @tbordaz:
- Issue assigned to tbordaz

3 years ago

Login to comment on this ticket.