[Pkg-utopia-maintainers] Bug#491826: Bug#511636: add comment to /etc/network/interfaces that any custom rule will deactivate network-manager

Sascha Silbe sascha-debian-bugs-491826 at silbe.org
Tue Jan 13 14:10:27 UTC 2009


On Tue, Jan 13, 2009 at 12:42:58AM +0100, Michael Biebl wrote:

> The idea is, that if NM finds an interface, which it doesn't manage, 
> that
> instead of reporting offline for that interface, it always reports 
> online.
> This is obviously a bit of a crude hack.
But still better than the current behaviour.

> There is a patch floating around for NM 0.6 in one of the older Ubuntu 
> releases,
> which I could reuse (attached for reference).
>
> Care to test this patch and give me your feedback?
Thanks for the patch. Unfortunately it doesn't seem to make any 
difference. I "apt-get source"'ed network-manager (yielding 
network-manager-0.6.6-2) and put your patch into debian/patches. I seems 
the patch was applied (there's a corresponding log file in 
debian/patches now), but NetworkManager reports no networks again (with 
the custom "up"-rule, that is).
I don't know anything about the inner workings of NM nor about the d-bus 
stuff it provides, but maybe Sugar invokes a different code path? From 
what I could see in [1], it seems to use a d-bus interface(?) called 
"org.freedesktop.NetworkManager.Devices".


[1] /usr/share/sugar-presence-service/psutils.py

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090113/62f68c5b/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list