summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-31Properly report invalid quoted stringsZbigniew Jędrzejewski-Szmek
$ systemd-analyze verify trailing-g.service [./trailing-g.service:2] Trailing garbage, ignoring. trailing-g.service lacks ExecStart setting. Refusing. Error: org.freedesktop.systemd1.LoadFailed: Unit trailing-g.service failed to load: Invalid argument. Failed to create trailing-g.service/start: Invalid argument
2014-07-31Reject invalid quoted stringsZbigniew Jędrzejewski-Szmek
String which ended in an unfinished quote were accepted, potentially with bad memory accesses. Reject anything which ends in a unfished quote, or contains non-whitespace characters right after the closing quote. _FOREACH_WORD now returns the invalid character in *state. But this return value is not checked anywhere yet. Also, make 'word' and 'state' variables const pointers, and rename 'w' to 'word' in various places. Things are easier to read if the same name is used consistently. mbiebl_> am I correct that something like this doesn't work mbiebl_> ExecStart=/usr/bin/encfs --extpass='/bin/systemd-ask-passwd "Unlock EncFS"' mbiebl_> systemd seems to strip of the quotes mbiebl_> systemctl status shows mbiebl_> ExecStart=/usr/bin/encfs --extpass='/bin/systemd-ask-password Unlock EncFS $RootDir $MountPoint mbiebl_> which is pretty weird
2014-07-31test-strv: add test which shows access to random memoryZbigniew Jędrzejewski-Szmek
2014-07-30networkd: don't assume udev_device_new_from_device_id sets errnoTom Gundersen
This reverts 6f4d55a8ae04e344a41fc2adef12ad99c2bb2927, as we cannot rely on errno here. Reported by David Herrmann.
2014-07-30resolved: when we got a successful DNS reply, then only wait for other ↵Lennart Poettering
transactions on the same scope, nowhere else
2014-07-30update TODOLennart Poettering
2014-07-30resolved: properly set TTL in SOA recordsLennart Poettering
2014-07-30resolved: don't attempt to order empty answer arrayLennart Poettering
2014-07-30resolved: properly return start index when appending RR to packetLennart Poettering
2014-07-30resolved: add API for resolving specific RRsLennart Poettering
2014-07-30networkd: improve error message when udev device can not be foundTom Gundersen
Reported by Raimonds Cicans <ray@apollo.lv>
2014-07-30man: fix outdated example in systemd.networkHong Shick Pak
The docs for the DHCP= was updated, but not the example.
2014-07-30resolved: properly pass empty answers back to bus clientsLennart Poettering
2014-07-30resolve-host: add reverse lookup supportLennart Poettering
2014-07-30resolve-host: use the usual log message when encountering a dbus parse failureLennart Poettering
2014-07-30networkd: ipv4ll - configure link-local address independently of DHCPv4Tom Gundersen
This changes the behavior when both DHCPv4 and IPv4LL are enabled. Before, we would disable IPv4LL when we got a DHCPv4 lease and enable it if the lease was lost. Now we just always set up both, if both are enabled, but the DHCPv4 addresses and routes will always take precedence due to their metric and scope.
2014-07-30TODO: update resolvedKay Sievers
2014-07-30resolved: add tool to query resolvedZbigniew Jędrzejewski-Szmek
2014-07-30resolved: include SOA records in LLMNR replies for non-existing RRs to allow ↵Lennart Poettering
negative caching
2014-07-30TODOTom Gundersen
2014-07-30factory: remove broken pam_limitsKay Sievers
Stupid PAM, please just go away! login[26]: pam_limits(login:session): error parsing the configuration file: '/etc/security/limits.conf' login[26]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) login[26]: Error in service module
2014-07-30resolved: fix cname handlingLennart Poettering
2014-07-30resolved: properly handle adding empty replies to cacheLennart Poettering
2014-07-30update TODOLennart Poettering
2014-07-30resolved: never cache ANY lookupsLennart Poettering
2014-07-30udev: fixup commit dd5eddd28a74a49607a8fffcaf960040dba98479Hannes Reinecke
Commit dd5eddd28a74a49607a8fffcaf960040dba98479 accidentally removed one line too many.
2014-07-30keymap: Annotate all micmute workaroundsMartin Pitt
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-30keymap: Add microphone mute keymap for Dell LatitudeHui Wang
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-30sysv: order initscripts which provide $network before network.targetLukas Nykryn
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-30update TODOLennart Poettering
2014-07-30resolved: respond to ANY queries from our zoneLennart Poettering
2014-07-30resolved: don't accept messages with ANY RRsLennart Poettering
2014-07-30resolved: don't allow adding of ANY class/type RRs to local zonesLennart Poettering
2014-07-30update TODOLennart Poettering
2014-07-30resolved: don't do llmnr on interfaces lacking multicastingLennart Poettering
2014-07-30resolved: follow more closely the recommend timeouts and TTLs from the LLMNR ↵Lennart Poettering
spec
2014-07-30resolved: only cache answer RRs, never additional or authoritative RRs of ↵Lennart Poettering
responses
2014-07-30resolved: never attempt negative caching of SOA recordsLennart Poettering
2014-07-30resolved: when answer A or AAAA questions, order responses by whether ↵Lennart Poettering
addresses are link-local or not
2014-07-29resolved: the llmnr destination address check applies to queries, not to ↵Lennart Poettering
responses
2014-07-29resolved: add more debug loggingLennart Poettering
2014-07-29resolved: set LLMNR TCP and UDP TTLs to the values suggested by the RFCLennart Poettering
2014-07-29sd-network: make socket filter programs static const where possibleLennart Poettering
(also, fix some whitespace/indentation issues, and avoid "index" as identifier in order to not clash against libc's "index()" call)
2014-07-29resolved: we don't need the DNS server "source" concept anymore, remove itLennart Poettering
2014-07-29networkd: fix reporting errors from hostnamedMichael Marineau
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-29resolved: discard more invalid llmnr messagesLennart Poettering
2014-07-29Update TODOLennart Poettering
2014-07-29resolved: when resolving an address PTR record via llmnr, make a tcp ↵Lennart Poettering
connection by default
2014-07-29resolve: add llmnr responder side for UDP and TCPLennart Poettering
Name defending is still missing.
2014-07-29barrier: fix race in test-codeDavid Herrmann
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.