summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-25sd-dhcp: parse error message in DECLINE or NAKTom Gundersen
If a client sends a DECLINE or a server sends a NAK, they can include a string with a message to explain the error. Parse this and print it at debug level.
2015-11-25sd-ndisc: better validate RA packetsTom Gundersen
Verify the hoplimit and that the received packet is large enough for the RA header. See <http://tools.ietf.org/html/rfc4861#section-6.1.2>.
2015-11-25sd-ndisc: always send the link-layer addressTom Gundersen
We never send packets without first knowing the link-local L3 address, so we should always include the L2 address in RS packets.
2015-11-25libsystemd-network: clean up recv functionsTom Gundersen
2015-11-25Merge pull request #2027 from evverx/remove-unnecessary-cgroup-systemd-checkingDaniel Mack
tests: remove unnecessary /sys/fs/cgroup/systemd checking
2015-11-25tests: remove unnecessary /sys/fs/cgroup/systemd checkingEvgeny Vereshchagin
A unified hierarchy obsoletes this checking
2015-11-24Merge pull request #2020 from evverx/signals-completionLennart Poettering
bash-completion: list valid signal names
2015-11-24Merge pull request #2021 from phomes/minor-fixes2Tom Gundersen
resolved: remove unused variable
2015-11-24resolved: remove unused variableThomas Hindoe Paaboel Andersen
2015-11-24bash-completion: list valid signal namesEvgeny Vereshchagin
this is a follow-up for commit 18540892d18addc4dcb81
2015-11-24Merge pull request #1991 from evverx/use-systems-nspawnLennart Poettering
tests: don't rely on system's machined
2015-11-24Merge pull request #2018 from keszybz/kill-signalLennart Poettering
bash-completion: list only valid signal names
2015-11-24bash-completion: list only valid signal namesZbigniew Jędrzejewski-Szmek
Fixup for #1999.
2015-11-24tests: don't rely on system's machinedEvgeny Vereshchagin
Fixes backward/forward incompatibility errors on spawning. For example: $ sudo make run ... Failed to register machine: Cannot set property TasksMax, or unknown property. $ ../../systemd-nspawn --version systemd 228 $ systemd-nspawn --version systemd 225
2015-11-24Merge pull request #1957 from zonque/qemu-testLennart Poettering
test: make QEMU tests work on Semaphore
2015-11-24Merge pull request #1976 from ssahani/word3Lennart Poettering
core: mount flags remove FOREACH_WORD_SEPARATOR
2015-11-24Merge pull request #2013 from martinpitt/statfs-typeLennart Poettering
basic: fix build on architectures with small long
2015-11-24basic: fix build on architectures with small longHelmut Grohne
The x32 architecture has a small "long" type which is not enough to hold struct statfs.f_type.
2015-11-24core: mount flags remove FOREACH_WORD_SEPARATORSusant Sahani
FOREACH_WORD_SEPARATOR is no need here since we only apply only one mount flag. The rvalue is sufficient for this.
2015-11-24Merge pull request #2011 from poettering/resolve-dnameTom Gundersen
Implement client-side DNAME RR resolving
2015-11-24update TODOLennart Poettering
2015-11-24resolved: implement client-side DNAME resolutionLennart Poettering
Most servers apparently always implicitly convert DNAME to CNAME, but some servers don't, hence implement this properly, as this is required by edns0.
2015-11-24question: drop dns_question_is_superset() which we don't use anymoreLennart Poettering
2015-11-23Merge pull request #1984 from phomes/networkd-routes-parseTom Gundersen
networkd: link - fix reading routes
2015-11-23Merge pull request #2007 from poettering/resolve-srvTom Gundersen
resolved: add support for resolving plain SRV and DNS-SD services
2015-11-23resolved: add ResolveService() bus call for resolving SRV and DNS-SD servicesLennart Poettering
This also adds client-side support for this to systemd-resolve-host. Note that the ResolveService() API can deal both with DNS-SD service (consisting of service name, type and domain), as well as classic SRV services (consisting just of a type and a domain), all exposed in the same call. This patch also reworks CNAME handling in order to reuse it between hostname, RR and service lookups. In contrast to Avahi and Bonjour, this new API will actually reolve the A/AAAA RRs the SRV RRs point to in one go (unless this is explicitly disabled). This normally comes for free, as these RRs are sent along the SRV responses anyway, hence let's make use of that. This makes the API considerably easier to use, as a single ResolveService() invocation will return all necessary data to pick a server and connect() to it. Note that this only implements the DNS-SD resolving step, it does not implement DNS-SD browsing, as that makes sense primarily on mDNS, due to its continuous nature.
2015-11-23resolved: fix minor memory leak when shuttin downLennart Poettering
We need to free the rtnl watch too.
2015-11-23dns-domain: add calls to join/split SRV/DNS-SD service domainsLennart Poettering
This adds dns_service_join() and dns_service_split() which may be used to concatenate a DNS-SD service name, am SRV service type string, and a domain name into a full resolvable DNS domain name string. If the service name is specified as NULL, only the type and domain are appended, to implement classic, non-DNS-SD SRV lookups. The reverse is dns_service_split() which takes the full name, and split it into the three components again.
2015-11-23escape: add cescape_length() call as generalization of cescape()Lennart Poettering
2015-11-23resolved: accept TXT records with non-UTF8 stringsLennart Poettering
RFC 6763 is very clear that TXT RRs should allow arbitrary binary content, hence let's actually accept that. This also means accepting NUL bytes in the middle of strings.
2015-11-23dns-domain: add code for verifying validity of DNS-SD service names and typesLennart Poettering
2015-11-23Merge pull request #2003 from eworm-de/virtLennart Poettering
virt: add comment about order in virtualization detection
2015-11-23Merge pull request #2006 from keszybz/mymachines-overflowLennart Poettering
nss-mymachines: do not allow overlong machine names
2015-11-23Merge pull request #2005 from eworm-de/vimrcDaniel Mack
vimrc: add warning about dangerous exrc mode
2015-11-23nss-mymachines: do not allow overlong machine namesZbigniew Jędrzejewski-Szmek
https://github.com/systemd/systemd/issues/2002
2015-11-23vimrc: add warning about dangerous exrc modeChristian Hesse
2015-11-23virt: add comment about order in virtualization detectionChristian Hesse
2015-11-23Merge pull request #1997 from fbuihuu/fix-swap-unit-ordering-depLennart Poettering
make sure all swap units are ordered before the swap target
2015-11-23Merge pull request #1998 from eworm-de/virtLennart Poettering
virt: detect dmi before cpuid
2015-11-23Merge pull request #1996 from eworm-de/editorconfigDaniel Mack
add editorconfig configuration
2015-11-23Merge pull request #1999 from evverx/nspawn-kill-signal-completionZbigniew Jędrzejewski-Szmek
bash-completion: nspawn: add completion for --kill-signal
2015-11-23Merge pull request #1986 from tjanez/fix-systemd_user_postZbigniew Jędrzejewski-Szmek
rpm: fix %systemd_user_post() macro.
2015-11-23bash-completion: nspawn: add completion for --kill-signalEvgeny Vereshchagin
2015-11-23virt: detect dmi before cpuidChristian Hesse
Virtualbox should be detected as 'oracle'. This used to work but broke with commit: commit 75f86906c52735c98dc0aa7e24b773edb42ee814 Author: Lennart Poettering <lennart@poettering.net> Date: Mon Sep 7 13:42:47 2015 +0200 basic: rework virtualization detection API We swap detection for dmi and cpuid, this fixes Virtualbox with KVM. Hopefully it does not break anything else.
2015-11-23add editorconfig configurationChristian Hesse
We want indention with spaces, so specify in editorconfig. http://editorconfig.org/
2015-11-23Merge pull request #1992 from evverx/tests-add-event-nowDaniel Mack
tests: add sd_event_now to test_basic
2015-11-23Merge pull request #1990 from keszybz/html-linksDaniel Mack
man: include the target name when linking to man pages in html output
2015-11-23make sure all swap units are ordered before the swap targetFranck Bui
When shutting down the system, the swap devices can be disabled long time before the swap target is stopped. They're actually the first units systemd turns off on my system. This is incorrect and due to swap devices having multiple associated swap unit files. The main one is usually created by the fstab generator and is used to start the swap device. Once done, systemd creates some 'alias' units for the same swap device, one for each swap dev link. But those units are missing an ordering dependencies which was created by the fstab generator for the main swap unit. Therefore during shutdown those 'alias' units can be stopped at anytime before unmount.target target. This patch makes sure that all swap units are stopped after the swap.target target.
2015-11-23tests: add sd_event_now to test_basicEvgeny Vereshchagin
2015-11-23Merge pull request #1987 from heftig/usertasksZbigniew Jędrzejewski-Szmek
Set user@.service TasksMax=infinity