forked from Github-Mirrors/canaille
Apparmor slapd instructions.
Add instructions on how to avoid apparmor preventing slapd execution for running unit tests.
This commit is contained in:
parent
94397e708d
commit
ed609c99e9
2 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,7 @@ Added
|
|||
*****
|
||||
|
||||
- Python 3.11 support. :pr:`61`
|
||||
- apparmor slapd configuration instructions in CONTRIBUTING.rst :pr:`66`
|
||||
|
||||
Changed
|
||||
*******
|
||||
|
|
|
@ -8,6 +8,15 @@ Unit tests
|
|||
|
||||
To run the tests, you just need to run `tox`. Everything must be green before patches get merged.
|
||||
|
||||
.. warning ::
|
||||
|
||||
On Debian or Ubuntu systems, the OpenLDAP `slapd` binary usage might be restricted by apparmor, and thus makes the test fail. This can be mitigated by removing apparmor restrictions on `slapd`.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
sudo apt install --yes apparmor-utils
|
||||
sudo aa-complain /usr/sbin/slapd
|
||||
|
||||
Style
|
||||
-----
|
||||
|
||||
|
|
Loading…
Reference in a new issue