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
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)
b00258e..0432e1e master -> master
Author: Thierry bordaz (tbordaz) firstname.lastname@example.org
Date: Wed Nov 6 16:32:56 2013 +0100
Milestone lib389 1.0 deleted
Metadata Update from @tbordaz:
- Issue assigned to tbordaz
to comment on this ticket.