chiark / gitweb /
elogind.git
5 years agocore: do not add dependencies to self
Zbigniew Jędrzejewski-Szmek [Fri, 8 Aug 2014 00:42:58 +0000 (20:42 -0400)]
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

5 years agobus-proxy: service_name_is_valid will never be < 0
Thomas Hindoe Paaboel Andersen [Mon, 4 Aug 2014 21:44:57 +0000 (23:44 +0200)]
bus-proxy: service_name_is_valid will never be < 0

5 years agoupdate TODO
Lennart Poettering [Tue, 5 Aug 2014 15:02:39 +0000 (17:02 +0200)]
update TODO

5 years agoresolved: don't abort if a transaction is aborted because its scope is removed
Lennart Poettering [Tue, 5 Aug 2014 15:02:23 +0000 (17:02 +0200)]
resolved: don't abort if a transaction is aborted because its scope is removed

5 years agoresolved: add 100ms initial jitter to all LLMNR requests
Lennart Poettering [Tue, 5 Aug 2014 15:01:33 +0000 (17:01 +0200)]
resolved: add 100ms initial jitter to all LLMNR requests

5 years agoresolved: enforce ratelimit on LLMNR traffic
Lennart Poettering [Tue, 5 Aug 2014 14:34:45 +0000 (16:34 +0200)]
resolved: enforce ratelimit on LLMNR traffic

5 years agokeymap: Fix HP Pavillon DV7
Martin Pitt [Tue, 5 Aug 2014 10:29:27 +0000 (12:29 +0200)]
keymap: Fix HP Pavillon DV7

Properly disable scan code 94 instead of producing KEY_0.

https://launchpad.net/bugs/1322770

5 years agoudev-builtin-keyboard: Allow numeric key codes
Martin Pitt [Tue, 5 Aug 2014 08:40:46 +0000 (10:40 +0200)]
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

5 years agoresolved: don't consider tentative addresses relevant
Lennart Poettering [Tue, 5 Aug 2014 02:18:23 +0000 (04:18 +0200)]
resolved: don't consider tentative addresses relevant

5 years agoresolved: fix a message typo
Lennart Poettering [Tue, 5 Aug 2014 02:18:01 +0000 (04:18 +0200)]
resolved: fix a message typo

5 years agoresolved: stop the prober when we detect a conflict in LLMNR
Lennart Poettering [Tue, 5 Aug 2014 02:17:45 +0000 (04:17 +0200)]
resolved: stop the prober when we detect a conflict in LLMNR

5 years agoresolved: don't override zone item state after starting the probe
Lennart Poettering [Tue, 5 Aug 2014 02:16:26 +0000 (04:16 +0200)]
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.

5 years agoresolved: when sending fails, don't try connecting to the next DNS server if we actua...
Lennart Poettering [Tue, 5 Aug 2014 02:15:45 +0000 (04:15 +0200)]
resolved: when sending fails, don't try connecting to the next DNS server if we actually use LLMNR as protocol

5 years agojournald: remove redundant newlines
Lennart Poettering [Tue, 5 Aug 2014 02:13:37 +0000 (04:13 +0200)]
journald: remove redundant newlines

5 years agojournald: properly sum up entry size counter
Lennart Poettering [Tue, 5 Aug 2014 01:37:56 +0000 (03:37 +0200)]
journald: properly sum up entry size counter

We should read the entry size before moving to the next iovec, not
after.

5 years agoresolved: never reuse transactions for probing that are already completed based on...
Lennart Poettering [Mon, 4 Aug 2014 23:51:40 +0000 (01:51 +0200)]
resolved: never reuse transactions for probing that are already completed based on cached data

5 years agoresolved: bypass local cache when we issue a transaction for verification purposes
Lennart Poettering [Mon, 4 Aug 2014 23:42:15 +0000 (01:42 +0200)]
resolved: bypass local cache when we issue a transaction for verification purposes

