Skip to main content
Topic: Staring local error? (Read 778 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Staring local error?

Hey everyone! Upon logging into today, I noticed that starting local had an "[!!]", as opposed to it saying "[ok]". I did some research on the wiki and found nothing. Can somebody please help me out?


Re: Staring local error?

Reply #2
As usual, look into your logs for a possible clue. What init system are you using?
Looks like openrc

Regarding the error, check your /etc/local.d scripts if any to see if they are wrong. Usually local means local.d script issues


Re: Staring local error?

Reply #4
Sorry for the late reply! I was quite busy this week. I ran all the scripts one by one and none of them showed any errors.

Re: Staring local error?

Reply #5
Try sudo rc-service --debug local restart for a line-by-line scrutiny of the scripts. But, I don't think it's worth all that trouble, honestly, especially if they don't present any problem if you run them manually.

Re: Staring local error?

Reply #6
It's the return value of the script being non-zero that causes the !! - so run the scripts one by one, then do $ echo $? immediately afterwards to print out that. They might not give any actual error messages. I could recreate this by creating a script that finishes "exit 1" which gives the !! as expected. If you can't recreate the error, remember a lot is happening at boot, perhaps you might need some test or delay to let things complete if something else needs them to be running. You might be able to edit the scripts and add some debugging exit code handling so they give some error message or log it somewhere.

Re: Staring local error?

Reply #7
Hey, I ran "sudo rc-service --debug local restart", and this was the output:
Code: [Select]
local             |+ sourcex -e /etc/rc.conf
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/rc.conf ']'
local             |+ . /etc/rc.conf
local             |++ rc_parallel=YES
local             |++ rc_depend_strict=NO
local             |++ rc_logger=YES
local             |++ rc_crashed_start=YES
local             |++ unicode=YES
local             |++ rc_tty_number=12
local             |+ '[' -d /etc/rc.conf.d ']'
local             |+ _conf_d=/etc/init.d/../conf.d
local             |+ _c=local
local             |+ '[' -n local -a local '!=' local ']'
local             |+ unset _c
local             |+ sourcex -e /etc/init.d/../conf.d/local.default
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/init.d/../conf.d/local.default ']'
local             |+ return 1
local             |+ sourcex -e /etc/init.d/../conf.d/local
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/init.d/../conf.d/local ']'
local             |+ return 1
local             |+ unset _conf_d
local             |+ sourcex /usr/lib/openrc/sh/runit.sh
local             |+ '[' /usr/lib/openrc/sh/runit.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/runit.sh
local             |+ sourcex /usr/lib/openrc/sh/s6.sh
local             |+ '[' /usr/lib/openrc/sh/s6.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/s6.sh
local             |++ '[' -z '' ']'
local             |++ s6_service_path=/var/svc.d/local
local             |+ sourcex /usr/lib/openrc/sh/start-stop-daemon.sh
local             |+ '[' /usr/lib/openrc/sh/start-stop-daemon.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/start-stop-daemon.sh
local             |+ sourcex /usr/lib/openrc/sh/supervise-daemon.sh
local             |+ '[' /usr/lib/openrc/sh/supervise-daemon.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/supervise-daemon.sh
local             |++ extra_commands='healthcheck unhealthy '
local             |+ sourcex /etc/init.d/local
local             |+ '[' /etc/init.d/local = -e ']'
local             |+ . /etc/init.d/local
local             |++ conf_d_dir=/etc/conf.d
local             |++ local_d_dir=/etc/local.d
local             |++ description='Executes user programs in /etc/local.d'
local             |+ yesno ''
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ for _cmd in "$@"
local             |+ '[' stop '!=' status -a stop '!=' describe ']'
local             |+ '[' -n '' ']'
local             |++ command -v cgroup_add_service
local             |+ '[' cgroup_add_service = cgroup_add_service ']'
local             |+ grep -qs /sys/fs/cgroup /proc/1/mountinfo
local             |+ '[' -d /sys/fs/cgroup -a '!' -w /sys/fs/cgroup ']'
local             |+ cgroup_add_service
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/blkio/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpu/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpuacct/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpuset/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/devices/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/freezer/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/hugetlb/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/memory/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/misc/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/net_cls/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/net_prio/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/openrc/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/perf_event/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/pids/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/rdma/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/unified/tasks ']'
local             |+ openrc_cgroup=/sys/fs/cgroup/openrc
local             |+ '[' -d /sys/fs/cgroup/openrc ']'
local             |+ cgroup=/sys/fs/cgroup/openrc/local
local             |+ mkdir -p /sys/fs/cgroup/openrc/local
local             |+ '[' -w /sys/fs/cgroup/openrc/local/tasks ']'
local             |+ printf %d 0
local             |++ command -v cgroup_set_limits
local             |+ '[' cgroup_set_limits = cgroup_set_limits ']'
local             |+ cgroup_set_limits
local             |+ local blkio=
local             |+ '[' -n '' ']'
local             |+ local cpu=
local             |+ '[' -n '' ']'
local             |+ local cpuacct=
local             |+ '[' -n '' ']'
local             |+ local cpuset=
local             |+ '[' -n '' ']'
local             |+ local devices=
local             |+ '[' -n '' ']'
local             |+ local hugetlb=
local             |+ '[' -n '' ']'
local             |+ local memory=
local             |+ '[' -n '' ']'
local             |+ local net_cls=
local             |+ '[' -n '' ']'
local             |+ local net_prio=
local             |+ '[' -n '' ']'
local             |+ local pids=
local             |+ '[' -n '' ']'
local             |+ return 0
local             |++ command -v cgroup2_set_limits
local             |+ '[' cgroup2_set_limits = cgroup2_set_limits ']'
local             |+ '[' stop = start ']'
local             |+ break
local             |+ eval 'printf '\''%s\n'\'' '
local             |++ printf '%s\n'
local             |+ read _d
local             |+ '[' -n '' ']'
local             |+ read _d
local             |+ '[' 0 -ne 0 ']'
local             |+ unset _d
local             |+ eval 'printf '\''%s\n'\'' '
local             |++ printf '%s\n'
local             |+ read _f
local             |+ '[' -n '' ']'
local             |+ read _f
local             |+ '[' 0 -ne 0 ']'
local             |+ unset _f
local             |+ '[' -n '' ']'
local             |+ '[' -n stop ']'
local             |+ '[' stop = depend ']'
local             |+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
local             |+ '[' describe = stop ']'
local             |+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
local             |+ '[' start = stop ']'
local             |+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
local             |+ '[' stop = stop ']'
local             |++ command -v stop
local             |+ '[' stop = stop ']'
local             |+ yesno
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ for _cmd in $extra_stopped_commands
local             |+ '[' cgroup_cleanup = stop ']'
local             |+ unset _cmd
local             |+ case $1 in
local             |+ verify_boot
local             |+ '[' '!' -e /run/openrc/softlevel ']'
local             |+ return 0
local             |++ command -v stop_pre
local             |+ '[' '' = stop_pre ']'
local             |+ stop
local             |+ local file has_errors redirect retval
local             |+ has_errors=0
local             |+ yesno
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ redirect='> /dev/null 2>&1'
local             |+ ebegin 'Stopping local'
local             | * Stopping local ...
local             |+ eindent
local             |+ : 2
local             |+ '[' 2 -gt 40 ']'
local             |+ export EINFO_INDENT
local             |+ for file in "${local_d_dir}"/*.stop
local             |+ '[' -x /etc/local.d/local.stop ']'
local             |+ vebegin 'Executing "/etc/local.d/local.stop"'
local             |+ eval /etc/local.d/local.stop '>' /dev/null '2>&1'
local             |++ /etc/local.d/local.stop
local             |+ retval=1
local             |+ '[' 1 -ne 0 ']'
local             |+ has_errors=1
local             |+ veend 1 'Execution of "/etc/local.d/local.stop" failed.'
local             |+ eoutdent
local             |+ : 0
local             |+ '[' 0 -lt 0 ']'
local             |+ return 0
local             |+ command -v local_stop
local             |+ eend 1                                                                                                                                                                           [ !! ]
local             |+ return 0
local             |++ command -v stop_post
local             |+ '[' '' = stop_post ']'
local             |++ command -v cgroup_cleanup
local             |+ '[' cgroup_cleanup = cgroup_cleanup ']'
local             |+ '[' stop = stop ']'
local             |+ yesno ''
local             |+ '[' -z '' ']'
local             |+ return 1
local             |++ command -v cgroup2_remove
local             |+ '[' cgroup2_remove = cgroup2_remove ']'
local             |+ '[' stop = stop ']'
local             |+ cgroup2_remove
local             |+ local cgroup_path rc_cgroup_path
local             |++ cgroup2_find_path
local             |++ grep -qw cgroup2 /proc/filesystems
local             |++ case "${rc_cgroup_mode:-hybrid}" in
local             |++ printf /sys/fs/cgroup/unified
local             |++ return 0
local             |+ cgroup_path=/sys/fs/cgroup/unified
local             |+ '[' -z /sys/fs/cgroup/unified ']'
local             |+ rc_cgroup_path=/sys/fs/cgroup/unified/local
local             |+ '[' '!' -d /sys/fs/cgroup/unified/local ']'
local             |+ return 0
local             |+ shift
local             |+ continue 2
local             |+ '[' -n '' ']'
local             |+ exit 0
local             |+ sourcex -e /etc/rc.conf
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/rc.conf ']'
local             |+ . /etc/rc.conf
local             |++ rc_parallel=YES
local             |++ rc_depend_strict=NO
local             |++ rc_logger=YES
local             |++ rc_crashed_start=YES
local             |++ unicode=YES
local             |++ rc_tty_number=12
local             |+ '[' -d /etc/rc.conf.d ']'
local             |+ _conf_d=/etc/init.d/../conf.d
local             |+ _c=local
local             |+ '[' -n local -a local '!=' local ']'
local             |+ unset _c
local             |+ sourcex -e /etc/init.d/../conf.d/local.default
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/init.d/../conf.d/local.default ']'
local             |+ return 1
local             |+ sourcex -e /etc/init.d/../conf.d/local
local             |+ '[' -e = -e ']'
local             |+ shift
local             |+ '[' -e /etc/init.d/../conf.d/local ']'
local             |+ return 1
local             |+ unset _conf_d
local             |+ sourcex /usr/lib/openrc/sh/runit.sh
local             |+ '[' /usr/lib/openrc/sh/runit.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/runit.sh
local             |+ sourcex /usr/lib/openrc/sh/s6.sh
local             |+ '[' /usr/lib/openrc/sh/s6.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/s6.sh
local             |++ '[' -z '' ']'
local             |++ s6_service_path=/var/svc.d/local
local             |+ sourcex /usr/lib/openrc/sh/start-stop-daemon.sh
local             |+ '[' /usr/lib/openrc/sh/start-stop-daemon.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/start-stop-daemon.sh
local             |+ sourcex /usr/lib/openrc/sh/supervise-daemon.sh
local             |+ '[' /usr/lib/openrc/sh/supervise-daemon.sh = -e ']'
local             |+ . /usr/lib/openrc/sh/supervise-daemon.sh
local             |++ extra_commands='healthcheck unhealthy '
local             |+ sourcex /etc/init.d/local
local             |+ '[' /etc/init.d/local = -e ']'
local             |+ . /etc/init.d/local
local             |++ conf_d_dir=/etc/conf.d
local             |++ local_d_dir=/etc/local.d
local             |++ description='Executes user programs in /etc/local.d'
local             |+ yesno ''
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ for _cmd in "$@"
local             |+ '[' start '!=' status -a start '!=' describe ']'
local             |+ '[' -n '' ']'
local             |++ command -v cgroup_add_service
local             |+ '[' cgroup_add_service = cgroup_add_service ']'
local             |+ grep -qs /sys/fs/cgroup /proc/1/mountinfo
local             |+ '[' -d /sys/fs/cgroup -a '!' -w /sys/fs/cgroup ']'
local             |+ cgroup_add_service
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/blkio/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpu/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpuacct/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/cpuset/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/devices/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/freezer/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/hugetlb/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/memory/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/misc/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/net_cls/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/net_prio/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/openrc/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/perf_event/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/pids/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/rdma/tasks ']'
local             |+ printf %d 0
local             |+ for d in /sys/fs/cgroup/*
local             |+ '[' -w /sys/fs/cgroup/unified/tasks ']'
local             |+ openrc_cgroup=/sys/fs/cgroup/openrc
local             |+ '[' -d /sys/fs/cgroup/openrc ']'
local             |+ cgroup=/sys/fs/cgroup/openrc/local
local             |+ mkdir -p /sys/fs/cgroup/openrc/local
local             |+ '[' -w /sys/fs/cgroup/openrc/local/tasks ']'
local             |+ printf %d 0
local             |++ command -v cgroup_set_limits
local             |+ '[' cgroup_set_limits = cgroup_set_limits ']'
local             |+ cgroup_set_limits
local             |+ local blkio=
local             |+ '[' -n '' ']'
local             |+ local cpu=
local             |+ '[' -n '' ']'
local             |+ local cpuacct=
local             |+ '[' -n '' ']'
local             |+ local cpuset=
local             |+ '[' -n '' ']'
local             |+ local devices=
local             |+ '[' -n '' ']'
local             |+ local hugetlb=
local             |+ '[' -n '' ']'
local             |+ local memory=
local             |+ '[' -n '' ']'
local             |+ local net_cls=
local             |+ '[' -n '' ']'
local             |+ local net_prio=
local             |+ '[' -n '' ']'
local             |+ local pids=
local             |+ '[' -n '' ']'
local             |+ return 0
local             |++ command -v cgroup2_set_limits
local             |+ '[' cgroup2_set_limits = cgroup2_set_limits ']'
local             |+ '[' start = start ']'
local             |+ cgroup2_set_limits
local             |+ local cgroup_path
local             |++ cgroup2_find_path
local             |++ grep -qw cgroup2 /proc/filesystems
local             |++ case "${rc_cgroup_mode:-hybrid}" in
local             |++ printf /sys/fs/cgroup/unified
local             |++ return 0
local             |+ cgroup_path=/sys/fs/cgroup/unified
local             |+ '[' -z /sys/fs/cgroup/unified ']'
local             |+ mountinfo -q /sys/fs/cgroup/unified
local             |+ rc_cgroup_path=/sys/fs/cgroup/unified/local
local             |+ '[' '!' -d /sys/fs/cgroup/unified/local ']'
local             |+ mkdir /sys/fs/cgroup/unified/local
local             |+ '[' -f /sys/fs/cgroup/unified/local/cgroup.procs ']'
local             |+ printf 0
local             |+ '[' -z '' ']'
local             |+ return 0
local             |+ break
local             |+ eval 'printf '\''%s\n'\'' '
local             |++ printf '%s\n'
local             |+ read _d
local             |+ '[' -n '' ']'
local             |+ read _d
local             |+ '[' 0 -ne 0 ']'
local             |+ unset _d
local             |+ eval 'printf '\''%s\n'\'' '
local             |++ printf '%s\n'
local             |+ read _f
local             |+ '[' -n '' ']'
local             |+ read _f
local             |+ '[' 0 -ne 0 ']'
local             |+ unset _f
local             |+ '[' -n '' ']'
local             |+ '[' -n start ']'
local             |+ '[' start = depend ']'
local             |+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
local             |+ '[' describe = start ']'
local             |+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
local             |+ '[' start = start ']'
local             |++ command -v start
local             |+ '[' start = start ']'
local             |+ yesno
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ for _cmd in $extra_stopped_commands
local             |+ '[' cgroup_cleanup = start ']'
local             |+ unset _cmd
local             |+ case $1 in
local             |+ verify_boot
local             |+ '[' '!' -e /run/openrc/softlevel ']'
local             |+ return 0
local             |++ command -v start_pre
local             |+ '[' '' = start_pre ']'
local             |+ start
local             |+ local file has_errors redirect retval
local             |+ has_errors=0
local             |+ yesno
local             |+ '[' -z '' ']'
local             |+ return 1
local             |+ redirect='> /dev/null 2>&1'
local             |+ ebegin 'Starting local'
local             | * Starting local ...
local             |+ eindent
local             |+ : 2
local             |+ '[' 2 -gt 40 ']'
local             |+ export EINFO_INDENT
local             |+ for file in "${local_d_dir}"/*.start
local             |+ '[' -x /etc/local.d/branding.start ']'
local             |+ vebegin 'Executing "/etc/local.d/branding.start"'
local             |+ eval /etc/local.d/branding.start '>' /dev/null '2>&1'
local             |++ /etc/local.d/branding.start
local             |+ retval=0
local             |+ '[' 0 -ne 0 ']'
local             |+ veend 0 'Execution of "/etc/local.d/branding.start" failed.'
local             |+ for file in "${local_d_dir}"/*.start
local             |+ '[' -x /etc/local.d/cleanup.start ']'
local             |+ vebegin 'Executing "/etc/local.d/cleanup.start"'
local             |+ eval /etc/local.d/cleanup.start '>' /dev/null '2>&1'
local             |++ /etc/local.d/cleanup.start
local             |+ retval=0
local             |+ '[' 0 -ne 0 ']'
local             |+ veend 0 'Execution of "/etc/local.d/cleanup.start" failed.'
local             |+ for file in "${local_d_dir}"/*.start
local             |+ '[' -x /etc/local.d/local.start ']'
local             |+ vebegin 'Executing "/etc/local.d/local.start"'
local             |+ eval /etc/local.d/local.start '>' /dev/null '2>&1'
local             |++ /etc/local.d/local.start
local             |+ retval=0
local             |+ '[' 0 -ne 0 ']'
local             |+ veend 0 'Execution of "/etc/local.d/local.start" failed.'
local             |+ eoutdent
local             |+ : 0
local             |+ '[' 0 -lt 0 ']'
local             |+ return 0
local             |+ command -v local_start
local             |+ eend 0                                                                                                                                                                           [ ok ]
local             |+ return 0
local             |++ command -v start_post
local             |+ '[' '' = start_post ']'
local             |++ command -v cgroup_cleanup
local             |+ '[' cgroup_cleanup = cgroup_cleanup ']'
local             |+ '[' start = stop ']'
local             |++ command -v cgroup2_remove
local             |+ '[' cgroup2_remove = cgroup2_remove ']'
local             |+ '[' start = stop ']'
local             |+ '[' -z '' ']'
local             |+ cgroup2_remove
local             |+ local cgroup_path rc_cgroup_path
local             |++ cgroup2_find_path
local             |++ grep -qw cgroup2 /proc/filesystems
local             |++ case "${rc_cgroup_mode:-hybrid}" in
local             |++ printf /sys/fs/cgroup/unified
local             |++ return 0
local             |+ cgroup_path=/sys/fs/cgroup/unified
local             |+ '[' -z /sys/fs/cgroup/unified ']'
local             |+ rc_cgroup_path=/sys/fs/cgroup/unified/local
local             |+ '[' '!' -d /sys/fs/cgroup/unified/local ']'
local             |+ '[' '!' -e /sys/fs/cgroup/unified/local/cgroup.events ']'
local             |+ grep -qx 22923 /sys/fs/cgroup/unified/local/cgroup.procs
local             |+ printf %d 0
local             |+ local key populated vvalue
local             |+ read -r key value
local             |+ case "${key}" in
local             |+ populated=0
local             |+ read -r key value
local             |+ case "${key}" in
local             |+ read -r key value
local             |+ '[' 0 = 1 ']'
local             |+ rmdir /sys/fs/cgroup/unified/local
local             |+ return 0
local             |+ shift
local             |+ continue 2
local             |+ '[' -n '' ']'
local             |+ exit 0