[LU-12267] sanity test_103a: some ACL tests fail with SELinux enforced Created: 07/May/19 Updated: 12/Sep/19 Resolved: 16/Jun/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
sanity test_103a fails when SElinux is enforced on the client. lrwxrwxrwx root root ? lrwxrwxrwx. root root
[68] $ su bin -- ok
[69] $ getfattr -d l -- ok
[78] $ su -- ok
[79] $ mkdir t -- ok
[80] $ chown nobody:nobody t -- ok
[81] $ chmod 1750 t -- ok
[82] $ ls -dl t | awk -- '{ print $1, $3, $4 }' -- failed
drwxr-x--T nobody nobody ? drwxr-x--T. nobody nobody
[84] $ su nobody -- ok
[85] $ setfacl -m g:bin:rwx t -- ok
[86] $ getfacl --omit-header t -- ok
[93] $ su bin -- ok
[94] $ setfattr -n user.test.xattr -v 654321 t -- ok
[101] $ su -- ok
[102] $ mkdir d -- ok
[103] $ chown nobody:nobody d -- ok
[104] $ chmod 750 d -- ok
[105] $ ls -dl d | awk -- '{ print $1, $3, $4 }' -- failed
drwxr-x--- nobody nobody ? drwxr-x---. nobody nobody
[107] $ su nobody -- ok
[108] $ setfacl -m g:bin:rwx d -- ok
[109] $ getfacl --omit-header d -- ok
[116] $ su bin -- ok
[117] $ setfattr -n user.test.xattr -v 654321 d -- ok
[118] $ getfattr -d d -- ok
[127] $ su -- ok
[128] $ mknod -m 0660 hdt b 91 64 -- ok
[129] $ mknod -m 0660 null c 1 3 -- ok
[130] $ mkfifo -m 0660 fifo -- ok
[131] $ setfattr -n user.test.xattr -v 123456 hdt -- ok
[133] $ setfattr -n user.test.xattr -v 123456 null -- ok
[135] $ setfattr -n user.test.xattr -v 123456 fifo -- ok
[141] $ su -- ok
[142] $ cd .. -- ok
[143] $ rm -rf d -- ok
53 commands (49 passed, 4 failed)
sanity test_103a: @@@@@@ FAIL: permissions_xattr failed
This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/84b99ac8-700d-11e9-8bb1-52540065bddc VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV |
| Comments |
| Comment by Gerrit Updater [ 07/May/19 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/34818 |
| Comment by Gerrit Updater [ 29/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34818/ |
| Comment by Peter Jones [ 29/May/19 ] |
|
Landed for 2.13 |
| Comment by James Nunez (Inactive) [ 31/May/19 ] |
|
I'm reopening this ticket because the recently added sanity test 420 is failing with this same issue when SELinux is enabled. I'll upload a patch to fix this test. Examples of this failure at |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35026 |
| Comment by Gerrit Updater [ 16/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35026/ |
| Comment by Peter Jones [ 16/Jun/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 28/Aug/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35957 |
| Comment by Gerrit Updater [ 28/Aug/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35958 |
| Comment by Gerrit Updater [ 12/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35958/ |
| Comment by Gerrit Updater [ 12/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35957/ |