On Mon, 23 Mar 2009 18:47:23 +0100, Luca Capello wrote: > Ciao Davide!
Already corrected on this, *g* ;) > Just to be sure, please keep the pkg-fso-maint@ cc:ed, TIA. Done. > On Mon, 23 Mar 2009 18:13:23 +0100, David Paleino wrote: > > On Mon, 23 Mar 2009 17:45:36 +0100, Luca Capello wrote: > >> Instead, since AFAIK all DHCP clients wicd can use (including udhcpc > >> once bug #520014 will be fixed) support a "write the PID to a file" > >> option, the best solution would be to check for the existence of such a > >> PID file (usually /var/run/$PROGRAM.$IFACE.pid) and then kill this > >> specific process. > > > > I'm using dhclient (from dhcp3-client), and the pidfile > > is /var/run/dhclient.pid :). > > Sorry, I should have been more verbose: wicd does not set any > interface-specific pidfile, while the Debian ifupdown package does, on > my laptop (stripped out the useless information) > ===== > l...@gismo:~$ ps aux | grep wlan0 > root 3032 [...] /sbin/wpa_supplicant -B > -P /var/run/wpa_supplicant.wlan0.pid -i [...] root 3436 [...] dhclient3 > -pf /var/run/dhclient.wlan0.pid -lf [...] l...@gismo:~$ > ===== Ah, ok. I was clearly missing this. > [..] > >> I would like to find some consensus on this solution before starting to > >> implement it ;-) > > > > What solution? :) > > The best solution to me seems killing the pid written in the proper > > pidfile by wicd. > > Exactly: but this requires implementing it directly in wicd. I'm going to talk with upstream on IRC _now_. > > However, I'm kind of delaying wicd bugfixing waiting the 1.6 release. > > I will check the 1.6 codebase and report back my tests. Moreover, I > would also say that if upstream comes up with another solution, we > should avoid diverging from it. I'll report back the discussion here. Ciao, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
_______________________________________________ pkg-fso-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint
