clone 520925 -1
retitle -1 wicd: should kill only the interface-related processes, not all
thanks

Hi David!

On Mon, 23 Mar 2009 18:47:23 +0100, Luca Capello wrote:
> 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:~$
> =====
>
>> At least dhclient has a -pf option to specify the pidfile location. As
>> soon as I have chances of getting my hands on #520014 (and all the
>> other bugs you're filing :P), I'll have a look at other supported (or
>> not-yet-supported) clients to see if they have similar options.
>
> Double-checking is always a good thing, FYI I did it last night :-)
>
>>> 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.

Cloning the bug, thus we can solve the original one ASAP and then deal
with the second one.  Please double-check the new bug number before
continuing the discussion about pidfiles.

Thx, bye,
Gismo / Luca

Attachment: pgpMq5JN1rDty.pgp
Description: PGP signature

_______________________________________________
pkg-fso-maint mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint

Reply via email to