Changeset 166
- Timestamp:
- 01/10/08 21:34:44
(11 months ago)
- Author:
- bwhalen
- Message:
Update the spec file so we use the correct path to setfiles in RHEL 5.1
Update the flask to have flow_in and flow_out permissions for packet object class or our policy won't load and we can't relabel.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r153 |
r166 |
|
| 94 | 94 | if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && [ -e /selinux/policyvers ]; then |
|---|
| 95 | 95 | [ -x /usr/sbin/load_policy ] && /usr/sbin/load_policy |
|---|
| 96 | | [ -x /usr/sbin/setfiles ] && /usr/sbin/setfiles -F %{FILE_CONTEXT} `mount | grep -v "context=" | egrep -v '\((|.*,)bind(,.*|)\)' | awk '/(ext[23]|xfs|jfs|reiserfs).*rw/{print $3}'` |
|---|
| | 96 | [ -x /sbin/setfiles ] && /sbin/setfiles -F %{FILE_CONTEXT} `mount | grep -v "context=" | egrep -v '\((|.*,)bind(,.*|)\)' | awk '/(ext[23]|xfs|jfs|reiserfs).*rw/{print $3}'` |
|---|
| 97 | 97 | fi |
|---|
| 98 | 98 | echo "" > /etc/selinux/%{polname}/booleans |
|---|
| r153 |
r166 |
|
| 640 | 640 | recv |
|---|
| 641 | 641 | relabelto |
|---|
| | 642 | flow_in |
|---|
| | 643 | flow_out |
|---|
| 642 | 644 | } |
|---|
| 643 | 645 | |
|---|
Download in other formats:
* Generating other formats may take time.