Skip to main content
Topic: System hangs on open-rc initial boot (Read 273 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

System hangs on open-rc initial boot

Hey guys. I need help.

Yesterday I updated my system using just pacman -Syu and after that couldn't boot in the system anymore.

Open rc hangs on avahi-daemon initializing



I could boot only with live cd but I have no idea what I should to to fix it now. I checked rc logs and logs hang on even earlier



Sorry for posting photos and bad quality of them. It's my first try on the artix forum.


Re: System hangs on open-rc initial boot

Reply #2
Wow I could boot and log in to the system. Do you have any ideas about why it happened and what should I do next?

Re: System hangs on open-rc initial boot

Reply #3
Start avahi and syslog-ng one by one and perhaps you'll find which one is broken. You then restore the other and investigate further.
To debug a service with openrc start it as
Code: [Select]
sudo rc-service -v --debug avahi start
and hopefully it'll print a meaningful error.

Re: System hangs on open-rc initial boot

Reply #4
I did it and seems no errors, however, avahi had already running warning

Code: [Select]
~ sudo rc-service -v --debug avahi-daemon start
 * WARNING: avahi-daemon has already been started

And a very long log of avahi. I don't really understand if anything wrong with.

Code: [Select]
sudo rc-service -v --debug syslog-ng start   
 * Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/haveged start
+ sourcex -e /etc/rc.conf
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/rc.conf ']'
+ . /etc/rc.conf
++ rc_shell=/usr/bin/sulogin
++ rc_logger=YES
++ unicode=YES
++ rc_tty_number=12
++ rc_controller_cgroups=YES
+ '[' -d /etc/rc.conf.d ']'
+ _conf_d=/etc/init.d/../conf.d
+ _c=haveged
+ '[' -n haveged -a haveged '!=' haveged ']'
+ unset _c
+ sourcex -e /etc/init.d/../conf.d/haveged.default
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/haveged.default ']'
+ return 1
+ sourcex -e /etc/init.d/../conf.d/haveged
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/haveged ']'
+ . /etc/init.d/../conf.d/haveged
++ WATERMARK=1024
++ HAVEGED_OPTS='-w 1024 -v 1'
+ 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/haveged
+ 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
++ extra_commands='healthcheck unhealthy '
+ sourcex /etc/init.d/haveged
+ '[' /etc/init.d/haveged = -e ']'
+ . /etc/init.d/haveged
++ pidfile=/run/haveged.pid
++ command=/usr/bin/haveged
++ command_args='-r 0 -w 1024 -v 1 -p /run/haveged.pid'
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ for _cmd in "[email protected]"
+ '[' 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/haveged
+ mkdir -p /sys/fs/cgroup/openrc/haveged
+ '[' -w /sys/fs/cgroup/openrc/haveged/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/haveged
+ '[' '!' -d /sys/fs/cgroup/unified/haveged ']'
+ mkdir /sys/fs/cgroup/unified/haveged
+ '[' -f /sys/fs/cgroup/unified/haveged/cgroup.procs ']'
+ printf 0
+ '[' -z '' ']'
+ 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
+ default_start
+ local func=ssd_start
+ case "$supervisor" in
+ ssd_start
+ '[' -z /usr/bin/haveged ']'
+ local _background=
+ ebegin 'Starting haveged'
 * Starting haveged ...
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ eval start-stop-daemon --start --exec /usr/bin/haveged --pidfile /run/haveged.pid -- -r 0 -w 1024 -v 1 -p /run/haveged.pid
++ start-stop-daemon --start --exec /usr/bin/haveged --pidfile /run/haveged.pid -- -r 0 -w 1024 -v 1 -p /run/haveged.pid
 * start-stop-daemon: fopen `/run/haveged.pid': No such file or directory
 * Detaching to start `/usr/bin/haveged' ...
haveged: listening socket at 3
+ eend 0 'Failed to start haveged'                                                                                                                                              [ ok ]
+ service_set_value command /usr/bin/haveged
+ '[' -n '' ']'
+ '[' -n /run/haveged.pid ']'
+ service_set_value pidfile /run/haveged.pid
+ '[' -n '' ']'
+ return 0
++ command -v start_post
+ '[' '' = start_post ']'
++ command -v cgroup_cleanup
+ '[' cgroup_cleanup = cgroup_cleanup ']'
+ '[' start = stop ']'
++ command -v cgroup2_remove
+ '[' cgroup2_remove = cgroup2_remove ']'
+ '[' start = stop ']'
+ '[' -z /usr/bin/haveged ']'
+ shift
+ continue 2
+ '[' -n '' ']'
+ exit 0
 * Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/syslog-ng start
+ sourcex -e /etc/rc.conf
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/rc.conf ']'
+ . /etc/rc.conf
++ rc_shell=/usr/bin/sulogin
++ rc_logger=YES
++ unicode=YES
++ rc_tty_number=12
++ rc_controller_cgroups=YES
+ '[' -d /etc/rc.conf.d ']'
+ _conf_d=/etc/init.d/../conf.d
+ _c=syslog-ng
+ '[' -n syslog-ng -a syslog-ng '!=' syslog-ng ']'
+ unset _c
+ sourcex -e /etc/init.d/../conf.d/syslog-ng.default
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/syslog-ng.default ']'
+ return 1
+ sourcex -e /etc/init.d/../conf.d/syslog-ng
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/syslog-ng ']'
+ . /etc/init.d/../conf.d/syslog-ng
++ SYSLOG_NG_OPTS=
+ 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/syslog-ng
+ 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
++ extra_commands='healthcheck unhealthy '
+ sourcex /etc/init.d/syslog-ng
+ '[' /etc/init.d/syslog-ng = -e ']'
+ . /etc/init.d/syslog-ng
++ : /etc/syslog-ng/syslog-ng.conf
++ : /var/lib/syslog-ng
++ : /var/lib/syslog-ng/syslog-ng.persist
++ : /run
++ : /run/syslog-ng.pid
++ : /run/syslog-ng.ctl
++ : root
++ : root
++ command=/usr/bin/syslog-ng
++ command_args='--cfgfile "/etc/syslog-ng/syslog-ng.conf" --control "/run/syslog-ng.ctl" --persist-file "/var/lib/syslog-ng/syslog-ng.persist" --pidfile "/run/syslog-ng.pid" '
++ command_user=root:root
++ extra_commands=checkconfig
++ extra_started_commands=reload
++ pidfile=/run/syslog-ng.pid
++ description='Syslog-ng is a syslog replacement with advanced filtering features.'
++ description_checkconfig='Check the configuration file that will be used by "start"'
++ description_reload='Reload the configuration without exiting'
++ required_files=/etc/syslog-ng/syslog-ng.conf
++ required_dirs=/run
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ for _cmd in "[email protected]"
+ '[' 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/syslog-ng
+ mkdir -p /sys/fs/cgroup/openrc/syslog-ng
+ '[' -w /sys/fs/cgroup/openrc/syslog-ng/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/syslog-ng
+ '[' '!' -d /sys/fs/cgroup/unified/syslog-ng ']'
+ mkdir /sys/fs/cgroup/unified/syslog-ng
+ '[' -f /sys/fs/cgroup/unified/syslog-ng/cgroup.procs ']'
+ printf 0
+ '[' -z '' ']'
+ return 0
+ break
+ eval 'printf '\''%s\n'\'' /run'
++ printf '%s\n' /run
+ read _d
+ '[' -n /run ']'
+ '[' '!' -d /run ']'
+ read _d
+ '[' 0 -ne 0 ']'
+ unset _d
+ eval 'printf '\''%s\n'\'' /etc/syslog-ng/syslog-ng.conf'
++ printf '%s\n' /etc/syslog-ng/syslog-ng.conf
+ read _f
+ '[' -n /etc/syslog-ng/syslog-ng.conf ']'
+ '[' '!' -r /etc/syslog-ng/syslog-ng.conf ']'
+ 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_started_commands
+ '[' reload = start ']'
+ 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
+ checkconfig
+ ebegin 'Checking your configfile (/etc/syslog-ng/syslog-ng.conf)'
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
+ syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf
+ eend 0 'Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)'                                                                                      [ ok ]
+ checkpath -d --mode 0700 --owner root:root /var/lib/syslog-ng
+ start
+ default_start
+ local func=ssd_start
+ case "$supervisor" in
+ ssd_start
+ '[' -z /usr/bin/syslog-ng ']'
+ local _background=
+ ebegin 'Starting syslog-ng'
 * Starting syslog-ng ...
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ eval start-stop-daemon --start --exec /usr/bin/syslog-ng --pidfile /run/syslog-ng.pid --user root:root -- --cfgfile '"/etc/syslog-ng/syslog-ng.conf"' --control '"/run/syslog-ng.ctl"' --persist-file '"/var/lib/syslog-ng/syslog-ng.persist"' --pidfile '"/run/syslog-ng.pid"'
++ start-stop-daemon --start --exec /usr/bin/syslog-ng --pidfile /run/syslog-ng.pid --user root:root -- --cfgfile /etc/syslog-ng/syslog-ng.conf --control /run/syslog-ng.ctl --persist-file /var/lib/syslog-ng/syslog-ng.persist --pidfile /run/syslog-ng.pid
 * start-stop-daemon: fopen `/run/syslog-ng.pid': No such file or directory
 * Detaching to start `/usr/bin/syslog-ng' ...
[2020-01-16T14:03:56.515151] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
+ eend 0 'Failed to start syslog-ng'                                                                                                                                            [ ok ]
+ service_set_value command /usr/bin/syslog-ng
+ '[' -n '' ']'
+ '[' -n /run/syslog-ng.pid ']'
+ service_set_value pidfile /run/syslog-ng.pid
+ '[' -n '' ']'
+ return 0
++ command -v start_post
+ '[' '' = start_post ']'
++ command -v cgroup_cleanup
+ '[' cgroup_cleanup = cgroup_cleanup ']'
+ '[' start = stop ']'
++ command -v cgroup2_remove
+ '[' cgroup2_remove = cgroup2_remove ']'
+ '[' start = stop ']'
+ '[' -z /usr/bin/syslog-ng ']'
+ shift
+ continue 2
+ '[' -n '' ']'
+ exit 0

Re: System hangs on open-rc initial boot

Reply #5
Try re-installing haveged and syslog-ng. Also, put haveged to runlevel sysinit, you can see where it is with rc-update
Code: [Select]
% sudo rc-update del haveged boot  <-- if it's in boot runlevel
% sudo rc-update add haveged sysinit

Re: System hangs on open-rc initial boot

Reply #6
I did it and seems no errors, however, avahi had already running warning

Code: [Select]
~ sudo rc-service -v --debug avahi-daemon start
 * WARNING: avahi-daemon has already been started

And a very long log of avahi. I don't really understand if anything wrong with.

Code: [Select]
sudo rc-service -v --debug syslog-ng start   
 * Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/haveged start
+ sourcex -e /etc/rc.conf
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/rc.conf ']'
+ . /etc/rc.conf
++ rc_shell=/usr/bin/sulogin
++ rc_logger=YES
++ unicode=YES
++ rc_tty_number=12
++ rc_controller_cgroups=YES
+ '[' -d /etc/rc.conf.d ']'
+ _conf_d=/etc/init.d/../conf.d
+ _c=haveged
+ '[' -n haveged -a haveged '!=' haveged ']'
+ unset _c
+ sourcex -e /etc/init.d/../conf.d/haveged.default
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/haveged.default ']'
+ return 1
+ sourcex -e /etc/init.d/../conf.d/haveged
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/haveged ']'
+ . /etc/init.d/../conf.d/haveged
++ WATERMARK=1024
++ HAVEGED_OPTS='-w 1024 -v 1'
+ 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/haveged
+ 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
++ extra_commands='healthcheck unhealthy '
+ sourcex /etc/init.d/haveged
+ '[' /etc/init.d/haveged = -e ']'
+ . /etc/init.d/haveged
++ pidfile=/run/haveged.pid
++ command=/usr/bin/haveged
++ command_args='-r 0 -w 1024 -v 1 -p /run/haveged.pid'
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ for _cmd in "[email protected]"
+ '[' 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/haveged
+ mkdir -p /sys/fs/cgroup/openrc/haveged
+ '[' -w /sys/fs/cgroup/openrc/haveged/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/haveged
+ '[' '!' -d /sys/fs/cgroup/unified/haveged ']'
+ mkdir /sys/fs/cgroup/unified/haveged
+ '[' -f /sys/fs/cgroup/unified/haveged/cgroup.procs ']'
+ printf 0
+ '[' -z '' ']'
+ 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
+ default_start
+ local func=ssd_start
+ case "$supervisor" in
+ ssd_start
+ '[' -z /usr/bin/haveged ']'
+ local _background=
+ ebegin 'Starting haveged'
 * Starting haveged ...
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ eval start-stop-daemon --start --exec /usr/bin/haveged --pidfile /run/haveged.pid -- -r 0 -w 1024 -v 1 -p /run/haveged.pid
++ start-stop-daemon --start --exec /usr/bin/haveged --pidfile /run/haveged.pid -- -r 0 -w 1024 -v 1 -p /run/haveged.pid
 * start-stop-daemon: fopen `/run/haveged.pid': No such file or directory
 * Detaching to start `/usr/bin/haveged' ...
haveged: listening socket at 3
+ eend 0 'Failed to start haveged'                                                                                                                                              [ ok ]
+ service_set_value command /usr/bin/haveged
+ '[' -n '' ']'
+ '[' -n /run/haveged.pid ']'
+ service_set_value pidfile /run/haveged.pid
+ '[' -n '' ']'
+ return 0
++ command -v start_post
+ '[' '' = start_post ']'
++ command -v cgroup_cleanup
+ '[' cgroup_cleanup = cgroup_cleanup ']'
+ '[' start = stop ']'
++ command -v cgroup2_remove
+ '[' cgroup2_remove = cgroup2_remove ']'
+ '[' start = stop ']'
+ '[' -z /usr/bin/haveged ']'
+ shift
+ continue 2
+ '[' -n '' ']'
+ exit 0
 * Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/syslog-ng start
+ sourcex -e /etc/rc.conf
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/rc.conf ']'
+ . /etc/rc.conf
++ rc_shell=/usr/bin/sulogin
++ rc_logger=YES
++ unicode=YES
++ rc_tty_number=12
++ rc_controller_cgroups=YES
+ '[' -d /etc/rc.conf.d ']'
+ _conf_d=/etc/init.d/../conf.d
+ _c=syslog-ng
+ '[' -n syslog-ng -a syslog-ng '!=' syslog-ng ']'
+ unset _c
+ sourcex -e /etc/init.d/../conf.d/syslog-ng.default
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/syslog-ng.default ']'
+ return 1
+ sourcex -e /etc/init.d/../conf.d/syslog-ng
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/syslog-ng ']'
+ . /etc/init.d/../conf.d/syslog-ng
++ SYSLOG_NG_OPTS=
+ 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/syslog-ng
+ 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
++ extra_commands='healthcheck unhealthy '
+ sourcex /etc/init.d/syslog-ng
+ '[' /etc/init.d/syslog-ng = -e ']'
+ . /etc/init.d/syslog-ng
++ : /etc/syslog-ng/syslog-ng.conf
++ : /var/lib/syslog-ng
++ : /var/lib/syslog-ng/syslog-ng.persist
++ : /run
++ : /run/syslog-ng.pid
++ : /run/syslog-ng.ctl
++ : root
++ : root
++ command=/usr/bin/syslog-ng
++ command_args='--cfgfile "/etc/syslog-ng/syslog-ng.conf" --control "/run/syslog-ng.ctl" --persist-file "/var/lib/syslog-ng/syslog-ng.persist" --pidfile "/run/syslog-ng.pid" '
++ command_user=root:root
++ extra_commands=checkconfig
++ extra_started_commands=reload
++ pidfile=/run/syslog-ng.pid
++ description='Syslog-ng is a syslog replacement with advanced filtering features.'
++ description_checkconfig='Check the configuration file that will be used by "start"'
++ description_reload='Reload the configuration without exiting'
++ required_files=/etc/syslog-ng/syslog-ng.conf
++ required_dirs=/run
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ for _cmd in "[email protected]"
+ '[' 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/syslog-ng
+ mkdir -p /sys/fs/cgroup/openrc/syslog-ng
+ '[' -w /sys/fs/cgroup/openrc/syslog-ng/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/syslog-ng
+ '[' '!' -d /sys/fs/cgroup/unified/syslog-ng ']'
+ mkdir /sys/fs/cgroup/unified/syslog-ng
+ '[' -f /sys/fs/cgroup/unified/syslog-ng/cgroup.procs ']'
+ printf 0
+ '[' -z '' ']'
+ return 0
+ break
+ eval 'printf '\''%s\n'\'' /run'
++ printf '%s\n' /run
+ read _d
+ '[' -n /run ']'
+ '[' '!' -d /run ']'
+ read _d
+ '[' 0 -ne 0 ']'
+ unset _d
+ eval 'printf '\''%s\n'\'' /etc/syslog-ng/syslog-ng.conf'
++ printf '%s\n' /etc/syslog-ng/syslog-ng.conf
+ read _f
+ '[' -n /etc/syslog-ng/syslog-ng.conf ']'
+ '[' '!' -r /etc/syslog-ng/syslog-ng.conf ']'
+ 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_started_commands
+ '[' reload = start ']'
+ 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
+ checkconfig
+ ebegin 'Checking your configfile (/etc/syslog-ng/syslog-ng.conf)'
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
+ syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf
+ eend 0 'Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)'                                                                                      [ ok ]
+ checkpath -d --mode 0700 --owner root:root /var/lib/syslog-ng
+ start
+ default_start
+ local func=ssd_start
+ case "$supervisor" in
+ ssd_start
+ '[' -z /usr/bin/syslog-ng ']'
+ local _background=
+ ebegin 'Starting syslog-ng'
 * Starting syslog-ng ...
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ eval start-stop-daemon --start --exec /usr/bin/syslog-ng --pidfile /run/syslog-ng.pid --user root:root -- --cfgfile '"/etc/syslog-ng/syslog-ng.conf"' --control '"/run/syslog-ng.ctl"' --persist-file '"/var/lib/syslog-ng/syslog-ng.persist"' --pidfile '"/run/syslog-ng.pid"'
++ start-stop-daemon --start --exec /usr/bin/syslog-ng --pidfile /run/syslog-ng.pid --user root:root -- --cfgfile /etc/syslog-ng/syslog-ng.conf --control /run/syslog-ng.ctl --persist-file /var/lib/syslog-ng/syslog-ng.persist --pidfile /run/syslog-ng.pid
 * start-stop-daemon: fopen `/run/syslog-ng.pid': No such file or directory
 * Detaching to start `/usr/bin/syslog-ng' ...
[2020-01-16T14:03:56.515151] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
+ eend 0 'Failed to start syslog-ng'                                                                                                                                            [ ok ]
+ service_set_value command /usr/bin/syslog-ng
+ '[' -n '' ']'
+ '[' -n /run/syslog-ng.pid ']'
+ service_set_value pidfile /run/syslog-ng.pid
+ '[' -n '' ']'
+ return 0
++ command -v start_post
+ '[' '' = start_post ']'
++ command -v cgroup_cleanup
+ '[' cgroup_cleanup = cgroup_cleanup ']'
+ '[' start = stop ']'
++ command -v cgroup2_remove
+ '[' cgroup2_remove = cgroup2_remove ']'
+ '[' start = stop ']'
+ '[' -z /usr/bin/syslog-ng ']'
+ shift
+ continue 2
+ '[' -n '' ']'
+ exit 0


A possibility that it was started on both  boot and on default runlevels?