Ticket #153: bootmisc.log

File bootmisc.log, 6.1 KB (added by xenoterracide@gmail.com, 18 months ago)

/etc/init.d/bootmisc --debug zap start 2> bootmisc.log

Line 
1+ _conf_d=/etc/init.d/../conf.d
2+ _c=bootmisc
3+ '[' -n bootmisc -a bootmisc '!=' bootmisc ']'
4+ unset _c
5+ '[' -e /etc/init.d/../conf.d/bootmisc.default ']'
6+ '[' -e /etc/init.d/../conf.d/bootmisc ']'
7+ . /etc/init.d/../conf.d/bootmisc
8++ wipe_tmp_dirs=/tmp
9++ wipe_tmp=NO
10+ unset _conf_d
11+ '[' -e /etc/rc.conf ']'
12+ . /etc/rc.conf
13++ rc_parallel=NO
14++ rc_interactive=YES
15++ rc_depend_strict=NO
16++ rc_logger=YES
17++ unicode=YES
18++ net_fs_list='afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs'
19++ rc_tty_number=12
20+ '[' -n '' ']'
21+ . /etc/init.d/bootmisc
22+ unset _d
23+ unset _f
24+ '[' -n start ']'
25+ for _cmd in describe start stop '${extra_commands:-${opts}}' '${extra_started_commands}'
26+ '[' describe = start ']'
27+ for _cmd in describe start stop '${extra_commands:-${opts}}' '${extra_started_commands}'
28+ '[' start = start ']'
29++ command -v start
30+ '[' start = start ']'
31+ yesno
32+ '[' -z '' ']'
33+ return 1
34+ unset _cmd
35++ command -v start_pre
36+ '[' '' = start_pre ']'
37+ start
38+ local logw=false
39+ for x in /var/log /var/run /tmp
40+ '[' -d /var/log ']'
41+ for x in /var/log /var/run /tmp
42+ '[' -d /var/run ']'
43+ for x in /var/log /var/run /tmp
44+ '[' -d /tmp ']'
45+ dir_writeable /var/run
46+ mkdir /var/run/.test.28062
47+ rmdir /var/run/.test.28062
48+ ebegin 'Creating user login records'
49+ cp /dev/null /var/run/utmp
50+ chgrp utmp /var/run/utmp
51+ chmod 0664 /var/run/utmp
52+ dir_writeable /var/log
53+ mkdir /var/log/.test.28062
54+ rmdir /var/log/.test.28062
55+ logw=true
56+ '[' -e /var/log/wtmp ']'
57+ chgrp utmp /var/log/wtmp
58+ chmod 0664 /var/log/wtmp
59+ eend 0
60+ ebegin 'Cleaning /var/run'
61++ find /var/run '!' -type d '!' -name utmp '!' -name random-seed '!' -name dev.db '!' -name ld-elf.so.hints '!' -name ld.so.hints
62+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
63+ '[' -S /var/run/dbus.pid ']'
64+ '[' '!' -f /var/run/dbus.pid ']'
65+ case "${x}" in
66+ start-stop-daemon --test --quiet --stop --pidfile /var/run/dbus.pid
67+ continue
68+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
69+ '[' -S /var/run/dbus/system_bus_socket ']'
70+ type fuser
71+ fuser /var/run/dbus/system_bus_socket
72+ '[' '!' -f /var/run/dbus/system_bus_socket ']'
73+ continue
74+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
75+ '[' -S /var/run/named/named.pid ']'
76+ '[' '!' -f /var/run/named/named.pid ']'
77+ case "${x}" in
78+ start-stop-daemon --test --quiet --stop --pidfile /var/run/named/named.pid
79+ continue
80+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
81+ '[' -S /var/run/screen/S-root/9329.pts-0.slave-iv ']'
82+ '[' '!' -f /var/run/screen/S-root/9329.pts-0.slave-iv ']'
83+ continue
84+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
85+ '[' -S /var/run/xdmctl/dmctl/socket ']'
86+ type fuser
87+ fuser /var/run/xdmctl/dmctl/socket
88+ '[' '!' -f /var/run/xdmctl/dmctl/socket ']'
89+ continue
90+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
91+ '[' -S /var/run/xdmctl/dmctl-:0/socket ']'
92+ type fuser
93+ fuser /var/run/xdmctl/dmctl-:0/socket
94+ '[' '!' -f /var/run/xdmctl/dmctl-:0/socket ']'
95+ continue
96+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
97+ '[' -S /var/run/ntpd.pid ']'
98+ '[' '!' -f /var/run/ntpd.pid ']'
99+ case "${x}" in
100+ start-stop-daemon --test --quiet --stop --pidfile /var/run/ntpd.pid
101+ continue
102+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
103+ '[' -S /var/run/hald.pid ']'
104+ '[' '!' -f /var/run/hald.pid ']'
105+ case "${x}" in
106+ start-stop-daemon --test --quiet --stop --pidfile /var/run/hald.pid
107+ continue
108+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
109+ '[' -S /var/run/postgresql/.s.PGSQL.5432 ']'
110+ type fuser
111+ fuser /var/run/postgresql/.s.PGSQL.5432
112+ '[' '!' -f /var/run/postgresql/.s.PGSQL.5432 ']'
113+ continue
114+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
115+ '[' -S /var/run/cron.pid ']'
116+ '[' '!' -f /var/run/cron.pid ']'
117+ case "${x}" in
118+ start-stop-daemon --test --quiet --stop --pidfile /var/run/cron.pid
119+ continue
120+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
121+ '[' -S /var/run/kdm.pid ']'
122+ '[' '!' -f /var/run/kdm.pid ']'
123+ case "${x}" in
124+ start-stop-daemon --test --quiet --stop --pidfile /var/run/kdm.pid
125+ continue
126+ for x in '$(find /var/run ! -type d ! -name utmp                      ! -name random-seed ! -name dev.db                      ! -name ld-elf.so.hints ! -name ld.so.hints)'
127+ '[' -S /var/run/dhcpcd-eth0.pid ']'
128+ '[' '!' -f /var/run/dhcpcd-eth0.pid ']'
129+ case "${x}" in
130+ start-stop-daemon --test --quiet --stop --pidfile /var/run/dhcpcd-eth0.pid
131+ continue
132+ eend 0
133+ local tmp=
134+ for tmp in '${wipe_tmp_dirs-/tmp}'
135+ cleanup_tmp_dir /tmp
136+ local dir=/tmp
137+ '[' -d /tmp ']'
138+ dir_writeable /tmp
139+ mkdir /tmp/.test.28062
140+ rmdir /tmp/.test.28062
141+ chmod +t /tmp
142+ cd /tmp
143+ yesno NO
144+ '[' -z NO ']'
145+ case "$1" in
146+ return 1
147+ ebegin 'Cleaning /tmp directory'
148+ rm -rf -- '/tmp/.X*-lock' '/tmp/esrv*' '/tmp/kio*' '/tmp/jpsock.*' '/tmp/.fam*' '/tmp/.esd*' '/tmp/orbit-*' '/tmp/ssh-*' /tmp/ksocket-xenoterracide /tmp/.ICE-unix /tmp/.X11-unix
149+ eend 0
150+ dir_writeable /tmp
151+ mkdir /tmp/.test.28062
152+ rmdir /tmp/.test.28062
153+ rm -rf /tmp/.ICE-unix /tmp/.X11-unix
154+ mkdir -p /tmp/.ICE-unix /tmp/.X11-unix
155+ chmod 1777 /tmp/.ICE-unix /tmp/.X11-unix
156+ '[' -x /sbin/restorecon ']'
157+ true
158+ '[' '' '!=' VSERVER -a '' '!=' OPENVZ ']'
159+ dmesg
160+ chmod 640 /var/log/dmesg
161+ rm -f /etc/nologin
162+ return 0
163++ command -v start_post
164+ '[' '' = start_post ']'
165+ shift
166+ continue 2
167+ '[' -n '' ']'