Network Manager System Connections
Add full support for system-wide connections to NetworkManager.
- Name: Dan Williams
- email: email@example.com
- Targeted release: Fedora 11
- Last updated: 2009-04-01
- Percentage of completion: 75%
NetworkManager has been able to read information about system-wide network connections from /etc/sysconfig for a while. This feature is about enabling full read-write support for system connections. The ability to create or modify new system connections will be controlled by PolicyKit policies.
Benefit to Fedora
Makes NetworkManager a fully featured replacement for the aging system-config-network tool (for 90% of all use cases, there's still some exotic stuff left, like bridging and bonding).
The feature requires changes in NetworkManager and nm-applet. To enable the same functionality in other frontend, they will need changes as well.
Part of this feature is defining suitable keys for network-related /etc/sysconfig files to hold all the information that NetworkManager has about a connection.
How To Test
1. Connect to a network in your session 2. Open the connection editor 3. Check the "available to all users" checkbox (and the "connect automatically" one) 4. Verify that the connection information is moved from your gconf database to /etc/sysconfig 5. Reboot, and note that the connection is available before login 6. Login, edit the connection again, and uncheck "available to all users" 7. Verify that the connection information is moved back into your gconf database
During all these steps, observe that the correct PolicyKit policy checks are done. Modify the relevant policies and verify that nm-applet behaves accordingly. Repeat with different connection types.
Users will be able to use NetworkManager with system-wide connections and be happy. Longer-term, we will be able to remove system-config-network from the default install, and shrink the administration menu, which helps users too.
Keep system connections read-only in NetworkManager. system-config-network is still available in any case.
Not at this point. Documentation that will be needed at some point includes documentation of the new /etc/sysconfig keys.
NetworkManager can now create and edit system-wide network connections in /etc/sysconfig.