Description of problem: Trying to run the internal testsuite, I'm getting some failures. Version-Release number of selected component (if applicable): util-linux-2.23.2-21.el7.src.rpm How reproducible: always Steps to Reproduce: 1. install util-linux sources 2. compile the tests via make check 3. execute run.sh in tests subdirectory Actual results: ... blkid: MD raid1 (last partition) ... FAILED (blkid/md-raid1-part) ... fdisk: align 512/4K +MD ... FAILED (fdisk/align-512-4K-md) ... : mount-uhelper-subvol ... FAILED (libmount/context-utab-mount-uhelper-subvol) : umount-subvol ... FAILED (libmount/context-utab-umount-subvol) ... FAILED (2 from 6 sub-tests) ... more: regexp ... FAILED (more/regexp) ... 4 tests of 113 FAILED Expected results: All 113 tests PASSED. Additional info: there appears also selinux problem: type=SYSCALL msg=audit(1422284639.871:110): arch=c000003e syscall=59 per=fbe0000 success=yes exit=0 a0=7fffbd26f21d a1=7fffbd26f3f8 a2=7fffbd26f410 a3=7fffbd26f090 items=0 ppid=3053 pid=3095 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="echo" exe="/usr/bin/echo" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1422284639.871:110): avc: denied { mmap_zero } for pid=3095 comm="echo" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=memprotect and there are additional failures on ppc
Thanks, notes: - the tests we have in RHEL7 are not ready for ppc, the current upstream version should be better (for upstream we use travis-ci.org to test on all possible archs https://travis-ci.org/karelzak/util-linux) - the btrfs tests (mount subvolume) is probably broken, there is undefined $TS_CMD_WIPEFS and it calls obsolete btrfsctl (now we use "btrfs") For the rest I have to install RHEL7, on f21 the rest seems fine.