Guest User

error test coreutils-selinux

a guest
Apr 16th, 2015
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. : tests/mkdir/restorecon
  2. =ERROR============================
  3.  
  4. ++ initial_cwd_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
  5. ++ fail=0
  6. +++ testdir_prefix_
  7. +++ printf gt
  8. ++ pfx_=gt
  9. +++ mktempd_ /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23 gt-restorecon.sh.XXXX
  10. +++ case $# in
  11. +++ destdir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
  12. +++ template_=gt-restorecon.sh.XXXX
  13. +++ MAX_TRIES_=4
  14. +++ case $destdir_ in
  15. +++ case $template_ in
  16. ++++ unset TMPDIR
  17. +++ d=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  18. +++ case $d in
  19. +++ test -d /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  20. ++++ ls -dgo /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  21. ++++ tr S -
  22. +++ perms='drwx------. 2 2 Apr 16 11:33 /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38'
  23. +++ case $perms in
  24. +++ test 0 = 0
  25. +++ echo /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  26. +++ return
  27. ++ test_dir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  28. ++ cd /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  29. ++ gl_init_sh_nl_='
  30. '
  31. ++ IFS='
  32. '
  33. ++ for sig_ in 1 2 3 13 15
  34. +++ expr 1 + 128
  35. ++ eval 'trap '\''Exit 129'\'' 1'
  36. +++ trap 'Exit 129' 1
  37. ++ for sig_ in 1 2 3 13 15
  38. +++ expr 2 + 128
  39. ++ eval 'trap '\''Exit 130'\'' 2'
  40. +++ trap 'Exit 130' 2
  41. ++ for sig_ in 1 2 3 13 15
  42. +++ expr 3 + 128
  43. ++ eval 'trap '\''Exit 131'\'' 3'
  44. +++ trap 'Exit 131' 3
  45. ++ for sig_ in 1 2 3 13 15
  46. +++ expr 13 + 128
  47. ++ eval 'trap '\''Exit 141'\'' 13'
  48. +++ trap 'Exit 141' 13
  49. ++ for sig_ in 1 2 3 13 15
  50. +++ expr 15 + 128
  51. ++ eval 'trap '\''Exit 143'\'' 15'
  52. +++ trap 'Exit 143' 15
  53. ++ trap remove_tmp_ 0
  54. + path_prepend_ ./src
  55. + test 1 '!=' 0
  56. + path_dir_=./src
  57. + case $path_dir_ in
  58. + abs_path_dir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src
  59. + case $abs_path_dir_ in
  60. + PATH=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src:/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/src:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin
  61. + create_exe_shims_ /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src
  62. + case $EXEEXT in
  63. + return 0
  64. + shift
  65. + test 0 '!=' 0
  66. + export PATH
  67. + print_ver_ mkdir
  68. + test yes = yes
  69. + local i
  70. + for i in '$*'
  71. + env mkdir --version
  72. mkdir (GNU coreutils) 8.23
  73. Copyright (C) 2014 Free Software Foundation, Inc.
  74. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
  75. This is free software: you are free to change and redistribute it.
  76. There is NO WARRANTY, to the extent permitted by law.
  77.  
  78. Written by David MacKenzie.
  79. + require_selinux_
  80. + grep 'selinuxfs$' /proc/filesystems
  81. + case $(ls -Zd .) in
  82. ++ ls -Zd .
  83. + mkdir subdir
  84. + chcon root:object_r:tmp_t:s0 subdir
  85. chcon: invalid context: root:object_r:tmp_t:s0: Invalid argument
  86. + framework_failure_
  87. + warn_ 'restorecon.sh: set-up failure: '
  88. + case $IFS in
  89. + printf '%s\n' 'restorecon.sh: set-up failure: '
  90. restorecon.sh: set-up failure:
  91. + test 9 = 2
  92. + printf '%s\n' 'restorecon.sh: set-up failure: '
  93. + sed 1q
  94. + Exit 99
  95. + set +e
  96. + exit 99
  97. + exit 99
  98. + remove_tmp_
  99. + __st=99
  100. + cleanup_
  101. + :
  102. + cd /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
  103. + chmod -R u+rwx /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  104. + rm -rf /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
  105. + exit 99
RAW Paste Data