5 years agoresolved: if there's already an RR established that has the same name of an RR to...
Lennart Poettering [Mon, 4 Aug 2014 23:38:13 +0000 (01:38 +0200)]
resolved: if there's already an RR established that has the same name of an RR to be established, skip probing the name

After all, what has been probed once, doesn't need to be probed again.

5 years agosysusers: isempty will never be < 0
Thomas Hindoe Paaboel Andersen [Mon, 4 Aug 2014 21:21:06 +0000 (23:21 +0200)]
sysusers: isempty will never be < 0

looks like a typo from  1b99214789101976d6bbf75c351279584b071998

5 years agotest: use fabs on doubles
Thomas Hindoe Paaboel Andersen [Mon, 4 Aug 2014 21:13:31 +0000 (23:13 +0200)]
test: use fabs on doubles

5 years agoresolved: actually read the initial state data from networkd when we initialize
Lennart Poettering [Mon, 4 Aug 2014 21:08:49 +0000 (23:08 +0200)]
resolved: actually read the initial state data from networkd when we initialize

5 years agoman: bring resolved.conf up-to-date
Lennart Poettering [Mon, 4 Aug 2014 21:08:31 +0000 (23:08 +0200)]
man: bring resolved.conf up-to-date

5 years agoupdate TODO
Lennart Poettering [Mon, 4 Aug 2014 21:08:13 +0000 (23:08 +0200)]
update TODO

5 years agoresolved: read the per-interface LLMNR setting from networkd and act on it
Lennart Poettering [Mon, 4 Aug 2014 21:08:03 +0000 (23:08 +0200)]
resolved: read the per-interface LLMNR setting from networkd and act on it

5 years agosd-network: when the LLMNR setting is not known for an interface consider that as...
Lennart Poettering [Mon, 4 Aug 2014 21:06:05 +0000 (23:06 +0200)]
sd-network: when the LLMNR setting is not known for an interface consider that as ENODATA

ENODATA should be returned whenever we have no idea about something. A
missing LLMNR setting can only really happen during upgrades, in whichc
ase we really have no idea, so let's turn this into another ENODATA
case.

5 years agosd-network: actually open the state file in sd_network_get_llmnr()
Lennart Poettering [Mon, 4 Aug 2014 21:05:26 +0000 (23:05 +0200)]
sd-network: actually open the state file in sd_network_get_llmnr()

5 years agosd-dhcp-server: always send out ROUTER and SUBNET_MASK
Tom Gundersen [Mon, 4 Aug 2014 18:57:02 +0000 (20:57 +0200)]
sd-dhcp-server: always send out ROUTER and SUBNET_MASK

For now we simply take these values from the server's address.

5 years agoupdate TODO
Lennart Poettering [Mon, 4 Aug 2014 18:01:00 +0000 (20:01 +0200)]
update TODO

5 years agoresolved: fix order in which we destroy manager resources
Lennart Poettering [Mon, 4 Aug 2014 17:59:05 +0000 (19:59 +0200)]
resolved: fix order in which we destroy manager resources

5 years agoresolved: when there's already somebody listening on the LLMNR ports, simple disable...
Lennart Poettering [Mon, 4 Aug 2014 17:48:03 +0000 (19:48 +0200)]
resolved: when there's already somebody listening on the LLMNR ports, simple disable LLMNR and warn, but continue

This allows us to run resolved inside an nspawn container that shares
the network namespace with the host, if there's already an instance
running.

5 years agonspawn: make sure that when --network-veth is used both the host and the container...
Lennart Poettering [Mon, 4 Aug 2014 17:15:07 +0000 (19:15 +0200)]
nspawn: make sure that when --network-veth is used both the host and the container side get fixed MAC addresses

5 years agomachined: fix address API signatures
Lennart Poettering [Mon, 4 Aug 2014 17:05:06 +0000 (19:05 +0200)]
machined: fix address API signatures

5 years agomachine: make sure unpriviliged "machinectl status" can show the machine's OS version
Lennart Poettering [Mon, 4 Aug 2014 16:57:37 +0000 (18:57 +0200)]
machine: make sure unpriviliged "machinectl status" can show the machine's OS version

