NetworkManager/src
Thomas Haller 0aed4e2388 ifcfg-rh: better detect alias files
Alias files have a ':' to separate the base name from their
alias. But we didn't always ensure not to write-out files without
colon, and also initscripts doesn't have that restriction.

We should detect alias files and handle them properly (e.g. by
reloading the base file).

This fixes an error that a `nmcli con load` would have tried to
load the alias file. Also extend load_connection() to support
passing filenames other then the base file.

We only have to handle this in plugin.c. Inside reader.c we always
have the normalized base filename.

Or detection of alias files only looks whether the filename has a ':'
and whether a corresponding base file exists.
2015-06-02 12:57:52 +02:00
..
devices default-route: also configure default-routes for assumed connections 2015-05-29 11:48:57 +02:00
dhcp-manager build: rename file "include/nm-utils-internal.h" to "nm-macros-internal.h" 2015-06-01 14:47:08 +02:00
dns-manager dns: fall back to writing resolv.conf when other methods are not available 2015-05-26 13:33:47 +02:00
dnsmasq-manager builds: only enable TAP driver for glib >= 2.37.6 2015-05-28 12:51:24 +02:00
platform platform-linux: allow netlink messages from non-privileged user namespaces 2015-06-01 17:30:20 +00:00
ppp-manager ppp-manager: fix build with Linux 3.2.0 headers 2015-06-02 12:30:03 +02:00
rdisc builds: only enable TAP driver for glib >= 2.37.6 2015-05-28 12:51:24 +02:00
settings ifcfg-rh: better detect alias files 2015-06-02 12:57:52 +02:00
supplicant-manager build: use compat version of g_clear_pointer() 2015-06-02 12:30:03 +02:00
systemd systemd-dhcp: fix build with Linux 3.2.0 headers 2015-06-02 12:30:03 +02:00
tests builds: only enable TAP driver for glib >= 2.37.6 2015-05-28 12:51:24 +02:00
vpn-manager vpn: don't fail if no system secrets exist 2015-05-05 15:51:25 -05:00
main-utils.c build: use compat version of g_clear_pointer() 2015-06-02 12:30:03 +02:00
main-utils.h main: (order) move root user check after help/version option 2015-03-20 11:43:30 +01:00
main.c core: don't assume the loopback interface is called "lo" 2015-06-01 17:30:24 +00:00
Makefile.am build: support runstatedir configure option 2015-05-28 11:46:11 +02:00
NetworkManagerUtils.c core/tests: add nm_utils_get_testing() function 2015-05-19 09:57:46 +02:00
NetworkManagerUtils.h utils: move NM_FLAGS_*() macros to header file "include/nm-utils-internal.h" 2015-05-29 16:28:33 +02:00
nm-activation-request.c core, dispatcher: drop unnecessary setpgid() calls 2015-01-19 11:29:13 -05:00
nm-activation-request.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-active-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-active-connection.h vpn/core: move VPN gateway route between devices when routing changes 2014-11-06 21:17:34 -06:00
nm-auth-manager.c logging: use _nm_log() to avoid duplicate check of whether logging is enabled 2015-04-22 11:22:19 +02:00
nm-auth-manager.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-auth-subject.c auth: fix memleak in _new_unix_process() 2015-01-29 14:59:42 +01:00
nm-auth-subject.h auth: support disabling POLKIT authentication entirely at compile time 2014-09-29 13:51:11 +02:00
nm-auth-utils.c auth-utils: memleak: free the key when we steal data 2015-02-18 18:10:47 +01:00
nm-auth-utils.h auth: remove session monitor argument 2015-01-05 18:38:44 +01:00
nm-config-data.c connectivity: use default on missing connectivity.interval config 2015-05-19 15:34:41 +02:00
nm-config-data.h config: make ignore-carrier option reloadable 2015-05-05 16:51:19 +02:00
nm-config.c config: minor fix in read_entire_config() 2015-05-19 11:59:09 +02:00
nm-config.h connectivity: use default on missing connectivity.interval config 2015-05-19 15:34:41 +02:00
nm-connection-provider.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-connection-provider.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-connectivity.c build: use compat version of g_clear_pointer() 2015-06-02 12:30:03 +02:00
nm-connectivity.h connectivity: make NMConnectivity independent of NMConfig 2015-02-03 13:01:53 +01:00
nm-dbus-manager.c core: replace g_test_initialized() by nm_utils_get_testing() 2015-05-19 09:57:47 +02:00
nm-dbus-manager.h dbus-manager: add nm_dbus_manager_setup() function for testing 2015-02-16 17:42:01 +01:00
nm-dcb.c platform: add self argument to platform functions 2015-04-21 17:51:34 +02:00
nm-dcb.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-default-route-manager.c default-route: add @out_is_never_default argument to has_default_route() 2015-05-29 11:43:58 +02:00
nm-default-route-manager.h default-route: add @out_is_never_default argument to has_default_route() 2015-05-29 11:43:58 +02:00
nm-dhcp4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dispatcher.c dispatcher: fix crash due to wrong signature of variant for argument of "Action" D-Bus call 2015-04-07 19:18:15 +02:00
nm-dispatcher.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-firewall-manager.c firewall: clean up call completion and use GCancellable 2015-04-03 16:58:41 -04:00
nm-firewall-manager.h firewall: make call handle an opaque pointer type 2014-11-19 12:58:36 +01:00
nm-iface-helper.c fix typo and do not translate an empty string 2015-05-04 18:36:54 +02:00
nm-ip4-config.c libnm: rename DNSOptionDesc and @dns_option_descs to have an "nm"-prefix 2015-05-20 12:42:19 +02:00
nm-ip4-config.h core: capture DNS options from resolv.conf 2015-05-13 17:15:35 +02:00
nm-ip6-config.c libnm: rename DNSOptionDesc and @dns_option_descs to have an "nm"-prefix 2015-05-20 12:42:19 +02:00
nm-ip6-config.h core: capture DNS options from resolv.conf 2015-05-13 17:15:35 +02:00
nm-logging.c logging/trivial: rename _nm_log() to _nm_log_impl() 2015-04-22 11:06:49 +02:00
nm-logging.h build: rename file "include/nm-utils-internal.h" to "nm-macros-internal.h" 2015-06-01 14:47:08 +02:00
nm-manager.c core: check duplicate devices by interface name not UDI 2015-05-19 09:25:16 -05:00
nm-manager.h iface-helper: add nm-iface-helper for dynamic configure-then-quit support 2014-11-07 12:18:33 -06:00
nm-policy.c core: (trivial) fix spelling in comments 2015-04-20 09:45:57 +02:00
nm-policy.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-properties-changed-signal.c core: intern hyphen_name string in nm_properties_changed_signal_add_property() 2015-01-29 16:23:43 +01:00
nm-properties-changed-signal.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-rfkill-manager.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-rfkill-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-route-manager.c logging: define _LOGT() macro to check valid arguments 2015-04-24 13:51:43 +02:00
nm-route-manager.h core: split route management code out from platform 2015-02-27 16:48:27 +01:00
nm-session-monitor.c core: fix session-monitor build with --with-session-tracking=none 2015-02-05 11:09:22 +01:00
nm-session-monitor.h session: merge nm-session-monitor-* modules 2015-01-05 18:39:46 +01:00
nm-sleep-monitor-systemd.c libnm, core: use _nm_dbus_signal_connect() 2015-04-03 16:58:40 -04:00
nm-sleep-monitor-upower.c core: port nm-sleep-monitor-upower to gdbus 2015-04-03 16:58:40 -04:00
nm-sleep-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.h libnm: enforce that "nm-utils-private.h" header is not used inside src/ 2015-05-20 12:42:19 +02:00
org.freedesktop.NetworkManager.conf dbus: increase 'max_replies_per_connection' limit in D-Bus configuration 2015-05-29 08:04:26 +02:00