summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-17Merge pull request #953 from poettering/ebadfDaniel Mack
tree-wide: generate EBADF when we get invalid fds
2015-08-17Merge pull request #970 from poettering/timedatectl-set-netpDaniel Mack
man: extend documentation for timedatectl's set-ntp command
2015-08-17Merge pull request #973 from poettering/sd-bus-error-retDaniel Mack
sd-bus: always fill in sd_bus_error paramters, on error
2015-08-17Merge pull request #974 from teg/resolved-fixes-2Daniel Mack
resolved: debugging improvements
2015-08-17resolved: cache - add more detailed cache debug loggingTom Gundersen
2015-08-16sd-bus: always fill in sd_bus_error paramters, on errorLennart Poettering
Whenever one of our calls is invoked with a non-NULL, writable sd_bus_error parameter, let's fill in some valid error on failure. We previously only filled in remote errors, but never local errors, which is hard to handle by users. Hence, let's clean this up to always fill in the error. This introduces a new bus_assert_return() macro that works like assert_return() but optionally also initializes a bus_error struct. Fixes #224. Based on a patch by Umut Tezduyar.
2015-08-16update TODOLennart Poettering
2015-08-16Merge pull request #908 from richardmaw-codethink/nspawn-path-escapes-v3Lennart Poettering
Allow arbitrary file paths to be passed to nspawn (v3)
2015-08-16README: drop reference to EndocodeLennart Poettering
Chris Kühl does not work at Endocode anymore, the contact data is no longer valid.
2015-08-16TODOTom Gundersen
2015-08-16resolve-host: print RTTTom Gundersen
2015-08-16resolved: packet - fix typo in read_rr()Tom Gundersen
2015-08-16Merge pull request #955 from poettering/resolved-localhost-xyzTom Gundersen
resolved: enable synthesizing of A, AAAA and PTR records for "localhost"
2015-08-16Merge pull request #954 from poettering/nss-myhostname-loopbackTom Gundersen
nss-myhostname: use LOOPBACK_IFINDEX instead of if_nametoindex("lo")
2015-08-16Merge pull request #972 from poettering/resolve-host-auto-startTom Gundersen
resolve-host: enable auto start of resolved
2015-08-16resolve-host: enable auto start of resolvedLennart Poettering
There's no reason to explicitly turn off bus activation for resolved here. The reason this was done before was that the code was copied from nss-resolve, which has a fallback to glibc's nss-dns if resolved is not reachable. However, such a logic makes no sense for resolve-host since such a fallback doesn't make sense here, which means we can actually turn on activation. Let's do it hence.
2015-08-16Merge pull request #971 from evverx/news-fixLennart Poettering
NEWS: fix the "indirect" state description
2015-08-16NEWS: fix the "indirect" state descriptionEvgeny Vereshchagin
2015-08-16Merge pull request #931 from spartacus06/update-completion-machinectlLennart Poettering
Update shell completion for machinectl
2015-08-16man: extend documentation for timedatectl's set-ntp commandLennart Poettering
This extends on the relationship between timedatectl's set-ntp command and its effect on the systemd-timesyncd.service unit. This also links that unit back to the timedatectl man page. Closes #798.
2015-08-16update TODOLennart Poettering
2015-08-16shell-completion: use list-images rather than listSeth Jennings
"machinectl list" only lists running machines while many of the MACHINES commands use names of images; both running and non-running. List machines from both "list" and "list-images" and use sort -u to avoid duplicates.
2015-08-16shell-completion: update machinectl bash completionSeth Jennings
Many new subcommands have been added since the bash completion was last updated. Bring it up to speed.
2015-08-16Merge pull request #930 from richardmaw-codethink/man-when-exec-start-postLennart Poettering
man: Describe when ExecStartFoo= commands are run in more detail
2015-08-16Merge pull request #918 from thomasmey/uml-fixLennart Poettering
UML: Fix block device setup
2015-08-16Merge pull request #947 from evverx/bash-completionLennart Poettering
Update bash-completion: generate all unit types
2015-08-16bash-completion: generate unit type list from systemctl -t help optionEvgeny Vereshchagin
2015-08-16Merge pull request #932 from kaysievers/busLennart Poettering
sd-bus: do not connect to dbus-1 socket when kdbus is available
2015-08-15Merge pull request #968 from alkino/masterRonny Chevalier
zsh completion: update busctl
2015-08-15zsh completion: update busctlNicolas Cornu
2015-08-14tree-wide: generate EBADF when we get invalid fdsLennart Poettering
This is a follow-up to #907, and makes the same change for all our other public APIs.
2015-08-14Merge pull request #948 from phomes/masterDaniel Mack
logind: actually fail on OOM
2015-08-14resolved: never allow routing of "localhost" queries to DNS or LLMNRLennart Poettering
We should never allow leaking of "localhost" queries onto the network, even if there's an explicit domain rotue set for this.
2015-08-14resolved: locally synthesize replies for "localhost"Lennart Poettering
Let's make sure that clients querying resolved via the bus for A, AAAA or PTR records for "localhost" get a synthesized, local reply, so that we do not hit the network. This makes part of nss-myhostname redundant, if used in conjunction. However, given that nss-resolve shall be optional we need to keep this code in both places for now.
2015-08-14nss-myhostname: use LOOPBACK_IFINDEX instead of if_nametoindex("lo")Lennart Poettering
Given that we already hardocde the loopback ifindex, following the kernel's own logic, we can replace the invocation of if_nametoindex("lo") with LOOPBACK_IFINDEX.
2015-08-14update TODOLennart Poettering
2015-08-13logind: actually fail on OOMThomas Hindoe Paaboel Andersen
Since dacd6cee76a08331b8c8616c5f30f70ee49aa2f9 the two OOM's are ignored as the value of r will be overwritten and we only log in the fail section anyway. This patch jumps to fail on OOM. Note that this is different behavior compared to both the current code and previous to dacd6cee76a08331b8c8616c5f30f70ee49aa2f9. Before that commit we would log that saving the inhibit data failed, but still write the file, though without the WHO/WHY section. CID# 1313545
2015-08-13Merge pull request #907 from keszybz/sd-daemon-badfLennart Poettering
sd-daemon: return EBADF for invalid fd numbers
2015-08-13Merge pull request #941 from phomes/masterDaniel Mack
hwdb: add DPI for a few more mice
2015-08-12hwdb: add DPI for a few more miceThomas Hindoe Paaboel Andersen
2015-08-12Merge pull request #938 from tblume/fix-kexec-force-rebootKay Sievers
support reboot -f for kexec kernel
2015-08-12Merge pull request #939 from karelzak/smatchTom Gundersen
treewide: trivial issues detected by smatch
2015-08-12Merge pull request #935 from teg/gpt-fixesKay Sievers
gpt-auto-generator: minor fixes
2015-08-12support reboot -f for kexec kernelThomas Blume
Fix error message: -->-- Code should not be reached 'Unknown action.' at src/systemctl/systemctl.c:6382, function halt_now(). Aborting. Aborted --<-- when executing 'reboot -f' from a system running a kexec kernel.
2015-08-11gpt-auto-generator: warn on ambiguous blkid probeTom Gundersen
2015-08-11gpt-auto-generator: don't warn on !ENABLE_EFITom Gundersen
add_automount() was only used on EFI systems, compile it conditionally to avoid the warning.
2015-08-11 sd-bus: do not connect to dbus-1 socket when kdbus is availableKay Sievers
We should not fall back to dbus-1 and connect to the proxy when kdbus returns an error that indicates that kdbus is running but just does not accept new connections because of quota limits or something similar. Using is_kdbus_available() in libsystemd/ requires it to move from shared/ to libsystemd/. Based on a patch from David Herrmann: https://github.com/systemd/systemd/pull/886
2015-08-11man: Describe when ExecStartFoo= commands are run in more detailRichard Maw
Previously it was just descibed that ExecStartPost= commands were started "after" the ExecStart= command(s). This hasn't specified after which event, which varies from after it has been started, after it has exited, after it has sent READY=1 or after it has taken the bus name, depending on Type=. This now describes that it happens after the *service* has "started", as defined by the Type=, and provides some clarification about precisely when this is. This may be unnecessary duplication, but it removes the ambiguity as to whether RemainAfterExit=no means that ExecStartPost= shouldn't be started because it means the service has stopped when the ExecStart= command terminates, not "started".
2015-08-11Merge pull request #929 from kaysievers/gptDaniel Mack
gpt-auto-generator: apply partition-type flags only to specific parti…
2015-08-11gpt-auto-generator: apply partition-type flags only to specific partition-typesKay Sievers
The partition-type flags are defined independently for every partition-type. Apply them only to the types where they are defined, and not to the ESP, which does not appear to share the same set of flags. https://github.com/systemd/systemd/issues/920