5 years agoudev: path_id - suppress ID_PATH for devices with an unknown parent device type
Kay Sievers [Mon, 4 Aug 2014 16:15:34 +0000 (18:15 +0200)]
udev: path_id - suppress ID_PATH for devices with an unknown parent device type

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1321816

5 years agonetworkd: add and expose per-link LLMNR config option
Tom Gundersen [Sun, 3 Aug 2014 16:45:07 +0000 (18:45 +0200)]
networkd: add and expose per-link LLMNR config option

5 years agoresolve-host: properly align long arguments in help text
Lennart Poettering [Mon, 4 Aug 2014 14:25:14 +0000 (16:25 +0200)]
resolve-host: properly align long arguments in help text

5 years agobus: always explicitly close bus from main programs
Lennart Poettering [Mon, 4 Aug 2014 14:22:09 +0000 (16:22 +0200)]
bus: always explicitly close bus from main programs

Since b5eca3a2059f9399d1dc52cbcf9698674c4b1cf0 we don't attempt to GC
busses anymore when unsent messages remain that keep their reference,
when they otherwise are not referenced anymore. This means that if we
explicitly want connections to go away, we need to close them.

With this change we will no do so explicitly wherver we connect to the
bus from a main program (and thus know when the bus connection should go
away), or when we create a private bus connection, that really should go
away after our use.

This fixes connection leaks in the NSS and PAM modules.

5 years agoCorrect references to ProtectSystem and ProtectHome in documentation
Ansgar Burchardt [Mon, 28 Jul 2014 16:57:30 +0000 (18:57 +0200)]
Correct references to ProtectSystem and ProtectHome in documentation

5 years agoterminal: avoid warning about signed-unsigned comparison
Zbigniew Jędrzejewski-Szmek [Mon, 4 Aug 2014 03:40:00 +0000 (23:40 -0400)]
terminal: avoid warning about signed-unsigned comparison

5 years agoresolve-host: fix missed search&replace
Zbigniew Jędrzejewski-Szmek [Mon, 4 Aug 2014 03:41:45 +0000 (23:41 -0400)]
resolve-host: fix missed search&replace

5 years agoFix misuse of uint64_t as size_t
Zbigniew Jędrzejewski-Szmek [Mon, 4 Aug 2014 02:50:00 +0000 (22:50 -0400)]
Fix misuse of uint64_t as size_t

They have different size on 32 bit, so they are really not interchangable.

5 years agoutil.h: fix typo
Zbigniew Jędrzejewski-Szmek [Mon, 4 Aug 2014 02:11:34 +0000 (22:11 -0400)]
util.h: fix typo

5 years agoresolved: RRSIG records
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 22:17:22 +0000 (18:17 -0400)]
resolved: RRSIG records

5 years agoresolved: add identifiers for dnssec algorithms
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 20:44:49 +0000 (16:44 -0400)]
resolved: add identifiers for dnssec algorithms

5 years agoresolved: DNSKEY records
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 20:05:41 +0000 (16:05 -0400)]
resolved: DNSKEY records

5 years agoresolve-host: make arg_type an int
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 18:02:04 +0000 (14:02 -0400)]
resolve-host: make arg_type an int

We are using it also to store _DNS_TYPE_INVALID, so it should be signed.

5 years agoresolve: add more record types and convert to gperf table
Zbigniew Jędrzejewski-Szmek [Fri, 1 Aug 2014 23:37:16 +0000 (19:37 -0400)]
resolve: add more record types and convert to gperf table

We are unlikely to evert support most of them, but we can at least
display the types properly.

The list is taken from the IANA list.

The table of number->name mappings is converted to a switch
statement. gcc does a nice job of optimizing lookup (when optimization
is enabled).

systemd-resolve-host -t is now case insensitive.

5 years agobuild-sys: use a common rule for some gperf commands
Zbigniew Jędrzejewski-Szmek [Fri, 1 Aug 2014 23:36:48 +0000 (19:36 -0400)]
build-sys: use a common rule for some gperf commands

