I keep my Squeeze box up to date each day. In the last week or so I noticed
openafs-client failing to start randomly at boot time. My openafs-client start
script checks for connection to the afs server before starting. I also have
dnsmasq running. I notice that when openafs-client fails to start that dnsmasq
is started after openafs-client attempts to start. When openafs-client
successfully starts, dnsmasq has been started before openafs-client tries to
start. I don't know for sure if this is what causes openafs-client to fail or
not. It is just what I noticed.
Here is a clip of the boot log when openafs-client starts successfully:
Thu Jun 17 09:36:37 2010: Setting parameters of disc: (none).
Thu Jun 17 09:36:37 2010: Setting preliminary keymap...done.
Thu Jun 17 09:36:37 2010: Activating swap...done.
Thu Jun 17 09:36:37 2010: Checking root file system...fsck from util-linux-ng
2.16.2
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda2: clean, 18346/48288 files, 118420/192780
blocks
Thu Jun 17 09:36:37 2010: done.
Thu Jun 17 09:36:37 2010: Cleaning up ifupdown....
Thu Jun 17 09:36:37 2010: Loading kernel modules...done.
Thu Jun 17 09:36:37 2010: Activating lvm and md swap...done.
Thu Jun 17 09:36:37 2010: Checking file systems...fsck from util-linux-ng
2.16.2
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda10: clean, 109603/4136960 files,
2787412/16540917 blocks
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda8: clean, 43949/640848 files, 615738/2560351
blocks
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda3: clean, 41/159680 files, 27366/638583
blocks (check after next mount)
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda9: clean, 365597/2689904 files,
2503071/10753501 blocks
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda5: clean, 22221/640848 files, 687109/2562359
blocks
Thu Jun 17 09:36:37 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 09:36:37 2010: /dev/sda6: clean, 265/128520 files, 78986/514048
blocks
Thu Jun 17 09:36:37 2010: done.
Thu Jun 17 09:36:37 2010: Mounting local filesystems...done.
Thu Jun 17 09:36:37 2010: Activating swapfile swap...done.
Thu Jun 17 09:36:38 2010: Cleaning up temporary files....
Thu Jun 17 09:36:38 2010: Setting kernel variables ...error:
"net.ipv6.bindv6only" is an unknown key
Thu Jun 17 09:36:38 2010: ^[[31mfailed.^[[39;49m
Thu Jun 17 09:36:38 2010: Setting up resolvconf...done.
Thu Jun 17 09:36:39 2010: Setting up networking....
Thu Jun 17 09:36:39 2010: Configuring network interfaces...Stopping the
Firestarter firewall....
Thu Jun 17 09:36:40 2010: Starting the Firestarter firewall... failed!
Thu Jun 17 09:36:40 2010: invoke-rc.d: initscript firestarter, action "restart"
failed.
Thu Jun 17 09:36:40 2010: run-parts: /etc/network/if-up.d/50firestarter exited
with return code 2
Thu Jun 17 09:36:40 2010: Internet Systems Consortium DHCP Client V3.1.3
Thu Jun 17 09:36:40 2010: Copyright 2004-2009 Internet Systems Consortium.
Thu Jun 17 09:36:40 2010: All rights reserved.
Thu Jun 17 09:36:40 2010: For info, please visit
https://www.isc.org/software/dhcp/
Thu Jun 17 09:36:40 2010:
Thu Jun 17 09:36:40 2010: Listening on LPF/eth0/00:22:68:15:72:5e
Thu Jun 17 09:36:40 2010: Sending on LPF/eth0/00:22:68:15:72:5e
Thu Jun 17 09:36:40 2010: Sending on Socket/fallback
Thu Jun 17 09:36:41 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 6
Thu Jun 17 09:36:47 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 14
Thu Jun 17 09:37:01 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 17
Thu Jun 17 09:37:01 2010: DHCPOFFER from 9.61.249.4
Thu Jun 17 09:37:01 2010: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Thu Jun 17 09:37:01 2010: DHCPACK from 9.61.249.3
Thu Jun 17 09:37:05 2010: bound to 9.61.249.68 -- renewal in 18275 seconds.
Thu Jun 17 09:37:05 2010: Stopping the Firestarter firewall....
Thu Jun 17 09:37:05 2010: Starting the Firestarter firewall....
Thu Jun 17 09:37:07 2010: done.
Thu Jun 17 09:37:07 2010: Starting portmap daemon....
Thu Jun 17 09:37:07 2010: Starting NFS common utilities: statd.
Thu Jun 17 09:37:07 2010: Cleaning up temporary files....
Thu Jun 17 09:37:07 2010: Setting up ALSA...done.
Thu Jun 17 09:37:07 2010: Setting console screen modes and fonts.
Thu Jun 17 09:37:07 2010: ^[]R^[[9;30]^[[14;30]Setting up console font and
keymap...done.
Thu Jun 17 09:37:09 2010: Setting sensors limits.
Thu Jun 17 09:37:09 2010: Running scripts in rcS.d/ took 14436 seconds.
Thu Jun 17 09:37:09 2010: INIT: Entering runlevel: 2
Thu Jun 17 09:37:09 2010: Using makefile-style concurrent boot in runlevel 2.
Thu Jun 17 09:37:09 2010: Starting portmap daemon...Already running..
Thu Jun 17 09:37:09 2010: udevd-work[1034]: kernel-provided name 'uinput' and
NAME= 'input/uinput' disagree, please use SYMLINK+= or change the kernel to
provide the proper name
Thu Jun 17 09:37:09 2010:
Thu Jun 17 09:37:09 2010: Starting NFS common utilities: statd.
Thu Jun 17 09:37:09 2010: Loading kvm module kvm_intel.
Thu Jun 17 09:37:09 2010: Starting acpi_fakekey daemon...done.
Thu Jun 17 09:37:09 2010: Starting enhanced syslogd: rsyslogd.
Thu Jun 17 09:37:09 2010: Thu Jun 17 09:37:09 2010: Starting hdapsd
Thu Jun 17 09:37:09 2010: Thu Jun 17 09:37:09 2010: Selected interface: HDAPS
Thu Jun 17 09:37:09 2010: Thu Jun 17 09:37:09 2010: Selected HDAPS input
device: /dev/input/event17
Thu Jun 17 09:37:10 2010: Starting system message bus: dbus.
Thu Jun 17 09:37:10 2010: Enabling additional executable binary formats:
binfmt-support.
Thu Jun 17 09:37:10 2010: Starting ACPI services....
Thu Jun 17 09:37:10 2010: Checking battery state...done.
Thu Jun 17 09:37:10 2010: Starting anac(h)ronistic cron: anacron.
Thu Jun 17 09:37:11 2010: Starting AGNS Log Daemon:
Thu Jun 17 09:37:11 2010: Starting network connection manager: NetworkManager.
Thu Jun 17 09:37:11 2010: Starting AGNS NetCilient Daemon:
Thu Jun 17 09:37:11 2010: Starting web server: apache2apache2: Could not
reliably determine the server's fully qualified domain name, using 127.0.0.1
for ServerName
Thu Jun 17 09:37:12 2010: .
Thu Jun 17 09:37:12 2010: Starting Hardware abstraction layer: hald.
Thu Jun 17 09:37:14 2010: Starting virtual private network daemon:.
Thu Jun 17 09:37:14 2010: Starting GNOME Display Manager: gdm.
Thu Jun 17 09:37:15 2010: Starting deferred execution scheduler: atd.
Thu Jun 17 09:37:15 2010: Starting atop system monitor: atop.
Thu Jun 17 09:37:15 2010: Starting automounter: loading autofs4 kernel module,
no automount maps defined.
Thu Jun 17 09:37:15 2010: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Thu Jun 17 09:37:15 2010: Starting bluetooth: bluetoothd.
Thu Jun 17 09:37:16 2010: /etc/environment has been depreciated for locale
information; use /etc/default/locale for LANG=en_US instead ...
^[[33m(warning).^[[39;49m
Thu Jun 17 09:37:16 2010: /etc/environment has been depreciated for locale
information; use /etc/default/locale for LANGUAGE="en_US:en_GB:en" instead ...
^[[33m(warning).^[[39;49m
Thu Jun 17 09:37:16 2010: Starting periodic command scheduler: cron.
Thu Jun 17 09:37:16 2010: Starting Common Unix Printing System: cupsd.
Thu Jun 17 09:37:17 2010: Starting DNS forwarder and DHCP server: dnsmasq.
Thu Jun 17 09:37:17 2010: saned disabled; edit /etc/default/saned
Thu Jun 17 09:37:17 2010: SSL tunnels disabled, see /etc/default/stunnel4
Thu Jun 17 09:37:17 2010: Starting the Firestarter firewall....
Thu Jun 17 09:37:17 2010: Starting sensor daemon: sensord.
Thu Jun 17 09:37:18 2010: Starting NTP server: ntpd.
Thu Jun 17 09:37:18 2010: Loading cpufreq kernel modules...done (acpi-cpufreq).
Thu Jun 17 09:37:18 2010: Starting OpenBSD Secure Shell server: sshd.
Thu Jun 17 09:37:18 2010: CPUFreq Utilities: Setting ondemand CPUFreq
governor...CPU0...CPU1...done.
Thu Jun 17 09:37:19 2010: Starting tsm-client: scheduler.
Thu Jun 17 09:37:19 2010:
Thu Jun 17 09:37:19 2010: 1st attempt to contact IBM Intranet
Thu Jun 17 09:37:19 2010: Checking for IBM Intranet Activity - SUCCESS
Thu Jun 17 09:37:19 2010:
Thu Jun 17 09:37:19 2010: Checking 9.56.253.117 is reachable...
Thu Jun 17 09:37:19 2010: 9.56.253.117 is reachable, starting afs
Thu Jun 17 09:37:19 2010: Starting AFS services: openafs afsd.
Thu Jun 17 09:37:19 2010: afsd: All AFS daemons started.
Thu Jun 17 09:37:19 2010: Starting MTA:Starting up Cisco VPN daemon
Thu Jun 17 09:37:20 2010: Starting kerneloops:
Thu Jun 17 09:37:21 2010: NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL,
using backend: 3.3.0)
Thu Jun 17 09:37:21 2010: NX> 500 Error: No running sessions found.
Thu Jun 17 09:37:21 2010: NX> 999 Bye
Thu Jun 17 09:37:21 2010: NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL,
using backend: 3.3.0)
Thu Jun 17 09:37:21 2010: NX> 122 Service started
Thu Jun 17 09:37:21 2010: NX> 999 Bye
Thu Jun 17 09:37:25 2010: exim4.
Here is a clip of the boot when openafs-client failed to start:
Thu Jun 17 08:02:43 2010: Setting parameters of disc: (none).
Thu Jun 17 08:02:43 2010: Setting preliminary keymap...done.
Thu Jun 17 08:02:43 2010: Activating swap...done.
Thu Jun 17 08:02:43 2010: Checking root file system...fsck from util-linux-ng
2.16.2
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda2: clean, 18344/48288 files, 118417/192780
blocks
Thu Jun 17 08:02:43 2010: done.
Thu Jun 17 08:02:43 2010: Cleaning up ifupdown....
Thu Jun 17 08:02:43 2010: Loading kernel modules...done.
Thu Jun 17 08:02:43 2010: Activating lvm and md swap...done.
Thu Jun 17 08:02:43 2010: Checking file systems...fsck from util-linux-ng
2.16.2
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda10: clean, 109410/4136960 files,
2786729/16540917 blocks
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda8: clean, 43949/640848 files, 615738/2560351
blocks
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda3: clean, 42/159680 files, 27366/638583
blocks (check in 2 mounts)
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda9: clean, 365495/2689904 files,
2501854/10753501 blocks
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda5: clean, 22161/640848 files, 677545/2562359
blocks
Thu Jun 17 08:02:43 2010: e2fsck 1.41.12 (17-May-2010)
Thu Jun 17 08:02:43 2010: /dev/sda6: clean, 265/128520 files, 79471/514048
blocks
Thu Jun 17 08:02:43 2010: done.
Thu Jun 17 08:02:43 2010: Mounting local filesystems...done.
Thu Jun 17 08:02:44 2010: Activating swapfile swap...done.
Thu Jun 17 08:02:44 2010: Cleaning up temporary files....
Thu Jun 17 08:02:44 2010: Setting kernel variables ...error:
"net.ipv6.bindv6only" is an unknown key
Thu Jun 17 08:02:44 2010: ^[[31mfailed.^[[39;49m
Thu Jun 17 08:02:44 2010: Setting up resolvconf...done.
Thu Jun 17 08:02:45 2010: Setting up networking....
Thu Jun 17 08:02:45 2010: Configuring network interfaces...Stopping the
Firestarter firewall....
Thu Jun 17 08:02:46 2010: Starting the Firestarter firewall... failed!
Thu Jun 17 08:02:46 2010: invoke-rc.d: initscript firestarter, action "restart"
failed.
Thu Jun 17 08:02:46 2010: run-parts: /etc/network/if-up.d/50firestarter exited
with return code 2
Thu Jun 17 08:02:46 2010: Internet Systems Consortium DHCP Client V3.1.3
Thu Jun 17 08:02:46 2010: Copyright 2004-2009 Internet Systems Consortium.
Thu Jun 17 08:02:46 2010: All rights reserved.
Thu Jun 17 08:02:46 2010: For info, please visit
https://www.isc.org/software/dhcp/
Thu Jun 17 08:02:46 2010:
Thu Jun 17 08:02:46 2010: Listening on LPF/eth0/00:22:68:15:72:5e
Thu Jun 17 08:02:46 2010: Sending on LPF/eth0/00:22:68:15:72:5e
Thu Jun 17 08:02:46 2010: Sending on Socket/fallback
Thu Jun 17 08:02:48 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 4
Thu Jun 17 08:02:52 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 5
Thu Jun 17 08:02:57 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67
interval 9
Thu Jun 17 08:02:57 2010: DHCPOFFER from 9.61.249.3
Thu Jun 17 08:02:57 2010: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Thu Jun 17 08:03:03 2010: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Thu Jun 17 08:03:03 2010: DHCPACK from 9.61.249.3
Thu Jun 17 08:03:05 2010: bound to 9.61.249.68 -- renewal in 18329 seconds.
Thu Jun 17 08:03:05 2010: Stopping the Firestarter firewall....
Thu Jun 17 08:03:05 2010: Starting the Firestarter firewall....
Thu Jun 17 08:03:05 2010: done.
Thu Jun 17 08:03:05 2010: Starting portmap daemon....
Thu Jun 17 08:03:05 2010: Starting NFS common utilities: statd.
Thu Jun 17 08:03:05 2010: Cleaning up temporary files....
Thu Jun 17 08:03:05 2010: Setting up ALSA...done.
Thu Jun 17 08:03:06 2010: Setting console screen modes and fonts.
Thu Jun 17 08:03:06 2010: ^[]R^[[9;30]^[[14;30]Setting up console font and
keymap...done.
Thu Jun 17 08:03:07 2010: Setting sensors limits.
Thu Jun 17 08:03:07 2010: Running scripts in rcS.d/ took 14428 seconds.
Thu Jun 17 08:03:07 2010: INIT: Entering runlevel: 2
Thu Jun 17 08:03:07 2010: Using makefile-style concurrent boot in runlevel 2.
Thu Jun 17 08:03:07 2010: udevd-work[1008]: kernel-provided name 'uinput' and
NAME= 'input/uinput' disagree, please use SYMLINK+= or change the kernel to
provide the proper name
Thu Jun 17 08:03:07 2010:
Thu Jun 17 08:03:07 2010: Starting portmap daemon...Already running..
Thu Jun 17 08:03:07 2010: Starting NFS common utilities: statd.
Thu Jun 17 08:03:07 2010: Starting acpi_fakekey daemon...done.
Thu Jun 17 08:03:07 2010: Loading kvm module kvm_intel.
Thu Jun 17 08:03:08 2010: Starting enhanced syslogd: rsyslogd.
Thu Jun 17 08:03:08 2010: Thu Jun 17 08:03:07 2010: Starting hdapsd
Thu Jun 17 08:03:08 2010: Thu Jun 17 08:03:08 2010: Selected interface: HDAPS
Thu Jun 17 08:03:08 2010: Thu Jun 17 08:03:08 2010: Selected HDAPS input
device: /dev/input/event17
Thu Jun 17 08:03:08 2010: Enabling additional executable binary formats:
binfmt-support.
Thu Jun 17 08:03:08 2010: Starting system message bus: dbus.
Thu Jun 17 08:03:08 2010: Starting ACPI services....
Thu Jun 17 08:03:09 2010: Starting network connection manager: NetworkManager.
Thu Jun 17 08:03:09 2010: Starting Hardware abstraction layer: hald.
Thu Jun 17 08:03:10 2010: Starting virtual private network daemon:.
Thu Jun 17 08:03:10 2010: Starting GNOME Display Manager: gdm.
Thu Jun 17 08:03:11 2010: Checking battery state...done.
Thu Jun 17 08:03:11 2010: Starting AGNS Log Daemon:
Thu Jun 17 08:03:12 2010: Starting AGNS NetCilient Daemon:
Thu Jun 17 08:03:13 2010: Starting anac(h)ronistic cron: anacron.
Thu Jun 17 08:03:13 2010: Starting web server: apache2apache2: Could not
reliably determine the server's fully qualified domain name, using 127.0.0.1
for ServerName
Thu Jun 17 08:03:13 2010: .
Thu Jun 17 08:03:14 2010: Starting deferred execution scheduler: atd.
Thu Jun 17 08:03:14 2010: Starting atop system monitor: atop.
Thu Jun 17 08:03:14 2010: Starting automounter: loading autofs4 kernel module,
no automount maps defined.
Thu Jun 17 08:03:14 2010: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Thu Jun 17 08:03:14 2010: Starting bluetooth: bluetoothd.
Thu Jun 17 08:03:15 2010: /etc/environment has been depreciated for locale
information; use /etc/default/locale for LANG=en_US instead ...
^[[33m(warning).^[[39;49m
Thu Jun 17 08:03:15 2010: /etc/environment has been depreciated for locale
information; use /etc/default/locale for LANGUAGE="en_US:en_GB:en" instead ...
^[[33m(warning).^[[39;49m
Thu Jun 17 08:03:15 2010: Starting periodic command scheduler: cron.
Thu Jun 17 08:03:15 2010: Starting Common Unix Printing System: cupsdStarting
the Firestarter firewall....
Thu Jun 17 08:03:16 2010: Starting NTP server: ntpd.
Thu Jun 17 08:03:16 2010:
Thu Jun 17 08:03:16 2010: 1st attempt to contact IBM Intranet
Thu Jun 17 08:03:16 2010: Checking for IBM Intranet Activity - FAILED.
Thu Jun 17 08:03:16 2010:
Thu Jun 17 08:03:16 2010: 2nd attempt to contact IBM Intranet
Thu Jun 17 08:03:16 2010: Checking for IBM Intranet Activity - FAILED.
Thu Jun 17 08:03:16 2010:
Thu Jun 17 08:03:16 2010: 3rd attempt to contact IBM Intranet
Thu Jun 17 08:03:16 2010: Checking for IBM Intranet Activity - FAILED.
Thu Jun 17 08:03:16 2010: quitting
Thu Jun 17 08:03:16 2010: AFS will not start
Thu Jun 17 08:03:16 2010: Loading cpufreq kernel modules...done (acpi-cpufreq).
Thu Jun 17 08:03:16 2010: .
Thu Jun 17 08:03:16 2010: CPUFreq Utilities: Setting ondemand CPUFreq
governor...CPU0...CPU1...done.
Thu Jun 17 08:03:16 2010: saned disabled; edit /etc/default/saned
Thu Jun 17 08:03:16 2010: Starting sensor daemon: sensord.
Thu Jun 17 08:03:17 2010: Starting DNS forwarder and DHCP server: dnsmasq.
Thu Jun 17 08:03:17 2010: Starting OpenBSD Secure Shell server: sshd.
Thu Jun 17 08:03:17 2010: Starting MTA:SSL tunnels disabled, see
/etc/default/stunnel4
Thu Jun 17 08:03:18 2010: Starting kerneloops:
Thu Jun 17 08:03:19 2010: exim4.
Thu Jun 17 08:03:19 2010: Starting up Cisco VPN daemon
Thu Jun 17 08:03:19 2010: Starting tsm-client: scheduler.
Thu Jun 17 08:03:20 2010: NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL,
using backend: 3.3.0)
Thu Jun 17 08:03:20 2010: NX> 500 Error: No running sessions found.
Thu Jun 17 08:03:20 2010: NX> 999 Bye
Thu Jun 17 08:03:20 2010: NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL,
using backend: 3.3.0)
Thu Jun 17 08:03:20 2010: NX> 122 Service started
Thu Jun 17 08:03:20 2010: NX> 999 Bye
I'm not sure how all of the startup scripts work exactly but here is my
/etc/rc2.d directory: