summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/selinux.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #2965 (Chatty SELinux message)Markus Roberts2009-12-201-1/+1
|
* Fix for #2951 (SELinux test errors on OS X)Markus Roberts2009-12-181-2/+2
| | | | | | | | | This makes the SELinux library marginally more robust by dealing consistently with a missing proc/mounts, and also resoves the test failures in a way that allows meaningful test runs on non-SELinux systems. Signed-off-by: Markus Roberts <Markus@reality.com>
* Closed #2937 - Migrated a number of requires to featuresJames Turnbull2009-12-181-5/+1
|
* Fix for #2911 (Allow capital letters in selinux contexts)Markus Roberts2009-12-121-1/+1
| | | | | This is Matthias Saou's patch from the ticket; it adjusts the regular expression to permit capital letters where needed.
* Fixing #2791 fs_find should follow symlinksJesse Wolfe2009-11-251-5/+16
| | | | | | | | | Symlinks confuse the "What file system am I on?" logic. This patch just runs the paths through a beefed up version of the standard 'realpath' method. Includes some of Markus's suggested changes. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* Fixing 2792 selinux tries to set properties on unsupported filesystesJesse Wolfe2009-11-251-1/+1
| | | | | | | | | Check that a specific file supports selinux properties before trying to set them. This patch is functionally identical to the one Darrell Fuhriman submitted with the bug report. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* Fix #2652 - Fix SELinux syntax errorJames Turnbull2009-09-181-3/+2
|
* Fix for #2605 by falling back to alternative solution to #1963Markus Roberts2009-09-151-6/+13
| | | | | | | | | | Two solutions were proposed and tested for #1963; both worked but one (the read_nonblock solution) was used for performance reasons. This solution does not work on older ruby implementations (1.8.1) because read_nonblock is not available. This patch implements the alternative fix (IO.popen) as a fallback to handles such cases. Signed-off-by: Markus Roberts <Markus@reality.com>
* Fix #1963 - Failing to read /proc/mounts for selinux kills file downloadsRicky Zhou2009-07-161-2/+8
| | | | | This works around a linux kernel bug that causes a select() on /proc/mounts to hang.
* Removed extra whitespace from end of linesIan Taylor2009-06-061-4/+4
|
* Fixing all tests that were apparently broken in the 0.24.x merge.Luke Kanies2009-04-021-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1963 - Failing to read /proc/mounts for selinux kills file downloadsJames Turnbull2009-02-281-1/+3
|
* Fix bug #1681: Add filesystem type check to test for per-file SELinux ↵Sean E. Millichamp2008-11-141-0/+64
| | | | context support
* Fixes relating to transition to native SELinux bindingsSean E. Millichamp2008-11-141-2/+9
|
* Refactoring of SELinux functions to use native Ruby SELinux interfaceSean E. Millichamp2008-11-141-66/+67
|
* Fix regression caused by switch to Puppet's execute() functionsSean E. Millichamp2008-10-221-2/+11
|
* Use fully qualified paths when calling binaries, adjust chcon call to use ↵Sean E. Millichamp2008-10-171-8/+2
| | | | Puppet's execute() function.
* Setting SELinux contexts with chcon should not dereference symbolic linksSean E. Millichamp2008-10-171-2/+2
|
* Add unit test coverage for Puppet::Util::SELinux and fix problems found by testsSean E. Millichamp2008-10-091-13/+30
|
* Fix scenario when SELinux support tools exist, but SELinux is disabledSean E. Millichamp2008-10-081-0/+6
|
* New and improved tests for file type SELinux contextsSean E. Millichamp2008-10-081-1/+1
|
* Refactor SELinux commands to utility moduleSean E. Millichamp2008-10-031-0/+113