=================================== attr 2.4.48: ./test-suite.log =================================== # TOTAL: 2 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test/root/getfattr ======================== [3] $ require_root -- ok [5] $ mkdir d -- ok [6] $ cd d -- ok [8] $ touch f -- ok [9] $ setfattr -n user.test -v test f -- ok [10] $ ln -s f l -- ok [11] $ setfattr -h -n trusted.test -v test l -- ok [14] $ getfattr -m- -d f -- failed # file: f == # file: f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" user.test="test" != != ~ [20] $ getfattr -m- -d l -- failed # file: l == # file: l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" user.test="test" != != ~ [26] $ getfattr -m- -hd l -- failed # file: l == # file: l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" trusted.test="test" != != ~ [32] $ getfattr -m- -Rd . | sort-getfattr-output -- failed # file: . != # file: f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: f != # file: l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" user.test="test" != != ~ # file: l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ [40] $ getfattr -m- -Rhd . | sort-getfattr-output -- failed # file: . != # file: f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: f != # file: l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" user.test="test" != != ~ # file: l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ [49] $ ln -s . here -- ok [50] $ getfattr -m- -Rd here | sort-getfattr-output -- failed # file: here != # file: here/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: here/f != # file: here/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" user.test="test" != != ~ # file: here/here != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: here/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ [58] $ getfattr -m- -Rhd here -- failed # file: here != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ [60] $ getfattr -m- -RLhd here | sort-getfattr-output -- failed # file: here != # file: here/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: here/f != # file: here/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" user.test="test" != != ~ # file: here/here != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: here/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ [68] $ getfattr -m- -RPhd here -- failed # file: here != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ [71] $ mkdir sub -- ok [72] $ mv f l sub -- ok [73] $ getfattr -m- -Rd . | sort-getfattr-output -- failed # file: . != # file: sub/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: here != # file: sub/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: sub != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub/f != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ # file: sub/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ [81] $ getfattr -m- -Rhd . | sort-getfattr-output -- failed # file: . != # file: sub/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: here != # file: sub/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" == # file: sub != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub/f != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ # file: sub/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ [90] $ mkdir sub2 -- ok [91] $ ln -s ../sub sub2/to-sub -- ok [92] $ getfattr -m- -Rhd sub2 -- failed # file: sub2 != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub2/to-sub != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ [94] $ getfattr -m- -RLhd sub2 | sort-getfattr-output -- failed # file: sub2 != # file: sub2/to-sub/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: sub2/to-sub != # file: sub2/to-sub/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" == # file: sub2/to-sub/f != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ # file: sub2/to-sub/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ [102] $ getfattr -m- -RPhd sub2 -- failed # file: sub2 != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub2/to-sub != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ [105] $ ln -s .. sub/up -- ok [106] $ getfattr -m- -RLhd . | sort-getfattr-output -- failed # file: . != # file: sub/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: here != # file: sub/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" == # file: sub != # file: sub2/to-sub/f security.selinux="unconfined_u:object_r:unlabeled_t:s0" != user.test="test" == # file: sub/f != # file: sub2/to-sub/l security.selinux="unconfined_u:object_r:unlabeled_t:s0" != trusted.test="test" user.test="test" != != ~ # file: sub/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ # file: sub/up != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub2 != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub2/to-sub != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ # file: sub2/to-sub/f != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ user.test="test" != ~ != ~ # file: sub2/to-sub/l != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ trusted.test="test" != ~ != ~ # file: sub2/to-sub/up != ~ security.selinux="unconfined_u:object_r:unlabeled_t:s0" != ~ != ~ [119] $ cd .. -- ok [120] $ rm -rf d -- ok 30 commands (15 passed, 15 failed) FAIL test/root/getfattr.test (exit status: 15)