summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/SELinux.py
Commit message (Collapse)AuthorAgeFilesLines
* SELinux: added MLS ranges to all entries that support themChris St. Pierre2013-04-251-8/+12
|
* SELinux: when the policy is upgraded, local changes can be lost (although ↵Chris St. Pierre2013-04-101-1/+10
| | | | the fact that there are local changes may be retained). cope with this bug.
* testsuite: more test fixesChris St. Pierre2013-03-261-1/+1
|
* testsuite: more text fixesChris St. Pierre2013-03-261-1/+2
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+1
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-8/+8
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-19/+13
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * extended usage of Executor class, added client-side timeout optionsChris St. Pierre2013-02-141-19/+13
| |
* | SELinux: Fix resolution of extra entriesSol Jerome2013-02-181-1/+1
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed tags for extra SELinux entriesChris St. Pierre2012-12-181-1/+1
|
* fixed SELinux tool/plugin testsChris St. Pierre2012-12-031-2/+6
|
* SELinux: Split up selinux entriesSol Jerome2012-12-031-56/+61
| | | | | | | | | | | This commit splits up the all-in-one SELinux tag into various entries (formerly done using a type attribute). This helps prevent ambiguation when entries of different SELinux types have the same name. Note that there is still some ambiguation for File Context entries since there can be duplicates involved. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: Fix string -> int conversionSol Jerome2012-11-121-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Switch from perms to modeSol Jerome2012-10-151-1/+1
| | | | | | | | Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed determining if selinux modules existChris St. Pierre2012-10-031-0/+7
|
* SELinux: Fix incorrect return valueSol Jerome2012-09-251-2/+2
| | | | | | | | Previously, we were not updating the states dict with the correct return value for entries which were dispatched to Install methods via the post_txn_queue. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: Check for attribute explicitlySol Jerome2012-09-251-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: Do not attempt transaction while lockedSol Jerome2012-09-251-0/+1
| | | | | | | Without this, the code falls through to the rest of the method which attempts to do the install even when there is a transaction lock. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: when selinux supports transactions but not adding modules via the ↵Chris St. Pierre2012-09-251-47/+138
| | | | API, defer module installation until after the transaction is complete
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-1/+1
|
* SEModules: fixed handling of module names againChris St. Pierre2012-09-181-9/+3
|
* SEModules: fixed some bits of module handlingChris St. Pierre2012-09-141-4/+10
|
* SELinux: more tool fixes for old-n-busted RHEL 5Chris St. Pierre2012-08-281-17/+102
|
* Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly ↵Chris St. Pierre2012-08-061-2/+2
| | | | | | on lxml.etree" This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
* removed Bcfg2.Client.XML abstraction layer since we depend directly on ↵Chris St. Pierre2012-08-031-2/+2
| | | | lxml.etree
* added selinux supportChris St. Pierre2012-07-031-0/+716