5 years agoresolved: align last rr column
Zbigniew Jędrzejewski-Szmek [Fri, 1 Aug 2014 23:36:33 +0000 (19:36 -0400)]
resolved: align last rr column

5 years agotty-ask-password-agent: modernization
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 16:52:03 +0000 (12:52 -0400)]
tty-ask-password-agent: modernization

5 years agoUnify parse_argv style
Zbigniew Jędrzejewski-Szmek [Sat, 2 Aug 2014 15:12:21 +0000 (11:12 -0400)]
Unify parse_argv style

getopt is usually good at printing out a nice error message when
commandline options are invalid. It distinguishes between an unknown
option and a known option with a missing arg. It is better to let it
do its job and not use opterr=0 unless we actually want to suppress
messages. So remove opterr=0 in the few places where it wasn't really
useful.

When an error in options is encountered, we should not print a lengthy
help() and overwhelm the user, when we know precisely what is wrong
with the commandline. In addition, since help() prints to stdout, it
should not be used except when requested with -h or --help.

Also, simplify things here and there.

5 years agoresolved: avoid possible dereference of null pointer
Thomas Hindoe Paaboel Andersen [Sun, 3 Aug 2014 20:41:25 +0000 (22:41 +0200)]
resolved: avoid possible dereference of null pointer

In dns_scope_make_reply_packet the structs q, answer, and soa can be
null. We should check for null before reading their fields.

5 years agosd-dhcp-server: avoid returning garbage value
Thomas Hindoe Paaboel Andersen [Sun, 3 Aug 2014 17:45:20 +0000 (19:45 +0200)]
sd-dhcp-server: avoid returning garbage value

Force renewing with a pool size of 0 would return the uninitialized r.

5 years agosd-dhcp-server: check if r < 0
Thomas Hindoe Paaboel Andersen [Sun, 3 Aug 2014 17:30:38 +0000 (19:30 +0200)]
sd-dhcp-server: check if r < 0

5 years agoresolve-host: use correct format specifier
Thomas Hindoe Paaboel Andersen [Sun, 3 Aug 2014 07:39:30 +0000 (09:39 +0200)]
resolve-host: use correct format specifier

5 years agoresolved: remove unused variables
Thomas Hindoe Paaboel Andersen [Sat, 2 Aug 2014 21:38:01 +0000 (23:38 +0200)]
resolved: remove unused variables

5 years agoswitch-root: umount the old root correctly
Dan Dedrick [Tue, 29 Jul 2014 19:31:23 +0000 (15:31 -0400)]
switch-root: umount the old root correctly

The unmount occurs after the pivot_root, so the path used to unmount
should take into account the new root directory. This will allow the
umount to actually succeed.

5 years agonspawn: fix truncation of machine names in interface names
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 05:28:21 +0000 (01:28 -0400)]
nspawn: fix truncation of machine names in interface names

Based on patch by Michael Marineau <michael.marineau@coreos.com>:

When deriving the network interface name from machine name strncpy was
not properly null terminating the string and the maximum string size as
returned by strlen() is actually IFNAMSIZ-1, not IFNAMSIZ.

5 years agobootchart: ask for --rel when failed to initialize graph start time
Karel Zak [Thu, 31 Jul 2014 08:15:40 +0000 (10:15 +0200)]
bootchart: ask for --rel when failed to initialize graph start time

We always read system uptime before log start time. So the uptime
should be always smaller number, except it includes system suspend
time. It seems better to ask for --rel and exit() than try to be
smart and try to recovery from this situation or generate huge
messy graphs.

5 years agobootchart: don't parse /proc/uptime, use CLOCK_BOOTTIME
Karel Zak [Thu, 31 Jul 2014 08:15:39 +0000 (10:15 +0200)]
bootchart: don't parse /proc/uptime, use CLOCK_BOOTTIME

* systemd-bootchart always parses /proc/uptime, although the
  information is unnecessary when --rel specified

