RFC: new modes in network-manager 0.7 + ifupdown
Alexander Sack
asac at ubuntu.com
Mon Oct 13 16:05:40 BST 2008
On Sun, Oct 12, 2008 at 05:22:20PM +0100, James Westby wrote:
>
> Once managed mode is default, or a user explicitly sets it, if
> they then remove network-manager then ifupdown will still refuse
> to act on the interfaces, even though they won't have nm managing
> them. While it's not really a supported case it could be worth
> fixing it now before anyone hits it.
>
> The proposal was to extend the check for managed=true to also
> look for something outside of /etc/ installed by network-manager,
> so that if you have just the configuration file ifupdown will still
> work.
Yes, thats right and I thought about that case before.
The right solution would use nm-tool or some handcrafted D-Bus calls
to detect whether NM is running in managed mode or not. That should be
fairly simple and is certainly something we should look into for
jaunty.
- Alexander
More information about the ubuntu-devel
mailing list