Lennart Poettering
7964ca4347
man: minimal updates to resolved.conf man page
2014-08-12 19:49:15 +02:00
Lennart Poettering
874ff7bf4d
timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP
2014-08-12 19:48:24 +02:00
Lennart Poettering
96e6e39443
resolved: return exit code of event loop
2014-08-12 19:33:09 +02:00
Lennart Poettering
3e684349c2
resolved: unify logic how we flush out DNS servers we learnt
2014-08-12 19:32:55 +02:00
Lennart Poettering
96c76ac49c
sd-resolve: scale number of threads by queries currently being processed, rather than number of queries currently referenced
...
This way a query that blocks for a longer time, and whose reference has
been dropped won't block subsequent lookups from finishing.
2014-08-12 19:30:18 +02:00
Lennart Poettering
85529c815b
sd-resolve: fix allocation if query ids, never reuse them
2014-08-12 19:29:27 +02:00
Lennart Poettering
502fe44ea4
sd-resolve: keep floating query referenced while we access it
2014-08-12 19:28:32 +02:00
Lennart Poettering
84e51726a3
timesyncd: split up into multiple source file
...
The source file got much too large, hence split up the sources into
multiple per-object files, similar in style to resolved.
2014-08-12 16:58:56 +02:00
Lennart Poettering
f7d68aa8c9
networkctl: make networkctl status without link name show all local IP addresses
2014-08-12 16:19:37 +02:00
Lennart Poettering
18af33753a
update TODO
2014-08-12 16:12:53 +02:00
Lennart Poettering
6d0c65ffb4
networkctl: when outputing a list fo links, sort them by ifindex
2014-08-12 16:03:45 +02:00
Lennart Poettering
b873d33ec9
update TODO
2014-08-12 15:41:13 +02:00
Lennart Poettering
df3fb561b2
networkctl: add a bit of color to the output
2014-08-12 15:41:01 +02:00
Lennart Poettering
9085f64a66
networkctl: add new switch "-a" to "networkctl status" to show verbose status of all local links
2014-08-12 15:19:30 +02:00
Lennart Poettering
1b17f21198
networkctl: properly format MAC addresses
2014-08-12 15:08:09 +02:00
Lennart Poettering
03cc0fd143
sd-network: add API to output all collected system-wide NTP and DNS servers
...
Also, output the collected information in "networkctl".
2014-08-12 15:06:51 +02:00
Lennart Poettering
f01e5736f1
timesyncd: move the generic sockaddr_equal() call to socket-util.h
2014-08-12 14:54:32 +02:00
Lennart Poettering
c0c743cb3d
networkd: expose a global list of DNS and NTP servers in the state file
2014-08-12 13:02:27 +02:00
Lennart Poettering
87f5a19343
resolved: filter out duplicate DNS servers when writing resolv.conf
2014-08-12 13:02:27 +02:00
Lennart Poettering
c2d6bd61ee
networkd: update manager_save() to use fflush_and_check() to simplify things a bit
2014-08-12 13:02:27 +02:00
Thomas Hindoe Paaboel Andersen
bf1594f54e
resolved: initialize counter
...
introduced in: a407657425
2014-08-12 04:42:33 +02:00
Lennart Poettering
91d3efeddd
networkd: fix build
2014-08-12 02:33:37 +02:00
Lennart Poettering
a903fd34c0
sd-network: move sd-network API into libsystemd proper
...
In contrast to the DHCP/IPv4LL/ICMP6 APIs sd-network is not a protocol
implementation but a client API for networkd, hence move it into
libsystemd proper.
2014-08-12 02:12:05 +02:00
Lennart Poettering
7bfe1e9cb0
sd-network: remove client-side dhcp API
...
The networkd should abstract the difference between DHCP supplied and
configured data, and hence the DHCP lease concept should not exposed on
the client side.
Should we want to support arbitrary DHCP fields one day, we can add a
new sd_network_get_link_dhcp_field() call or so.
2014-08-12 02:04:17 +02:00
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