* use /proc/uptime is overkill, since Linux 2.6.39 we have
  clock_gettime(CLOCK_BOOTTIME, ...). The backend on kernel side is
  get_monotonic_boottime() in both cases.

* main() uses "if (graph_start <= 0.0)" to detect that /proc is
  available.

  This is fragile solution as graph_start is always smaller than zero
  on all systems after suspend/resume (e.g. laptops), because in this
  case the system uptime includes suspend time and uptime is always
  greater number than monotonic time. For example right now difference
  between uptime and monotonic time is 37 hours on my laptop.

  Note that main() calls log_uptime() (to parse /proc/uptime) for each
  sample when it believes that /proc is not available. So on my laptop
  systemd-boochars spends all live with /proc/uptime parsing +
  nanosleep(), try

    strace  /usr/lib/systemd/systemd-bootchart

  to see the never ending loop.

  This patch uses access("/proc/vmstat", F_OK) to detect procfs.

5 years agojournal-remote: rename KEY_FILE to avoid confict with <linux/input.h>
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 05:12:30 +0000 (01:12 -0400)]
journal-remote: rename KEY_FILE to avoid confict with <linux/input.h>

5 years agoldconfig: dont run it if ldconfig is not installed
Umut Tezduyar Lindskog [Wed, 30 Jul 2014 07:02:14 +0000 (09:02 +0200)]
ldconfig: dont run it if ldconfig is not installed

5 years agoMove BTRFS_IOC_DEVICES_READY to missing.h
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 04:27:25 +0000 (00:27 -0400)]
Move BTRFS_IOC_DEVICES_READY to missing.h

5 years agoutil.h: include missing.h, for struct file_handle
Simon McVittie [Fri, 1 Aug 2014 14:53:07 +0000 (15:53 +0100)]
util.h: include missing.h, for struct file_handle

This breaks udev-builtin-btrfs.c, which reinvents some of missing.h,
so use missing.h there too.

[zj: removed #include "config.h" and wrapped #include <linux/btrfs.h>
     in ifdef HAVE_LINUX_BTRFS_H as discussed on the mailing list.]

5 years agobuild-sys: fix conftest.c to work on arm
Zbigniew Jędrzejewski-Szmek [Sun, 3 Aug 2014 03:50:22 +0000 (23:50 -0400)]
build-sys: fix conftest.c to work on arm

All tests for compiler support were failing with:

