Lennart Poettering
ddf163393b
resolved: never cache ANY lookups
2014-07-30 14:05:48 +02:00
Hannes Reinecke
9f20a8a376
udev: fixup commit dd5eddd28a
...
Commit dd5eddd28a accidentally
removed one line too many.
2014-07-30 11:40:13 +02:00
Martin Pitt
d946bb53f9
keymap: Annotate all micmute workarounds
...
Add a comment to all assignments to f20 that this actually should be "micmute"
in a future when we aren't limited by X.org's key code limiations any more.
2014-07-30 10:54:23 +02:00
Hui Wang
1f6d36f267
keymap: Add microphone mute keymap for Dell Latitude
...
On the Dell Latitude, the mic mute key event is generated by wmi
driver, the keycode assigned to this hotkey from kernel is
KEY_MICMUTE (248), this keycode is too big for xorg to handle,
in the xorg, the XF86AudioMicMute is assigned to F20.
Please refer to 4e648ea0 of xkeyboard-config.
BugLink: https://bugs.launchpad.net/bugs/1326684
BugLink: https://bugs.launchpad.net/bugs/1339998
Signed-off-by: Hui Wang <hui.wang@canonical.com >
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com >
2014-07-30 10:49:18 +02:00
Lukas Nykryn
805b573fad
sysv: order initscripts which provide $network before network.target
...
Due to recent changes where $network "maps" to network-online.target
it is not guaranteed that initscript which provides networking will
be terminated after network.target during shutdown which is against LSB.
2014-07-30 09:55:35 +02:00
Lennart Poettering
bc07548926
update TODO
2014-07-30 02:08:11 +02:00
Lennart Poettering
d532366133
resolved: respond to ANY queries from our zone
2014-07-30 02:06:09 +02:00
Lennart Poettering
0e2bcd6a17
resolved: don't accept messages with ANY RRs
2014-07-30 02:05:23 +02:00
Lennart Poettering
1d3b690fbd
resolved: don't allow adding of ANY class/type RRs to local zones
2014-07-30 02:04:07 +02:00
Lennart Poettering
6992efee44
update TODO
2014-07-30 01:48:34 +02:00
Lennart Poettering
8bea3d6f88
resolved: don't do llmnr on interfaces lacking multicasting
2014-07-30 01:48:22 +02:00
Lennart Poettering
0c903ae7db
resolved: follow more closely the recommend timeouts and TTLs from the LLMNR spec
2014-07-30 01:47:48 +02:00
Lennart Poettering
d2f47562d5
resolved: only cache answer RRs, never additional or authoritative RRs of responses
2014-07-30 01:47:10 +02:00
Lennart Poettering
0f05c38759
resolved: never attempt negative caching of SOA records
2014-07-30 01:45:52 +02:00
Lennart Poettering
af93291cc4
resolved: when answer A or AAAA questions, order responses by whether addresses are link-local or not
2014-07-30 00:48:59 +02:00
Lennart Poettering
2442b93d15
resolved: the llmnr destination address check applies to queries, not to responses
2014-07-29 23:53:08 +02:00
Lennart Poettering
a2a416f768
resolved: add more debug logging
2014-07-29 23:53:08 +02:00
Lennart Poettering
bf3f1271e2
resolved: set LLMNR TCP and UDP TTLs to the values suggested by the RFC
2014-07-29 23:53:08 +02:00
Lennart Poettering
088b6ba264
sd-network: make socket filter programs static const where possible
...
(also, fix some whitespace/indentation issues, and avoid "index" as identifier in
order to not clash against libc's "index()" call)
2014-07-29 23:53:08 +02:00
Lennart Poettering
2f82f5eae4
resolved: we don't need the DNS server "source" concept anymore, remove it
2014-07-29 23:53:08 +02:00
Michael Marineau
70b34f5de8
networkd: fix reporting errors from hostnamed
...
The return value may be -EINVAL or a positive errno from the dbus
message. Check both ranges, otherwise most errors are silently ignored.
2014-07-29 22:24:58 +02:00
Lennart Poettering
ea917db9e6
resolved: discard more invalid llmnr messages
2014-07-29 20:57:58 +02:00
Lennart Poettering
49ee032fc3
Update TODO
2014-07-29 20:57:58 +02:00
Lennart Poettering
b914e211f3
resolved: when resolving an address PTR record via llmnr, make a tcp connection by default
2014-07-29 20:57:58 +02:00
Lennart Poettering
623a4c97b9
resolve: add llmnr responder side for UDP and TCP
...
Name defending is still missing.
2014-07-29 20:57:58 +02:00
David Herrmann
359017c1ae
barrier: fix race in test-code
...
The barrier_wait_next_twice* test-cases run:
Parent: Child:
set_alarm(10) sleep_for(1);
... set_alarm(1);
sleep_for(2) ...
Therefore, the parent exits after 2+ periods, the client's alarm fires
after 2+ periods. This race turns out to be lost by the child on other
machines, so avoid it by increasing the parent's sleep-interval to 4. This
way, the client has 2 periods to run the barrier test, which is far more
than enough.
2014-07-29 19:19:49 +02:00
Kay Sievers
f22bbd11db
build-sys: add missing files for distcheck
2014-07-29 17:54:57 +02:00
Kay Sievers
ab6efe71f3
test: test_tables - fix missing symbols when --gc-sections are not available
2014-07-29 17:10:16 +02:00
Kay Sievers
94a15ffa14
factory: install minimal PAM and nsswitch config
2014-07-29 16:58:18 +02:00
Kay Sievers
9ec6e95b04
udev: place opening { at the same line as the function declaration
2014-07-29 15:49:25 +02:00
Kay Sievers
51f1ec3bbe
build-sys: remove systemd-coredumpctl symlink
2014-07-29 15:20:42 +02:00
Kay Sievers
dd5eddd28a
udev: unify event timeout handling
2014-07-29 15:18:27 +02:00
Hannes Reinecke
9719859c07
udevd: add --event-timeout commandline option
...
Some events take longer than the default 30 seconds. Killing those
events will leave the machine halfway configured.
Add a commandline option '--event-timeout' to handle these cases.
2014-07-29 13:45:07 +02:00
Kay Sievers
32767cb1e8
login: update systemd-user PAM configuration file
2014-07-29 13:20:20 +02:00
Kay Sievers
3a43da2832
time-util: add and use USEC/NSEC_INFINIY
2014-07-29 13:20:20 +02:00
David Herrmann
cf347234ae
barrier: convert msecs to usecs in test-code
...
Avoid using msecs in favor of usec_t. This is more consistent with the
other parts of systemd and avoids the confusion between msec and usec. We
always use usecs, end of story.
2014-07-29 13:04:51 +02:00
David Herrmann
b13dbd6ca4
terminal/subterm: use usec_t instead of "unsigned long"
...
Avoid hard-coding "unsigned long" and use the usec_t type defined in
src/shared.
2014-07-29 13:00:35 +02:00
Tom Gundersen
16aa63a00b
networkd: route/address - use trivial hash functions
2014-07-28 12:21:51 +02:00
Tom Gundersen
6a0a2f860f
networkd: unify handling of stacked netdevs
2014-07-28 12:16:40 +02:00
Tom Gundersen
ae06ab1014
networkd: store ifindex as int
2014-07-28 11:46:57 +02:00
Tom Gundersen
527503444e
sd-dhcp-server: add forcerenew support
2014-07-28 10:44:51 +02:00
Tom Gundersen
615c1467c8
sd-dhcp-client: add support for FORCERENEW
...
This partially implements RFC3203. Note that we are not fully compliant as we do not
support authentication.
2014-07-28 10:44:51 +02:00
Tom Gundersen
0af03ba57f
sd-dhcp-client: listen on UDP socket as soon as a lease is acquired
...
This is necessary in order to listen for FORCERENEW events.
2014-07-28 10:44:51 +02:00
Tom Gundersen
076adf013a
dhcp-network: enable IP_FREEBIND for UDP sockets
...
This allows the sockets to be bound to a specific address before it is configured,
also enable SO_REUSEADDR to allow multiple DHCP clients to run at the same time.
2014-07-28 10:44:51 +02:00
Tom Gundersen
2d2349cc3e
sd-dhcp-client: drop event DHCP_EVENT_NO_LEASE
...
Keep this internal to the client and simply restart it when NAK is receieved, as
per the RFC.
2014-07-28 10:44:51 +02:00
Tom Gundersen
9fbc25232c
sd-dhcp-client: only verify UDP messages
...
RAW messages are verified by the BPF in the kernel.
2014-07-28 10:44:51 +02:00
Michal Sekletar
36dd072cdf
journald: always add syslog facility for messages coming from kmsg
...
Set SYSLOG_FACILITY field for kernel log messages too. Setting only
SYSLOG_IDENTIFIER="kernel" is not sufficient and tools reading journal
maybe confused by missing SYSLOG_FACILITY field for kernel log messages.
2014-07-28 10:25:49 +02:00
Eric Cook
c317a1a19c
shell-completion: prevent mangling unit names (bash)
...
This fixes the issue noted by Zbigniew in most cases.
if a unit's name is enclosed in single quotes completion still
will not happen after the first `\'.
https://bugs.freedesktop.org/show_bug.cgi?id=78388
2014-07-27 15:27:16 -04:00
Ansgar Burchardt
e2d7c1a075
drop_duplicates: copy full BindMount struct
...
At least
t->ignore = f->ignore;
is missing here. Just copy the full struct to be sure.
2014-07-27 15:15:11 -04:00
Ansgar Burchardt
0f625d0b87
parse_boolean: require exact matches
...
Require exact matches in all cases instead of treating strings
starting with 't' ('f') as true (false).
This is required for config_parse_protect_system to parse ProtectSystem=full
correctly: it uses parse_boolean and only tries a more specific parsing
function if that did not return a valid result. Thus "full" was treated as
"false" before.
2014-07-27 15:15:11 -04:00