Systemd/src
Dan Williams 28cc555d85 networkd: set route protocol
All routes added by networkd are currently set RTPROT_BOOT, which according
to the kernel means "Route installed during boot" (rtnetlink.h).  But this
is not always the case as networkd changes routing after boot too.  Since
the kernel gives more detailed protocols, use them.

With this patch, user-configured static routes now use RTPROT_STATIC (which
they are) and DHCP routes use RTPROT_DHCP.  There is no define for IPv4LL
yet, so those are installed as RTPROT_STATIC (though perhaps RTPROT_RA is
better?).

[tomegun: fixup
src/network/networkd-link.c:972:33: error: too few arguments to function 'route_new_dynamic']
2014-07-23 09:19:32 +02:00
..
ac-power
activate activate: export make_socket_fd 2014-03-17 01:55:48 -04:00
analyze Merge systemd-verify with systemd-analyze 2014-07-21 21:42:28 -04:00
ask-password Add more password agent information 2014-04-24 09:23:54 +02:00
backlight backlight: Do not clamp brightness for LEDs 2014-06-10 18:57:48 +02:00
binfmt shared: add root argument to search_and_fopen 2014-03-14 09:31:34 -04:00
boot make gcc shut up 2014-02-19 17:53:50 +01:00
bootchart Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
bus-proxyd test-tables: add new entries 2014-07-16 19:00:03 -04:00
cgls consistently order cleanup attribute before type 2014-06-22 00:45:15 +02:00
cgroups-agent cgroups-agent: down-grade log level 2013-11-25 17:40:53 +01:00
cgtop make gcc shut up 2014-02-19 17:53:50 +01:00
compat-libs build-sys: build compat libs from sources, avoiding the not generally available ifunc wrapping 2014-02-22 21:28:55 +01:00
core systemd-verify: a simple tool for offline unit verification 2014-07-20 19:48:16 -04:00
cryptsetup cryptsetup: allow x-systemd.device-timeout 2014-06-30 18:41:17 -04:00
dbus1-generator Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
debug-generator debug-generator: add new kernel cmdline option systemd.wants= to add units to the initial transaction 2014-06-20 13:36:28 +02:00
delta delta: draw arrows with draw_special_char() 2014-04-23 19:06:39 +02:00
detect-virt virt: make Virtualization an anonymous enum 2014-02-24 13:26:44 +01:00
efi-boot-generator efi-boot-generator: typo fix 2014-03-07 02:40:24 +01:00
escape escape: fix return code 2014-07-19 15:44:50 -04:00
firstboot firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
fsck fsck: consider a fsck implementation linked to /bin/true non-existant 2014-06-25 10:04:36 +02:00
fstab-generator fstab-generator: fix trivial leak 2014-07-07 18:36:55 -04:00
getty-generator getty-generator: properly escape instance names 2014-06-19 22:04:29 -04:00
gpt-auto-generator stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hostname hostnamed: introduce new location machin-info field, too 2014-07-11 15:50:32 +02:00
initctl core: make sure PrivateDevices= makes /dev/log available 2014-06-04 16:59:13 +02:00
journal journalctl,man: allow + only between terms 2014-07-19 21:13:08 -04:00
journal-remote Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
kernel-install build-sys: add missing Makefile link 2014-06-16 12:33:23 +02:00
libsystemd networkd: set route protocol 2014-07-23 09:19:32 +02:00
libsystemd-network change type for address family to "int" 2014-07-18 16:10:51 +02:00
libsystemd-terminal terminal: suppress warning in subterm 2014-07-18 17:46:14 +02:00
libudev libudev: queue - watch entire directory to allow the re-use of the watch descriptor 2014-06-27 19:56:31 +02:00
locale Nuke update-kbd-map 2014-07-18 21:44:59 -04:00
login Small modernizations 2014-07-18 21:45:27 -04:00
machine machinectl: make sure we are not reading an unitialized variable 2014-07-18 21:44:58 -04:00
machine-id-setup machine-id-setup: use path_kill_slashes and modernizations 2014-03-14 09:31:34 -04:00
modules-load shared: add root argument to search_and_fopen 2014-03-14 09:31:34 -04:00
network networkd: set route protocol 2014-07-23 09:19:32 +02:00
notify sd-daemon: introduce sd_pid_notify() and sd_pid_notifyf() 2014-06-05 17:05:18 +02:00
nspawn barrier: initalize file descriptors with -1 2014-07-18 20:12:44 -04:00
nss-myhostname nss-myhostname: don't include assert.h twice 2014-07-23 02:00:39 +02:00
nss-mymachines change type for address family to "int" 2014-07-18 16:10:51 +02:00
nss-resolve resolved: fix bus signatures to follow family as int change 2014-07-18 21:01:07 +02:00
path path: add new "systemd-path" utility for querying paths described in file-hierarchy(7) 2014-07-02 12:23:36 +02:00
python-systemd systemd-python: fix failing assert 2014-04-05 13:30:08 -04:00
quotacheck stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
random-seed random-seed: improve debugging messages a bit 2013-11-15 22:53:14 -05:00
rc-local-generator rc-local: use access(X_OK) to check if files are executable 2013-10-29 19:34:59 +01:00
readahead readahead: avoid gcc warning about format 2014-06-22 15:30:19 -04:00
remount-fs Introduce _cleanup_endmntent_ 2013-10-03 22:13:55 -04:00
reply-password util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
resolve resolved: most DNS servers can't handle more than one question per packet, hence let's not generate that 2014-07-23 02:00:40 +02:00
rfkill rfkill: Avoid error when state restore is disabled 2013-12-06 16:44:38 +01:00
run analyze/run: use bus_open_transport_systemd instead of bus_open_transport 2014-05-26 14:21:53 -04:00
shared Merge systemd-verify with systemd-analyze 2014-07-21 21:42:28 -04:00
shutdownd Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
sleep firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
socket-proxy fix warnings 2014-06-06 23:31:25 +02:00
sysctl sysctl: replaces some slashes with dots 2014-04-16 21:52:36 -04:00
system-update-generator system-update-generator: modernizations 2014-06-13 13:26:32 +02:00
systemctl systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
systemd networkd: set route protocol 2014-07-23 09:19:32 +02:00
sysusers sysusers: fix selinux context of backup files 2014-07-21 20:53:05 -04:00
sysv-generator sysv-generator: fix incorect ordering of Wants 2014-06-26 00:37:26 +02:00
test test-cgroup-mask: fix masks in test and enable by default 2014-07-20 19:48:16 -04:00
timedate timedated: manage systemd-timesyncd directly instead of lists of alternatives 2014-07-09 17:04:11 +02:00
timesync sd-network: fix parameter order for sd_network_monitor_new() 2014-07-17 01:41:52 +02:00
tmpfiles tmpfiles: copy/link /usr/share/factory/ files when the source argument is omitted 2014-06-20 15:57:43 +02:00
tty-ask-password-agent tty-ask-password-agent: modernization 2014-07-16 19:00:03 -04:00
udev Be more careful when checking for empty files 2014-07-16 19:00:03 -04:00
update-done update-done: set proper selinux context for .updated 2014-07-21 20:57:39 -04:00
update-utmp Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
vconsole vconsole-setup: fix inverted error messages 2014-07-07 08:55:58 -04:00
.gitignore Add test coverage and generate report with lcov 2013-07-13 21:56:33 -04:00
Makefile