/usr/bin/ld: /tmp/ccwnVc2A.o: relocation R_ARM_MOVW_ABS_NC against `a' can not be used when making a shared object; recompile with -fPIC

5 years agoRevert "libudev: use get_*_creds from shared rather than util_lookup_*"
Tom Gundersen [Fri, 1 Aug 2014 20:32:12 +0000 (22:32 +0200)]
Revert "libudev: use get_*_creds from shared rather than util_lookup_*"

This reverts commit a56ba6158b9649e01226dfaf3ff7082c82571090.

The commit was pushed in error.

5 years agoresolved: always drop multicast membership before adding one
Lennart Poettering [Fri, 1 Aug 2014 17:48:02 +0000 (19:48 +0200)]
resolved: always drop multicast membership before adding one

This is apparently necessary on some devices, such as veth.

5 years agoresolved: IPV6_UNICAST_IF may fail if we already are bound to a device, like we are...
Lennart Poettering [Fri, 1 Aug 2014 17:25:06 +0000 (19:25 +0200)]
resolved: IPV6_UNICAST_IF may fail if we already are bound to a device, like we are for link-local addresses

5 years agomissing: add missing bonding definitions
Lennart Poettering [Fri, 1 Aug 2014 16:55:56 +0000 (18:55 +0200)]
missing: add missing bonding definitions

5 years agoupdate TODO
Lennart Poettering [Fri, 1 Aug 2014 16:09:51 +0000 (18:09 +0200)]
update TODO

5 years agoresolved: flush cache each time we change to a different DNS server
Lennart Poettering [Fri, 1 Aug 2014 16:09:07 +0000 (18:09 +0200)]
resolved: flush cache each time we change to a different DNS server

5 years agoresolved: read the system /etc/resolv.conf unless we wrote it ourselves
Lennart Poettering [Fri, 1 Aug 2014 15:03:28 +0000 (17:03 +0200)]
resolved: read the system /etc/resolv.conf unless we wrote it ourselves

This way we integrate nicely with foreign network management stacks,
such as NM.

5 years agonetworkd: track the MTU of each link
Tom Gundersen [Fri, 1 Aug 2014 13:42:08 +0000 (15:42 +0200)]
networkd: track the MTU of each link

And inform the DHCPv4 clients about it.

5 years agosd-dhcp-client: allow the max dhcp message size to be set to the MTU of the link
Tom Gundersen [Fri, 1 Aug 2014 14:10:13 +0000 (16:10 +0200)]
sd-dhcp-client: allow the max dhcp message size to be set to the MTU of the link

5 years agoTODO
Tom Gundersen [Fri, 1 Aug 2014 13:26:30 +0000 (15:26 +0200)]
TODO

5 years agolibudev: use get_*_creds from shared rather than util_lookup_*
Tom Gundersen [Fri, 1 Aug 2014 13:17:18 +0000 (15:17 +0200)]
libudev: use get_*_creds from shared rather than util_lookup_*

5 years agoresolved: rename resolved.h to resolved-manager.h
Lennart Poettering [Fri, 1 Aug 2014 14:14:59 +0000 (16:14 +0200)]
resolved: rename resolved.h to resolved-manager.h

After all it pretty much exlcusively containers definitions about the
"Manager" object, hence let's call this the most obvious way.

5 years agoresolved: beef up DNS server configuration logic
Lennart Poettering [Fri, 1 Aug 2014 14:04:12 +0000 (16:04 +0200)]
resolved: beef up DNS server configuration logic

We now maintain two lists of DNS servers: system servers and fallback
servers.

system servers are used in combination with any per-link servers.

fallback servers are only used if there are no system servers or
per-link servers configured.

The system server list is supposed to be populated from a foreign tool's
/etc/resolv.conf (not implemented yet).

Also adds a configuration switch for LLMNR, that allows configuring
whether LLMNR shall be used simply for resolving or also for responding.

5 years agonss: always explicitly reset all error variables
Lennart Poettering [Fri, 1 Aug 2014 14:01:12 +0000 (16:01 +0200)]
nss: always explicitly reset all error variables

glibc appears to be broken if we don't explicitly reset all error
variables, let's work around that.

https://bugzilla.redhat.com/show_bug.cgi?id=1125975

5 years agoRevert "networkd: don't assume udev_device_new_from_device_id sets errno"
Tom Gundersen [Thu, 31 Jul 2014 13:26:20 +0000 (15:26 +0200)]
Revert "networkd: don't assume udev_device_new_from_device_id sets errno"

libudev now does set errno correctly, so we can indeed rely on this.

This reverts commit 2b49732c3d511007ae2c413997e56c40f678d79a.

5 years agolibudev: set errno when udev_device_new_from_* or udev_device_get_parent_* fail
Tom Gundersen [Thu, 31 Jul 2014 13:25:01 +0000 (15:25 +0200)]
libudev: set errno when udev_device_new_from_* or udev_device_get_parent_* fail

5 years agoupdate TODO
Lennart Poettering [Thu, 31 Jul 2014 23:56:14 +0000 (01:56 +0200)]
update TODO

5 years agonss-resolve: fallback to the class NSS "dns" module if we cannot contact resolved
Lennart Poettering [Thu, 31 Jul 2014 23:55:15 +0000 (01:55 +0200)]
nss-resolve: fallback to the class NSS "dns" module if we cannot contact resolved

That way DNS resolution works both with and without resolved running.

5 years agoresolved: don't bother caching negative RRs when the SOA TTL is 0 anyway
Lennart Poettering [Thu, 31 Jul 2014 22:57:19 +0000 (00:57 +0200)]
resolved: don't bother caching negative RRs when the SOA TTL is 0 anyway

5 years agoupdate TODO
Lennart Poettering [Thu, 31 Jul 2014 22:57:12 +0000 (00:57 +0200)]
update TODO

5 years agoresolved: use CLOCK_BOOTTIME instead of CLOCK_MONOTONIC when aging caches and timeing...
Lennart Poettering [Thu, 31 Jul 2014 22:55:51 +0000 (00:55 +0200)]
resolved: use CLOCK_BOOTTIME instead of CLOCK_MONOTONIC when aging caches and timeing out transactions

That way the cache doens't get confused when the system is suspended.

5 years agoresolved: fix negative caching of IDNA domains
Lennart Poettering [Thu, 31 Jul 2014 22:39:59 +0000 (00:39 +0200)]
resolved: fix negative caching of IDNA domains

5 years agoresolved: handle IDNA domains
Lennart Poettering [Thu, 31 Jul 2014 21:43:10 +0000 (23:43 +0200)]
resolved: handle IDNA domains

Make sure we format UTF-8 labels as IDNA when writing them to DNS
packets, and as native UTF-8 when writing them to mDNS or LLMNR packets.

When comparing or processing labels always consider native UTF-8 and
IDNA formats equivalent.

5 years agoresolved: fix serialization of LOC records, check correctness
Zbigniew Jędrzejewski-Szmek [Thu, 31 Jul 2014 21:42:14 +0000 (17:42 -0400)]
resolved: fix serialization of LOC records, check correctness

5 years agokdbus: update header
Kay Sievers [Thu, 31 Jul 2014 21:08:44 +0000 (23:08 +0200)]
kdbus: update header

5 years agohwdb: update
Kay Sievers [Thu, 31 Jul 2014 21:06:04 +0000 (23:06 +0200)]
hwdb: update

5 years agohostnamed: watch system hostname changes and update LLMNR RRs accordingly
Lennart Poettering [Thu, 31 Jul 2014 17:54:43 +0000 (19:54 +0200)]
hostnamed: watch system hostname changes and update LLMNR RRs accordingly

5 years agoresolved: fix deserialization of UTF8 host names
Lennart Poettering [Thu, 31 Jul 2014 17:54:24 +0000 (19:54 +0200)]
resolved: fix deserialization of UTF8 host names

5 years agoresolved: accept UTF-8 hostnames from bus clients
Lennart Poettering [Thu, 31 Jul 2014 17:53:59 +0000 (19:53 +0200)]
resolved: accept UTF-8 hostnames from bus clients

5 years agoresolved: various fixes regarding encoding of UTF8 characters in DNS RRs
Lennart Poettering [Thu, 31 Jul 2014 17:51:11 +0000 (19:51 +0200)]
resolved: various fixes regarding encoding of UTF8 characters in DNS RRs

5 years agoresolved: properly compare RRs we cannot parse
Lennart Poettering [Thu, 31 Jul 2014 16:41:54 +0000 (18:41 +0200)]
resolved: properly compare RRs we cannot parse

5 years agoresolved: properly process SSHFP RRs
Lennart Poettering [Thu, 31 Jul 2014 16:41:41 +0000 (18:41 +0200)]
resolved: properly process SSHFP RRs

5 years agoresolved: properly process SRV records
Lennart Poettering [Thu, 31 Jul 2014 16:23:00 +0000 (18:23 +0200)]
resolved: properly process SRV records

5 years agoresolved: provide properly named way to access SPF data in RRs
Lennart Poettering [Thu, 31 Jul 2014 16:03:09 +0000 (18:03 +0200)]
resolved: provide properly named way to access SPF data in RRs

5 years agoresolved: make sure we always initialize r when parsing TXT records
Lennart Poettering [Thu, 31 Jul 2014 16:02:42 +0000 (18:02 +0200)]
resolved: make sure we always initialize r when parsing TXT records