On Mon, May 21, 2012 at 07:14:08PM +0200, Javier Fernández-Sanguino Peña wrote:
> - I have not configured wicd at all, it was just pulled in as a dependency 
> because 
>   GNOME's NetworkManager depends on it

A mistake here: wicd was pulled in because I installed the xfce-desktop
task, not because of Network Manager.

Still, I've always managed my interfaces using /etc/network/interfaces and
have *never* configured them using wicd.

> As I cannot disable the /usr/lib/pm-utils/sleep.d/55wicd script I've 
> introduced another
> script in /etc/pm/sleep.d/00_restart_network that stops dhclient and
(...)

Please take note that it took me quite a lot of debugging of the pm-suspend
scripts until I found out that the reason why my interfaces were reconfigured
was because of wicd. 

Once the culprit has been found, a much simpler way to prevent this bug would
be using apt-get or dpkg, I could remove wicd since it is only Recommended:
by xfce-desktop.  For me it probably an option, but a regular user that
steps into this bug will find that this will make more "friendly" package 
management
frontends, such as aptitude, to *always* try to remove the xfce-desktop task
(unless configured to ignore Recommends).


Regards

Javier

Attachment: signature.asc
Description: Digital signature

Reply via email to