[LU-8524] sanity-selinux: FAIL: Accepting only targeted policy Created: 23/Aug/16 Updated: 08/Oct/16 Resolved: 10/Sep/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Saurabh Tandan (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
This issue was created by maloo for Saurabh Tandan <saurabh.tandan@intel.com> Please provide additional information about the failure here. This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/90e24eb4-68ca-11e6-b2e2-5254006e85c2. -----============= acceptance-small: sanity-selinux ============----- Mon Aug 22 17:43:01 PDT 2016 Running: bash /usr/lib64/lustre/tests/sanity-selinux.sh Checking SELinux environment... sanity-selinux : @@@@@@ FAIL: Accepting only targeted policy |
| Comments |
| Comment by Saurabh Tandan (Inactive) [ 23/Aug/16 ] |
local selinux_policy=$(sestatus |
awk -F':' '$1 == "Loaded policy name" {print $2}' |
xargs)
if [ -z "$selinux_policy" ]; then
selinux_policy=$(sestatus |
awk -F':' '$1 == "Policy from config file"
{print $2}' |
xargs)
fi
Above piece of code in sanity-selinux.sh needs to restructured. It is passing incorrect value to variable "selinux_policy" . |
| Comment by Saurabh Tandan (Inactive) [ 23/Aug/16 ] |
|
Results with modified command structuring: https://testing.hpdd.intel.com/test_sessions/7fa007e4-68cb-11e6-b2e2-5254006e85c2 |
| Comment by Gerrit Updater [ 23/Aug/16 ] |
|
Saurabh Tandan (saurabh.tandan@intel.com) uploaded a new patch: http://review.whamcloud.com/22070 |
| Comment by Gerrit Updater [ 10/Sep/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22070/ |
| Comment by Peter Jones [ 10/Sep/16 ] |
|
Landed for 2.9 |