acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in attr 2.4.48


From: Solfus
Subject: Bug in attr 2.4.48
Date: Mon, 13 Jul 2020 15:08:43 +0000

Good afternoon,

I'm actually building an LFS OS, and I got a fail when testing attr 2.4.48.
This is the log file:

**** The beginning ****
checking for fgrep... /tools/bin/grep -F
checking for ld used by gcc... /tools/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/tools/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /tools/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/tools/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for msgfmt... /tools/bin/msgfmt
checking for gmsgfmt... /tools/bin/msgfmt
checking for xgettext... /tools/bin/xgettext
checking for msgmerge... /tools/bin/msgmerge
checking for ld used by gcc... /tools/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/tools/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking that generated files are newer than configure... done
configure: creating ./config.status
mconfig.status: creating libattr.pc
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating include/config.h
config.status: executing depfiles commands
aconfig.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing include/attr commands
(lfs chroot) root:/sources/attr-2.4.48#
(lfs chroot) root:/sources/attr-2.4.48#
(lfs chroot) root:/sources/attr-2.4.48# make
Making all in po
make[1]: Entering directory '/sources/attr-2.4.48/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/sources/attr-2.4.48/po'
make[1]: Entering directory '/sources/attr-2.4.48'
  CC       libattr/libattr_la-attr_copy_action.lo
  CC       libattr/libattr_la-attr_copy_check.lo
  CC       libattr/libattr_la-attr_copy_fd.lo
  CC       libattr/libattr_la-attr_copy_file.lo
  CC       libattr/libattr_la-libattr.lo
  CC       libattr/libattr_la-syscalls.lo
  CCLD     libattr.la
  CC       libmisc/high_water_alloc.lo
  CC       libmisc/next_line.lo
  CC       libmisc/quote.lo
  CC       libmisc/unquote.lo
  CC       libmisc/walk_tree.lo
  CCLD     libmisc.la
  CC       tools/attr.o
  CCLD     attr
  CC       tools/getfattr.o
  CCLD     getfattr
  CC       tools/setfattr.o
  CCLD     setfattr
make[1]: Leaving directory '/sources/attr-2.4.48'
(lfs chroot) root:/sources/attr-2.4.48# make check
Making check in po
make[1]: Entering directory '/sources/attr-2.4.48/po'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/sources/attr-2.4.48/po'
make[1]: Entering directory '/sources/attr-2.4.48'
make  check-TESTS
make[2]: Entering directory '/sources/attr-2.4.48'
make[3]: Entering directory '/sources/attr-2.4.48'
PASS: test/attr.test
FAIL: test/root/getfattr.test
============================================================================
Testsuite summary for attr 2.4.48
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to acl-devel@nongnu.org
============================================================================
make[3]: *** [Makefile:1327: test-suite.log] Error 1
make[3]: Leaving directory '/sources/attr-2.4.48'
make[2]: *** [Makefile:1435: check-TESTS] Error 2
make[2]: Leaving directory '/sources/attr-2.4.48'
make[1]: *** [Makefile:1655: check-am] Error 2
make[1]: Leaving directory '/sources/attr-2.4.48'
make: *** [Makefile:1212: check-recursive] Error 1
(lfs chroot) root:/sources/attr-2.4.48# ./test/
root/                 sort-getfattr-output
run                  
(lfs chroot) root:/sources/attr-2.4.48# nano test-suite.log
bash: nano: command not found
(lfs chroot) root:/sources/attr-2.4.48# cat test-suite.log
===================================
   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
========================

Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE (\w+)}/ at ./test/run line 109.
[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)

(lfs chroot) root:/sources/attr-2.4.48# cat test-suite.log
===================================
   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
========================

Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE (\w+)}/ at ./test/run line 109.
[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)

(lfs chroot) root:/sources/attr-2.4.48#
(lfs chroot) root:/sources/attr-2.4.48# cat test-suite.log
===================================
   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
========================

Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE (\w+)}/ at ./test/run line 109.
[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)

(lfs chroot) root:/sources/attr-2.4.48#
(lfs chroot) root:/sources/attr-2.4.48# cat test-suite.log
===================================
   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
========================

Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE (\w+)}/ at ./test/run line 109.
[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)

*** The end ****



Cordially.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]