Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [07:05:52] [root /etc] --> /etc/init.d/agetty.tty2 --debug restart
- + sourcex -e /etc/rc.conf
- + '[' -e = -e ']'
- + shift
- + '[' -e /etc/rc.conf ']'
- + . /etc/rc.conf
- ++ rc_parallel=NO
- ++ rc_logger=YES
- ++ rc_log_path=/var/log/messages.log
- ++ unicode=YES
- ++ rc_tty_number=12
- + '[' -d /etc/rc.conf.d ']'
- + _conf_d=/etc/init.d/../conf.d
- + _c=agetty
- + '[' -n agetty -a agetty '!=' agetty.tty2 ']'
- + sourcex -e /etc/init.d/../conf.d/agetty.default
- + '[' -e = -e ']'
- + shift
- + '[' -e /etc/init.d/../conf.d/agetty.default ']'
- + return 1
- + sourcex -e /etc/init.d/../conf.d/agetty
- + '[' -e = -e ']'
- + shift
- + '[' -e /etc/init.d/../conf.d/agetty ']'
- + . /etc/init.d/../conf.d/agetty
- ++ baud=38400
- ++ term_type=linux
- ++ agetty_options=
- + unset _c
- + sourcex -e /etc/init.d/../conf.d/agetty.tty2.default
- + '[' -e = -e ']'
- + shift
- + '[' -e /etc/init.d/../conf.d/agetty.tty2.default ']'
- + return 1
- + sourcex -e /etc/init.d/../conf.d/agetty.tty2
- + '[' -e = -e ']'
- + shift
- + '[' -e /etc/init.d/../conf.d/agetty.tty2 ']'
- + . /etc/init.d/../conf.d/agetty.tty2
- ++ baud=38400
- ++ term_type=linux
- ++ agetty_options=-J
- + unset _conf_d
- + sourcex /usr/lib/openrc/sh/runit.sh
- + '[' /usr/lib/openrc/sh/runit.sh = -e ']'
- + . /usr/lib/openrc/sh/runit.sh
- + sourcex /usr/lib/openrc/sh/s6.sh
- + '[' /usr/lib/openrc/sh/s6.sh = -e ']'
- + . /usr/lib/openrc/sh/s6.sh
- ++ '[' -z '' ']'
- ++ s6_service_path=/var/svc.d/agetty.tty2
- + sourcex /usr/lib/openrc/sh/start-stop-daemon.sh
- + '[' /usr/lib/openrc/sh/start-stop-daemon.sh = -e ']'
- + . /usr/lib/openrc/sh/start-stop-daemon.sh
- + sourcex /usr/lib/openrc/sh/supervise-daemon.sh
- + '[' /usr/lib/openrc/sh/supervise-daemon.sh = -e ']'
- + . /usr/lib/openrc/sh/supervise-daemon.sh
- + sourcex /etc/init.d/agetty.tty2
- + '[' /etc/init.d/agetty.tty2 = -e ']'
- + . /etc/init.d/agetty.tty2
- ++ description='start agetty on a terminal line'
- ++ supervisor=supervise-daemon
- ++ port=tty2
- ++ term_type=linux
- ++ command=/sbin/agetty
- ++ command_args_foreground='-J tty2 38400 linux'
- ++ pidfile=/run/agetty.tty2.pid
- ++ export EINFO_QUIET=yes
- ++ EINFO_QUIET=yes
- + yesno ''
- + '[' -z '' ']'
- + return 1
- + for _cmd in "$@"
- + '[' start '!=' status -a start '!=' describe ']'
- + '[' -n '' ']'
- ++ command -v cgroup_add_service
- + '[' cgroup_add_service = cgroup_add_service ']'
- + grep -qs /sys/fs/cgroup /proc/1/mountinfo
- + '[' -d /sys/fs/cgroup -a '!' -w /sys/fs/cgroup ']'
- + cgroup_add_service
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/blkio/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/cpu/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/cpuacct/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/cpuset/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/devices/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/freezer/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/hugetlb/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/memory/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/net_cls/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/net_prio/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/openrc/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/perf_event/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/pids/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/rdma/tasks ']'
- + printf %d 0
- + for d in /sys/fs/cgroup/*
- + '[' -w /sys/fs/cgroup/unified/tasks ']'
- + openrc_cgroup=/sys/fs/cgroup/openrc
- + '[' -d /sys/fs/cgroup/openrc ']'
- + cgroup=/sys/fs/cgroup/openrc/agetty.tty2
- + mkdir -p /sys/fs/cgroup/openrc/agetty.tty2
- + '[' -w /sys/fs/cgroup/openrc/agetty.tty2/tasks ']'
- + printf %d 0
- ++ command -v cgroup_set_limits
- + '[' cgroup_set_limits = cgroup_set_limits ']'
- + cgroup_set_limits
- + local blkio=
- + '[' -n '' ']'
- + local cpu=
- + '[' -n '' ']'
- + local cpuacct=
- + '[' -n '' ']'
- + local cpuset=
- + '[' -n '' ']'
- + local devices=
- + '[' -n '' ']'
- + local hugetlb=
- + '[' -n '' ']'
- + local memory=
- + '[' -n '' ']'
- + local net_cls=
- + '[' -n '' ']'
- + local net_prio=
- + '[' -n '' ']'
- + local pids=
- + '[' -n '' ']'
- + return 0
- ++ command -v cgroup2_set_limits
- + '[' cgroup2_set_limits = cgroup2_set_limits ']'
- + '[' start = start ']'
- + cgroup2_set_limits
- + local cgroup_path
- ++ cgroup2_find_path
- ++ grep -qw cgroup2 /proc/filesystems
- ++ case "${rc_cgroup_mode:-hybrid}" in
- ++ printf /sys/fs/cgroup/unified
- ++ return 0
- + cgroup_path=/sys/fs/cgroup/unified
- + '[' -d /sys/fs/cgroup/unified ']'
- + rc_cgroup_path=/sys/fs/cgroup/unified/agetty.tty2
- + local 'OIFS=
- '
- + IFS='
- '
- + '[' '!' -d /sys/fs/cgroup/unified/agetty.tty2 ']'
- + printf %d 0
- + echo ''
- + IFS='
- '
- + read -r key value
- + '[' -z '' ']'
- + continue
- + IFS='
- '
- + read -r key value
- + IFS='
- '
- + return 0
- + break
- + eval 'printf '\''%s\n'\'' '
- ++ printf '%s\n'
- + read _d
- + '[' -n '' ']'
- + read _d
- + '[' 0 -ne 0 ']'
- + unset _d
- + eval 'printf '\''%s\n'\'' '
- ++ printf '%s\n'
- + read _f
- + '[' -n '' ']'
- + read _f
- + '[' 0 -ne 0 ']'
- + unset _f
- + '[' -n '' ']'
- + '[' -n start ']'
- + '[' start = depend ']'
- + for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
- + '[' describe = start ']'
- + for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
- + '[' start = start ']'
- ++ command -v start
- + '[' start = start ']'
- + yesno
- + '[' -z '' ']'
- + return 1
- + for _cmd in $extra_stopped_commands
- + '[' cgroup_cleanup = start ']'
- + unset _cmd
- + case $1 in
- + verify_boot
- + '[' '!' -e /run/openrc/softlevel ']'
- + return 0
- ++ command -v start_pre
- + '[' start_pre = start_pre ']'
- + start_pre
- + '[' -z tty2 ']'
- + start
- + default_start
- + local func=ssd_start
- + case "$supervisor" in
- + func=supervise_start
- + supervise_start
- + '[' -z /sbin/agetty ']'
- + ebegin 'Starting agetty.tty2'
- + eval supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- -J tty2 38400 linux
- ++ supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- -J tty2 38400 linux
- corrupted size vs. prev_size
- /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
- + rc=134
- + '[' 134 = 0 ']'
- + eend 134 'failed to start agetty.tty2'
- + exit 134
- * ERROR: agetty.tty2 failed to start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement