Guest User

Untitled

a guest
Mar 6th, 2018
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [07:05:52] [root /etc] --> /etc/init.d/agetty.tty2 --debug restart
  2. + sourcex -e /etc/rc.conf
  3. + '[' -e = -e ']'
  4. + shift
  5. + '[' -e /etc/rc.conf ']'
  6. + . /etc/rc.conf
  7. ++ rc_parallel=NO
  8. ++ rc_logger=YES
  9. ++ rc_log_path=/var/log/messages.log
  10. ++ unicode=YES
  11. ++ rc_tty_number=12
  12. + '[' -d /etc/rc.conf.d ']'
  13. + _conf_d=/etc/init.d/../conf.d
  14. + _c=agetty
  15. + '[' -n agetty -a agetty '!=' agetty.tty2 ']'
  16. + sourcex -e /etc/init.d/../conf.d/agetty.default
  17. + '[' -e = -e ']'
  18. + shift
  19. + '[' -e /etc/init.d/../conf.d/agetty.default ']'
  20. + return 1
  21. + sourcex -e /etc/init.d/../conf.d/agetty
  22. + '[' -e = -e ']'
  23. + shift
  24. + '[' -e /etc/init.d/../conf.d/agetty ']'
  25. + . /etc/init.d/../conf.d/agetty
  26. ++ baud=38400
  27. ++ term_type=linux
  28. ++ agetty_options=
  29. + unset _c
  30. + sourcex -e /etc/init.d/../conf.d/agetty.tty2.default
  31. + '[' -e = -e ']'
  32. + shift
  33. + '[' -e /etc/init.d/../conf.d/agetty.tty2.default ']'
  34. + return 1
  35. + sourcex -e /etc/init.d/../conf.d/agetty.tty2
  36. + '[' -e = -e ']'
  37. + shift
  38. + '[' -e /etc/init.d/../conf.d/agetty.tty2 ']'
  39. + . /etc/init.d/../conf.d/agetty.tty2
  40. ++ baud=38400
  41. ++ term_type=linux
  42. ++ agetty_options=-J
  43. + unset _conf_d
  44. + sourcex /usr/lib/openrc/sh/runit.sh
  45. + '[' /usr/lib/openrc/sh/runit.sh = -e ']'
  46. + . /usr/lib/openrc/sh/runit.sh
  47. + sourcex /usr/lib/openrc/sh/s6.sh
  48. + '[' /usr/lib/openrc/sh/s6.sh = -e ']'
  49. + . /usr/lib/openrc/sh/s6.sh
  50. ++ '[' -z '' ']'
  51. ++ s6_service_path=/var/svc.d/agetty.tty2
  52. + sourcex /usr/lib/openrc/sh/start-stop-daemon.sh
  53. + '[' /usr/lib/openrc/sh/start-stop-daemon.sh = -e ']'
  54. + . /usr/lib/openrc/sh/start-stop-daemon.sh
  55. + sourcex /usr/lib/openrc/sh/supervise-daemon.sh
  56. + '[' /usr/lib/openrc/sh/supervise-daemon.sh = -e ']'
  57. + . /usr/lib/openrc/sh/supervise-daemon.sh
  58. + sourcex /etc/init.d/agetty.tty2
  59. + '[' /etc/init.d/agetty.tty2 = -e ']'
  60. + . /etc/init.d/agetty.tty2
  61. ++ description='start agetty on a terminal line'
  62. ++ supervisor=supervise-daemon
  63. ++ port=tty2
  64. ++ term_type=linux
  65. ++ command=/sbin/agetty
  66. ++ command_args_foreground='-J tty2 38400 linux'
  67. ++ pidfile=/run/agetty.tty2.pid
  68. ++ export EINFO_QUIET=yes
  69. ++ EINFO_QUIET=yes
  70. + yesno ''
  71. + '[' -z '' ']'
  72. + return 1
  73. + for _cmd in "$@"
  74. + '[' start '!=' status -a start '!=' describe ']'
  75. + '[' -n '' ']'
  76. ++ command -v cgroup_add_service
  77. + '[' cgroup_add_service = cgroup_add_service ']'
  78. + grep -qs /sys/fs/cgroup /proc/1/mountinfo
  79. + '[' -d /sys/fs/cgroup -a '!' -w /sys/fs/cgroup ']'
  80. + cgroup_add_service
  81. + for d in /sys/fs/cgroup/*
  82. + '[' -w /sys/fs/cgroup/blkio/tasks ']'
  83. + printf %d 0
  84. + for d in /sys/fs/cgroup/*
  85. + '[' -w /sys/fs/cgroup/cpu/tasks ']'
  86. + printf %d 0
  87. + for d in /sys/fs/cgroup/*
  88. + '[' -w /sys/fs/cgroup/cpuacct/tasks ']'
  89. + printf %d 0
  90. + for d in /sys/fs/cgroup/*
  91. + '[' -w /sys/fs/cgroup/cpuset/tasks ']'
  92. + printf %d 0
  93. + for d in /sys/fs/cgroup/*
  94. + '[' -w /sys/fs/cgroup/devices/tasks ']'
  95. + printf %d 0
  96. + for d in /sys/fs/cgroup/*
  97. + '[' -w /sys/fs/cgroup/freezer/tasks ']'
  98. + printf %d 0
  99. + for d in /sys/fs/cgroup/*
  100. + '[' -w /sys/fs/cgroup/hugetlb/tasks ']'
  101. + printf %d 0
  102. + for d in /sys/fs/cgroup/*
  103. + '[' -w /sys/fs/cgroup/memory/tasks ']'
  104. + printf %d 0
  105. + for d in /sys/fs/cgroup/*
  106. + '[' -w /sys/fs/cgroup/net_cls/tasks ']'
  107. + printf %d 0
  108. + for d in /sys/fs/cgroup/*
  109. + '[' -w /sys/fs/cgroup/net_prio/tasks ']'
  110. + printf %d 0
  111. + for d in /sys/fs/cgroup/*
  112. + '[' -w /sys/fs/cgroup/openrc/tasks ']'
  113. + printf %d 0
  114. + for d in /sys/fs/cgroup/*
  115. + '[' -w /sys/fs/cgroup/perf_event/tasks ']'
  116. + printf %d 0
  117. + for d in /sys/fs/cgroup/*
  118. + '[' -w /sys/fs/cgroup/pids/tasks ']'
  119. + printf %d 0
  120. + for d in /sys/fs/cgroup/*
  121. + '[' -w /sys/fs/cgroup/rdma/tasks ']'
  122. + printf %d 0
  123. + for d in /sys/fs/cgroup/*
  124. + '[' -w /sys/fs/cgroup/unified/tasks ']'
  125. + openrc_cgroup=/sys/fs/cgroup/openrc
  126. + '[' -d /sys/fs/cgroup/openrc ']'
  127. + cgroup=/sys/fs/cgroup/openrc/agetty.tty2
  128. + mkdir -p /sys/fs/cgroup/openrc/agetty.tty2
  129. + '[' -w /sys/fs/cgroup/openrc/agetty.tty2/tasks ']'
  130. + printf %d 0
  131. ++ command -v cgroup_set_limits
  132. + '[' cgroup_set_limits = cgroup_set_limits ']'
  133. + cgroup_set_limits
  134. + local blkio=
  135. + '[' -n '' ']'
  136. + local cpu=
  137. + '[' -n '' ']'
  138. + local cpuacct=
  139. + '[' -n '' ']'
  140. + local cpuset=
  141. + '[' -n '' ']'
  142. + local devices=
  143. + '[' -n '' ']'
  144. + local hugetlb=
  145. + '[' -n '' ']'
  146. + local memory=
  147. + '[' -n '' ']'
  148. + local net_cls=
  149. + '[' -n '' ']'
  150. + local net_prio=
  151. + '[' -n '' ']'
  152. + local pids=
  153. + '[' -n '' ']'
  154. + return 0
  155. ++ command -v cgroup2_set_limits
  156. + '[' cgroup2_set_limits = cgroup2_set_limits ']'
  157. + '[' start = start ']'
  158. + cgroup2_set_limits
  159. + local cgroup_path
  160. ++ cgroup2_find_path
  161. ++ grep -qw cgroup2 /proc/filesystems
  162. ++ case "${rc_cgroup_mode:-hybrid}" in
  163. ++ printf /sys/fs/cgroup/unified
  164. ++ return 0
  165. + cgroup_path=/sys/fs/cgroup/unified
  166. + '[' -d /sys/fs/cgroup/unified ']'
  167. + rc_cgroup_path=/sys/fs/cgroup/unified/agetty.tty2
  168. + local 'OIFS=
  169. '
  170. + IFS='
  171. '
  172. + '[' '!' -d /sys/fs/cgroup/unified/agetty.tty2 ']'
  173. + printf %d 0
  174. + echo ''
  175. + IFS='
  176. '
  177. + read -r key value
  178. + '[' -z '' ']'
  179. + continue
  180. + IFS='
  181. '
  182. + read -r key value
  183. + IFS='
  184. '
  185. + return 0
  186. + break
  187. + eval 'printf '\''%s\n'\'' '
  188. ++ printf '%s\n'
  189. + read _d
  190. + '[' -n '' ']'
  191. + read _d
  192. + '[' 0 -ne 0 ']'
  193. + unset _d
  194. + eval 'printf '\''%s\n'\'' '
  195. ++ printf '%s\n'
  196. + read _f
  197. + '[' -n '' ']'
  198. + read _f
  199. + '[' 0 -ne 0 ']'
  200. + unset _f
  201. + '[' -n '' ']'
  202. + '[' -n start ']'
  203. + '[' start = depend ']'
  204. + for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
  205. + '[' describe = start ']'
  206. + for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
  207. + '[' start = start ']'
  208. ++ command -v start
  209. + '[' start = start ']'
  210. + yesno
  211. + '[' -z '' ']'
  212. + return 1
  213. + for _cmd in $extra_stopped_commands
  214. + '[' cgroup_cleanup = start ']'
  215. + unset _cmd
  216. + case $1 in
  217. + verify_boot
  218. + '[' '!' -e /run/openrc/softlevel ']'
  219. + return 0
  220. ++ command -v start_pre
  221. + '[' start_pre = start_pre ']'
  222. + start_pre
  223. + '[' -z tty2 ']'
  224. + start
  225. + default_start
  226. + local func=ssd_start
  227. + case "$supervisor" in
  228. + func=supervise_start
  229. + supervise_start
  230. + '[' -z /sbin/agetty ']'
  231. + ebegin 'Starting agetty.tty2'
  232. + eval supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- -J tty2 38400 linux
  233. ++ supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- -J tty2 38400 linux
  234. corrupted size vs. prev_size
  235. /usr/lib/openrc/sh/supervise-daemon.sh: line 25: 3029 Aborted supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- -J tty2 38400 linux
  236. + rc=134
  237. + '[' 134 = 0 ']'
  238. + eend 134 'failed to start agetty.tty2'
  239. + exit 134
  240. * ERROR: agetty.tty2 failed to start
RAW Paste Data