1 |
On Thursday night, I emerged some packages |
2 |
|
3 |
Thu Feb 23 23:26:44 2012 >>> net-libs/webkit-gtk-1.6.3-r300 |
4 |
Thu Feb 23 23:29:44 2012 >>> www-client/midori-0.4.3 |
5 |
Thu Feb 23 23:45:36 2012 >>> sys-apps/portage-2.1.10.49 |
6 |
Thu Feb 23 23:52:50 2012 >>> media-libs/libpng-1.5.9 |
7 |
Thu Feb 23 23:53:45 2012 >>> sys-apps/openrc-0.9.9 |
8 |
Thu Feb 23 23:56:43 2012 >>> dev-libs/libgcrypt-1.5.0-r2 |
9 |
Thu Feb 23 23:58:35 2012 >>> media-libs/libmikmod-3.2.0_beta2-r5 |
10 |
Thu Feb 23 23:59:20 2012 >>> media-libs/vo-aacenc-0.1.2 |
11 |
Fri Feb 24 00:00:44 2012 >>> dev-libs/libevent-2.0.17 |
12 |
Fri Feb 24 00:06:11 2012 >>> dev-libs/libxml2-2.7.8-r5 |
13 |
Fri Feb 24 00:07:26 2012 >>> media-sound/alsa-utils-1.0.25-r1 |
14 |
Fri Feb 24 00:08:35 2012 >>> sys-apps/file-5.11 |
15 |
Fri Feb 24 00:10:28 2012 >>> media-libs/imlib2-1.4.5 |
16 |
Fri Feb 24 00:15:00 2012 >>> sys-apps/util-linux-2.20.1-r2 |
17 |
Fri Feb 24 00:15:18 2012 >>> dev-util/intltool-0.50.1 |
18 |
Fri Feb 24 00:19:57 2012 >>> net-print/hplip-3.12.2-r1 |
19 |
Fri Feb 24 00:23:30 2012 >>> media-sound/mpd-0.16.7 |
20 |
Fri Feb 24 00:23:47 2012 >>> dev-tex/latexmk-430a |
21 |
Fri Feb 24 00:24:20 2012 >>> dev-tex/latex-beamer-3.13 |
22 |
|
23 |
On Friday morning, I started having network problems. wicd would try |
24 |
to connect to the access point, and fail. |
25 |
|
26 |
[ 49.754744] r8169 0000:01:00.0: eth0: link down |
27 |
[ 50.958354] r8169 0000:01:00.0: eth0: link down |
28 |
[ 52.349167] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1) |
29 |
[ 52.355694] wlan0: authenticated |
30 |
[ 52.355762] wlan0: associate with 00:01:e3:4b:4a:6d (try 1) |
31 |
[ 52.358116] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 aid=6) |
32 |
[ 52.358130] wlan0: associated |
33 |
[ 58.579496] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice (reason=3) |
34 |
[ 58.589726] cfg80211: Calling CRDA to update world regulatory domain |
35 |
[ 58.751572] r8169 0000:01:00.0: eth0: link down |
36 |
[ 59.954878] r8169 0000:01:00.0: eth0: link down |
37 |
[ 61.359184] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1) |
38 |
[ 61.365490] wlan0: authenticated |
39 |
[ 61.365561] wlan0: associate with 00:01:e3:4b:4a:6d (try 1) |
40 |
[ 61.367884] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 aid=6) |
41 |
[ 61.367898] wlan0: associated |
42 |
[ 65.108874] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice (reason=3) |
43 |
[ 65.119716] cfg80211: Calling CRDA to update world regulatory domain |
44 |
[ 65.295639] r8169 0000:01:00.0: eth0: link down |
45 |
[ 262.492240] r8169 0000:01:00.0: eth0: link down |
46 |
|
47 |
A bit of tracking plus memories of bygone days led me to realise that, |
48 |
for some reason, the two copies of dhcpcd client were being run! One |
49 |
was started by wicd, after it associates to the AP. But how'bout the |
50 |
other one? |
51 |
|
52 |
Well, on boot up this morning, I saw that, for the first time in a |
53 |
*very long while* that DHCPCD is being started at boot time as a |
54 |
service. Now, I am sure I didn't include it as a service. |
55 |
|
56 |
Gee-Mi-Ni ~ # rc-update show |
57 |
alsasound | default |
58 |
bootmisc | boot |
59 |
consolefont | boot |
60 |
dbus | default |
61 |
devfs | sysinit |
62 |
dmesg | sysinit |
63 |
fsck | boot |
64 |
gpm | default |
65 |
hostname | boot |
66 |
hwclock | boot |
67 |
keymaps | boot |
68 |
killprocs | shutdown |
69 |
local | default nonetwork |
70 |
localmount | boot |
71 |
metalog | boot |
72 |
modules | boot |
73 |
mount-ro | shutdown |
74 |
mtab | boot |
75 |
net.lo | boot |
76 |
netmount | default |
77 |
procfs | boot |
78 |
root | boot |
79 |
savecache | shutdown |
80 |
swap | boot |
81 |
swapfiles | boot |
82 |
sysctl | boot |
83 |
termencoding | boot |
84 |
udev | sysinit |
85 |
udev-postmount | default |
86 |
urandom | boot |
87 |
wicd | boot |
88 |
|
89 |
Okay, on the other hand rc-status showed something I haven't seen before |
90 |
|
91 |
Dynamic Runlevel: needed |
92 |
sysfs [started] |
93 |
dhcpcd [started] |
94 |
|
95 |
Huh, simple enough, some other service needs dhcpcd to be running. Okay. Let me |
96 |
see which one it is: |
97 |
|
98 |
Gee-Mi-Ni init.d # grep dhcpcd /etc/init.d/* |
99 |
/etc/init.d/dhcpcd:command=/sbin/dhcpcd |
100 |
/etc/init.d/dhcpcd:pidfile=/var/run/dhcpcd.pid |
101 |
/etc/init.d/wpa_supplicant: before dns dhcpcd net |
102 |
|
103 |
uh, apparently none of them? |
104 |
|
105 |
Can someone help me figure out how to find the offending initscript that is |
106 |
needlessly calling dhcpcd? |
107 |
|
108 |
Cheers, |
109 |
W |
110 |
-- |
111 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
112 |
et vice versa ~~~ I. Newton |