Package: openafs-client Version: 1.4.12.1+dfsg-1 Severity: important 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: -rw-r--r-- 1 root root 677 May 30 09:01 README lrwxrwxrwx 1 root root 16 Nov 4 2009 S01hdapsd -> ../init.d/hdapsd lrwxrwxrwx 1 root root 18 Mar 22 16:27 S01qemu-kvm -> ../init.d/qemu-kvm lrwxrwxrwx 1 root root 17 Mar 8 08:10 S16portmap -> ../init.d/portmap lrwxrwxrwx 1 root root 20 Nov 2 2009 S17nfs-common -> ../init.d/nfs-common lrwxrwxrwx 1 root root 22 May 17 08:09 S19acpi-fakekey -> ../init.d/acpi- fakekey lrwxrwxrwx 1 root root 24 Nov 2 2009 S19binfmt-support -> ../init.d/binfmt- support lrwxrwxrwx 1 root root 20 Feb 18 08:11 S19fancontrol -> ../init.d/fancontrol lrwxrwxrwx 1 root root 17 Nov 2 2009 S19rsyslog -> ../init.d/rsyslog lrwxrwxrwx 1 root root 14 May 3 08:11 S19sudo -> ../init.d/sudo lrwxrwxrwx 1 root root 17 Apr 21 10:16 S20apache2 -> ../init.d/apache2 lrwxrwxrwx 1 root root 15 Apr 21 10:16 S21acpid -> ../init.d/acpid lrwxrwxrwx 1 root root 22 May 17 08:09 S21acpi-support -> ../init.d/acpi- support lrwxrwxrwx 1 root root 20 Apr 21 10:16 S21agnclientd -> ../init.d/agnclientd lrwxrwxrwx 1 root root 17 Apr 21 10:16 S21agnLogd -> ../init.d/agnLogd lrwxrwxrwx 1 root root 17 Apr 21 10:16 S21anacron -> ../init.d/anacron lrwxrwxrwx 1 root root 14 Apr 21 10:16 S21apmd -> ../init.d/apmd lrwxrwxrwx 1 root root 13 Apr 21 10:16 S21atd -> ../init.d/atd lrwxrwxrwx 1 root root 14 Apr 21 10:16 S21atop -> ../init.d/atop lrwxrwxrwx 1 root root 16 Apr 21 10:16 S21autofs -> ../init.d/autofs lrwxrwxrwx 1 root root 14 Apr 21 10:16 S21dbus -> ../init.d/dbus lrwxrwxrwx 1 root root 17 Apr 21 10:16 S21dnsmasq -> ../init.d/dnsmasq lrwxrwxrwx 1 root root 21 Apr 21 10:16 S21firestarter -> ../init.d/firestarter lrwxrwxrwx 1 root root 17 Apr 21 10:16 S21hddtemp -> ../init.d/hddtemp lrwxrwxrwx 1 root root 21 May 27 08:50 S21loadcpufreq -> ../init.d/loadcpufreq lrwxrwxrwx 1 root root 13 Apr 21 10:16 S21ntp -> ../init.d/ntp lrwxrwxrwx 1 root root 24 Apr 21 10:16 S21openafs-client -> ../init.d/openafs- client lrwxrwxrwx 1 root root 17 Apr 21 10:16 S21sensord -> ../init.d/sensord lrwxrwxrwx 1 root root 13 Apr 21 10:16 S21ssh -> ../init.d/ssh lrwxrwxrwx 1 root root 18 Apr 21 10:16 S21stunnel4 -> ../init.d/stunnel4 lrwxrwxrwx 1 root root 20 Apr 21 10:16 S21tsm-client -> ../init.d/tsm-client lrwxrwxrwx 1 root root 22 Apr 21 10:16 S22avahi-daemon -> ../init.d/avahi- daemon lrwxrwxrwx 1 root root 19 Apr 21 10:16 S22bluetooth -> ../init.d/bluetooth lrwxrwxrwx 1 root root 22 May 27 08:50 S22cpufrequtils -> .../init.d/cpufrequtils lrwxrwxrwx 1 root root 14 May 27 08:50 S22cron -> ../init.d/cron lrwxrwxrwx 1 root root 15 Apr 21 10:16 S22exim4 -> ../init.d/exim4 lrwxrwxrwx 1 root root 23 Apr 21 10:16 S22freenx-server -> ../init.d/freenx- server lrwxrwxrwx 1 root root 13 Apr 21 10:16 S22hal -> ../init.d/hal lrwxrwxrwx 1 root root 20 Apr 21 10:16 S22kerneloops -> ../init.d/kerneloops lrwxrwxrwx 1 root root 25 Apr 21 10:16 S22network-manager -> ../init.d /network-manager lrwxrwxrwx 1 root root 20 Apr 21 10:16 S22pulseaudio -> ../init.d/pulseaudio lrwxrwxrwx 1 root root 15 Apr 21 10:16 S22rsync -> ../init.d/rsync lrwxrwxrwx 1 root root 19 Apr 21 10:16 S22vpnagentd -> ../init.d/vpnagentd lrwxrwxrwx 1 root root 17 Apr 21 10:16 S23openvpn -> ../init.d/openvpn lrwxrwxrwx 1 root root 14 Nov 18 2009 S24cups -> ../init.d/cups lrwxrwxrwx 1 root root 13 Feb 8 08:05 S24gdm -> ../init.d/gdm lrwxrwxrwx 1 root root 15 Nov 18 2009 S24saned -> ../init.d/saned lrwxrwxrwx 1 root root 18 Feb 8 08:05 S25bootlogs -> ../init.d/bootlogs lrwxrwxrwx 1 root root 18 Feb 8 08:05 S26rc.local -> ../init.d/rc.local lrwxrwxrwx 1 root root 19 Feb 8 08:05 S26rmnologin -> ../init.d/rmnologin lrwxrwxrwx 1 root root 23 Feb 8 08:05 S26stop-bootlogd -> ../init.d/stop- bootlogd bre...@belmer:/etc/rc2.d$ I see openafs-client and dnsmasq are both s21. Does anything break the tie or is that why they are started in different orders some time? -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32.100608 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openafs-client depends on: ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-2 shared libraries for terminal hand Versions of packages openafs-client recommends: ii 4.81.dfsg.1-1 List open files ii 1.4.11+dfsg-6+2.6.30.091211-10.00.Cu AFS distributed filesystem kernel ii 1.4.11+dfsg-6+2.6.32.100131-10.00.Cu AFS distributed filesystem kernel ii 1.4.11+dfsg-6+2.6.32.100210-10.00.Cu AFS distributed filesystem kernel ii 1.4.11+dfsg-6+2.6.32.100315-10.00.Cu AFS distributed filesystem kernel ii 1.4.12.1+dfsg-1+2.6.32.100608-10.00. AFS distributed filesystem kernel ii 1.4.12.1+dfsg-1 AFS distributed filesystem kernel Versions of packages openafs-client suggests: ii openafs-doc 1.4.12.1+dfsg-1 AFS distributed filesystem documen pn openafs-krb5 <none> (no description available) -- Configuration Files: /etc/init.d/openafs-client changed: PATH=/bin:/usr/bin:/sbin:/usr/sbin CACHEINFO=${CACHEINFO:-/etc/openafs/cacheinfo} MODULEROOT=${MODULEROOT:-/lib/modules/`uname -r`} MODULEDIR=${MODULEDIR:-$MODULEROOT/fs} DKMSDIR=${DKMSDIR:-$MODULEROOT/updates/dkms} exec 3>/dev/null exec </dev/null if [ -f /etc/openafs/afs.conf ]; then . /etc/openafs/afs.conf fi is_on() { if [ x"$1" = x"true" ] ; then return 0 else return 1 fi } choose_client() { # Use the second field of the uname -v output instead of just doing a # match on the whole thing to protect against matching a timezone named # SMP -- I don't know of one, but let's be paranoid. set X `uname -v`; shift case $2 in SMP) MP=.mp ;; # MP system *) MP= ;; # SP system esac # The Debian OpenAFS packages do not add the .mp by default as of 1.3, but # modules obtained from other sources may. If a module with the .mp # exists and this is an SMP system, use it; otherwise, use the default # value. Unset $MP if not using it so that we can use it later in the # call to modprobe. # # Assume that if we're using DKMS, we won't have a .mp and we'll always # have a *.ko module name. if [ -f "$DKMSDIR/openafs.ko" ] ; then LIBAFS=openafs.ko elif [ -n "$MP" -a -f "$MODULEDIR/openafs${MP}.o" ] ; then LIBAFS=openafs${MP}.o elif [ -n "$MP" -a -f "$MODULEDIR/openafs${MP}.ko" ] ; then LIBAFS=openafs${MP}.ko elif [ -f "$MODULEDIR/openafs.ko" ] ; then MP= LIBAFS=openafs.ko else MP= LIBAFS=openafs.o fi } load_client() { if [ -z "$LIBAFS" ] ; then choose_client fi if [ ! -f "$MODULEDIR/$LIBAFS" -a ! -f "$DKMSDIR/$LIBAFS" ] ; then echo "" cat <<EOF >&2 AFS module $MODULEDIR/$LIBAFS does not exist. Not starting AFS. Please consider building kernel modules using instructions in /usr/share/doc/openafs-client/README.modules EOF # We must exit successfully here or openafs-client will fail on # installation unless a module is installed. exit 0 fi sawdep=0 if grep -q openafs "$MODULEROOT/modules.dep" ; then sawdep=1 fi LOADED=`/sbin/lsmod | fgrep openafs` if [ -z "$LOADED" ] ; then modprobe openafs status=$? if [ $status = 0 ] ; then echo -n " openafs" fi # We must exit successfully here if the openafs module just isn't # listed in the dependency information for modprobe, which can happen # if openafs-client and the module package are installed at the same # time and the module hasn't been set up yet. if [ $sawdep = 0 ] ; then return 0 else return $status fi fi return 0 } choose_afsd_options() { if [ -z "$OPTIONS" ] || [ "$OPTIONS" = "AUTOMATIC" ] ; then AFSD_OPTIONS="$VERBOSE" else AFSD_OPTIONS="$OPTIONS $VERBOSE" fi # These variables are from /etc/openafs/afs.conf.client and are managed # automatically by debconf. if is_on $AFS_AFSDB ; then AFSD_OPTIONS="$AFSD_OPTIONS -afsdb" fi if is_on $AFS_DYNROOT ; then AFSD_OPTIONS="$AFSD_OPTIONS -dynroot" fi if is_on $AFS_FAKESTAT ; then AFSD_OPTIONS="$AFSD_OPTIONS -fakestat" fi } start_client() { if pidof /sbin/afsd >/dev/null || pidof /usr/sbin/afsd >/dev/null ; then echo "." else choose_afsd_options echo " afsd." start-stop-daemon --start --quiet --exec /sbin/afsd -- $AFSD_OPTIONS fi # From /etc/openafs/afs.conf.client, whether to enable fcrypt encryption. if is_on $AFS_CRYPT ; then fs setcrypt on fi # From /etc/openafs/afs.conf, set a sysname list if one was configured. if [ -n "$AFS_SYSNAME" ] ; then fs sysname $AFS_SYSNAME fi } kill_afs() { signal=$1 mount=`grep ^'AFS ' /etc/mtab | awk '{ print $2 }'` if [ -n "$mount" ] ; then pids=`/usr/bin/lsof -Fp $mount | sed 's/p//'` if [ -n "$pids" ] ; then kill -$signal $pids > /dev/null 2>&1 sleep 1 fi fi } kill_all_afs() { runlevel=`runlevel | sed 's/^. //'` if [ "$runlevel" -eq 0 ] || [ "$runlevel" -eq 6 ] ; then if [ -x /usr/bin/lsof ] ; then echo -n "Killing processes with AFS files open: " kill_afs HUP kill_afs TERM kill_afs ABRT kill_afs KILL echo "done." else echo '/usr/bin/lsof not found, not killing processes' >&2 fi fi } case "$1" in start) if is_on $AFS_CLIENT && test -x /sbin/afsd ; then # check AFS database servers can be reached with ping [ -x /opt/ibm/c4eb/bin/ping-afs.sh ] && { /opt/ibm/c4eb/bin/ping-afs.sh || { echo "AFS will not start" ; exit 1 ; } ; } echo -n "Starting AFS services:" if load_client ; then start_client $AFS_POST_INIT else echo "" echo "Failed to load AFS kernel module, not starting AFS" >&2 exit 1 fi fi ;; force-start) if test -x /sbin/afsd ; then # check AFS database servers can be reached with ping [ -x /opt/ibm/c4eb/bin/ping-afs.sh ] && { /opt/ibm/c4eb/bin/ping-afs.sh || { echo "AFS will not start" ; exit 1 ; } ; } echo -n "Starting AFS services:" if load_client ; then start_client $AFS_POST_INIT else echo "" echo "Failed to load AFS kernel module, not starting AFS" >&2 exit 1 fi fi ;; stop|force-stop) $AFS_PRE_SHUTDOWN echo -n "Stopping AFS services:" if grep -q '^AFS ' /etc/mtab ; then umount `grep ^'AFS ' /etc/mtab | awk '{ print $2 }'` echo -n " afsd" fi if pidof /usr/sbin/afsd >/dev/null || pidof /sbin/afsd >/dev/null ; then afsd -shutdown fi # If running with the -rmtsys option, afsd doesn't kill the rmtsys helper # on afsd -shutdown. Run start-stop-daemon to make sure that everything # is dead. start-stop-daemon --stop --quiet --name afsd LIBAFS=`/sbin/lsmod | awk 'BEGIN { FS = " " } /openafs/ { print $1 }'` if [ -n "$LIBAFS" ] ; then /sbin/rmmod $LIBAFS echo -n " openafs" fi echo "." ;; restart|force-reload) "$0" stop "$0" start ;; *) echo Usage: \ 'openafs-client {start|force-start|stop|restart|force-reload}' >&2 exit 1 esac -- debconf information: * openafs-client/fakestat: true * openafs-client/afsdb: true * openafs-client/run-client: true * openafs-client/dynroot: true * openafs-client/crypt: true * openafs-client/thiscell: profit.pok.ibm.com * openafs-client/cachesize: 50000 * openafs-client/cell-info: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org