Lennart Poettering
ee8c456895
networkd: add minimal client tool "networkd" to query network status
...
In the long run this should become a full fledged client to networkd
(but not before networkd learns bus support). For now, just pull
interesting data out of networkd, udev, and rtnl and present it to the
user, in a simple but useful output.
2014-08-12 01:54:40 +02:00
Lennart Poettering
1cb5d1f319
udev: modernize net_id builtin a bit
2014-08-12 01:54:39 +02:00
Lennart Poettering
6436165dbc
sd-network: rename the per-ifindex calls to sd_network_get_link_xxx()
...
This way we can introduce system-wide versions of these calls that are
called the same way, but without the "link" in the name.
2014-08-11 22:56:52 +02:00
Lennart Poettering
44e7b94926
networkd: monopolize in_addr utility functions in shared/in-addr-util.h
...
Primarily, this means we get rid of net_parse_inaddr(), and replace it
everywhere with in_addr_from_string() and in_addr_from_string_auto().
These functions do not clobber the callers arguments on failure, which
is more close to our usual coding style.
2014-08-11 22:46:42 +02:00
Lennart Poettering
cedc8c44d4
timesyncd: when we don't know anything about the network state, assume we are online
...
This should provide better compatibility with systems that lack networkd
2014-08-11 22:04:37 +02:00
Lennart Poettering
17fdb7661b
build-sys: add missing makefile symlinks
2014-08-11 20:15:14 +02:00
Lennart Poettering
ee0e998e1c
man: drop any reference to "syslog" as log target
2014-08-11 20:14:27 +02:00
Lennart Poettering
5168f84a29
udev: never bypass our own logging framework and call vsyslog() directly from udev tools
2014-08-11 20:13:38 +02:00
Lennart Poettering
c1dc6153c9
log: never ever log to syslog from PID 1, log to the journal again
...
We don't support journal-less systems anyway, so let's avoid the
confusion.
2014-08-11 20:08:08 +02:00
Lennart Poettering
79c1afc67f
man: improve documentation for StandardOutput= and StandardInput=
2014-08-11 19:29:25 +02:00
Olivier Brunel
baccf3e40b
login: set_controller should fail if prepare_vt fails
...
If controllers can expect logind to have "prepared" the VT (e.g. set it to
graphics mode, etc) then TakeControl() should fail if said preparation
failed (and session_restore_vt() was called).
(David: fixed up !CONFIG_VT case and errno-numbers)
2014-08-11 18:38:44 +02:00
Lennart Poettering
7e8185ef94
fix a couple of more lazy "return -1"
...
Fix should strictly follow the rule to return negative errno-style
error codes from functions, hence let's fix more "return -1"-style
lazinesses.
2014-08-11 18:35:54 +02:00
Lennart Poettering
d7bf74d9cc
journal-remote: fix parsing of fd command line argument
2014-08-11 18:24:43 +02:00
Lennart Poettering
fd006cce38
initctl: don't eat up error code
2014-08-11 18:24:28 +02:00
Lennart Poettering
a2715692e2
bootchart: use the bool type where appropriate
2014-08-11 18:24:08 +02:00
Lennart Poettering
4155f7d4be
bootchart: it's not OK to return -1 from a main program
2014-08-11 18:23:47 +02:00
Lennart Poettering
96ddbf819a
man: document that we look for both the instance's and the template's .d/ directory when looking for unit file drop-ins.
2014-08-11 16:41:05 +02:00
Lennart Poettering
0cdfd26ef8
util: avoid considering dpkg temporary files relevant for anything
...
https://bugs.freedesktop.org/show_bug.cgi?id=82453
2014-08-11 15:32:09 +02:00
Lennart Poettering
6a5c7b7e41
timesyncd: always use CLOCK_BOOTTIME if we can
...
After all we want to compare a monotonically increasing clock with the
remote clock, hence we shouldn't ignore system suspend periods.
2014-08-11 15:06:22 +02:00
Lennart Poettering
31a339fd7f
man: update resolved man pages a bit
2014-08-11 15:06:22 +02:00
Lennart Poettering
81663503e6
man: extend timesycnd man page a bit
2014-08-11 15:06:22 +02:00
Lennart Poettering
556a22945f
resolved: when picking a new hostname make sure two hosts pick different ones
...
This way we can avoid always picking the same replacement hostnames when
picking one.
2014-08-11 15:06:22 +02:00
Lennart Poettering
4d91eec42d
resolved: actually, the peer with the lower IP address wins conflicts
2014-08-11 15:06:22 +02:00
Lennart Poettering
3ef64445cd
resolved: make sure we don't mark the wrong zone RRs conflicting
2014-08-11 15:06:22 +02:00
Lennart Poettering
2fb3034cb2
resolved: be a bit more communicative about conflicts
2014-08-11 15:06:22 +02:00
Lennart Poettering
c02091d23b
update TODO
2014-08-11 15:06:22 +02:00
Lennart Poettering
902bb5d8ab
resolved: verify all RRs when we come back from suspend
2014-08-11 15:06:22 +02:00
Lennart Poettering
82bd6dddc4
resolved: destroy outstanding queries if the clients that initiated them die
2014-08-11 15:06:22 +02:00
Lennart Poettering
818f766b12
resolved: properly pass aborted transaction result back to clients
2014-08-11 15:06:22 +02:00
Lennart Poettering
a407657425
resolved: implement full LLMNR conflict detection logic
2014-08-11 15:06:22 +02:00
Lennart Poettering
3ef77d0476
resolved: properly check return value of dns_resource_record_equal()
2014-08-11 15:06:22 +02:00
Daniel Mack
15aa9b201c
sd-bus: sync kdbus.h (ABI break)
2014-08-10 21:46:45 +02:00
Harald Hoyer
37d6781b31
Added arch tuple for PPC64LE
...
Thanks to Brent Baude <bbaude@redhat.com>, who checked with the debian
guys, that this is correct and provided the patch.
2014-08-08 16:54:13 +02:00
Tom Gundersen
04b67d4925
udev: link_setup - respect kernel name assign policy
...
Newer kernels export meta-information about the origin of an ifname. Respect this
from the ifname rename logic. We do not rename any interfaces that was originally
named by userspace, nor once which have already been renamed from userspace.
Moreover, we optionally do not (the default) rename interfaces which the kernel
claims to have named in a predictable way.
2014-08-08 13:30:15 +02:00
Tom Gundersen
f3fc48150b
core: loopback-setup - only up the loopback device
...
The kernel will set up the IP addresses for us, so don't duplicate that
in userspace.
2014-08-08 13:09:51 +02:00
Zbigniew Jędrzejewski-Szmek
fa9d4be3f1
hwdb: update format description and document reloading
...
https://bugs.freedesktop.org/show_bug.cgi?id=82311
2014-08-07 21:48:57 -04:00
Zbigniew Jędrzejewski-Szmek
5e34b37c9f
man: correct references to DefaultTimeout*Sec
...
Noticed by thp on #systemd.
2014-08-07 20:46:49 -04:00
Zbigniew Jędrzejewski-Szmek
d1fab3fe88
core: warn when merged units have conflicting dependencies
...
A unit should not Conflict with itself. It also does not make
much sense for a unit to be After or Before itself, or to
trigger itself in some way.
If one of those dependency types is encountered, warn, instead
of dropping it silently like other dependency types.
% build/systemd-analyze verify test/loopy3.service
...
Dependency Conflicts dropped when merging unit loopy4.service into loopy3.service
Dependency ConflictedBy dropped when merging unit loopy4.service into loopy3.service
2014-08-07 20:46:49 -04:00
Zbigniew Jędrzejewski-Szmek
e66047ff62
core: do not add dependencies to self
...
Adds a pair of files which cause a segfault (also with
systemd-analyze verify).
https://bugzilla.redhat.com/show_bug.cgi?id=1124843
2014-08-07 20:42:58 -04:00
Thomas Hindoe Paaboel Andersen
17a6dfa3be
bus-proxy: service_name_is_valid will never be < 0
2014-08-05 18:22:31 +02:00
Lennart Poettering
08b6604c05
update TODO
2014-08-05 17:02:46 +02:00
Lennart Poettering
e56187ca4a
resolved: don't abort if a transaction is aborted because its scope is removed
2014-08-05 17:02:46 +02:00
Lennart Poettering
6e06847294
resolved: add 100ms initial jitter to all LLMNR requests
2014-08-05 17:02:46 +02:00
Lennart Poettering
aea2429d6e
resolved: enforce ratelimit on LLMNR traffic
2014-08-05 17:02:46 +02:00
Martin Pitt
efb4bf4e41
keymap: Fix HP Pavillon DV7
...
Properly disable scan code 94 instead of producing KEY_0.
https://launchpad.net/bugs/1322770
2014-08-05 12:29:27 +02:00
Martin Pitt
7925709c9a
udev-builtin-keyboard: Allow numeric key codes
...
Like with the old udev rules, allow hwdb entries to specify numeric key codes.
Based on a patch from Mircea Miron.
https://launchpad.net/bugs/1247584
2014-08-05 10:40:46 +02:00
Lennart Poettering
7b85d72f82
resolved: don't consider tentative addresses relevant
2014-08-05 04:18:23 +02:00
Lennart Poettering
cc7844e787
resolved: fix a message typo
2014-08-05 04:18:01 +02:00
Lennart Poettering
d84b686f06
resolved: stop the prober when we detect a conflict in LLMNR
2014-08-05 04:17:45 +02:00
Lennart Poettering
60eb3f7cf1
resolved: don't override zone item state after starting the probe
...
After all, the probe might be finished immeidately (due to resources,
...), and we shouldn't then set the state back to probing.
2014-08-05 04:17:12 +02:00