summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2015-11-23Merge pull request #1988 from phomes/systemctl-uninitialized2Zbigniew Jędrzejewski-Szmek
systemctl: do not return uninitialized r
2015-11-22man: include the target name when linking to man pages in html outputZbigniew Jędrzejewski-Szmek
Links like http://www.freedesktop.org/software/systemd/man/systemd.socket.html are changed to http://www.freedesktop.org/software/systemd/man/systemd.socket.html#Accept=. This implementation is quick & dirty, and misses various corner cases. A fairly important one is that when a few directives share the same anchor (which happens when multiple directives are described in the same paragraph), generated links for everything except the first one link to an invalid anchor. Another shortcoming is that the formatting does not use the proper generateID machinery, so the anchor name could be wrong in some cases. But it seems to work for a large percentage of links, so seems to be an improvement in usability. When the anchor is missing, we land at the top of the page, which is the same as before. If the anchor were to point to different spot, this would be more confusing... Not sure if that ever happens. Anyway, the user should be able to recover from landing on the wrong place in the page. (Mostly) fixes https://github.com/systemd/systemd/issues/1956.
2015-11-22systemctl: do not return uninitialized rThomas Hindoe Paaboel Andersen
Regresssed during port to extract_first_word in 5ab22f3321d238957c03dcc6a6db76491e3989b8 CID #1338060
2015-11-22Set user@.service TasksMax=infinityJan Alexander Steffens (heftig)
The user manager is still limited by its parent slice user-UID.slice, which defaults to 4096 tasks. However, it no longer has an additional limit of 512 tasks. Fixes #1955.
2015-11-22Merge pull request #1983 from dmedri/masterLennart Poettering
Minor updates on po/ files + it.po update
2015-11-22Merge pull request #1978 from evverx/man-service-watchdogLennart Poettering
man: update WatchdogSec section
2015-11-22Merge pull request #1980 from evverx/sd-event-use-prioq-ensure-allocatedLennart Poettering
sd-event: update tests; small refactoring
2015-11-22rpm: fix %systemd_user_post() macro.Tadej Janež
Escape "--user" and "--global" arguments with "\\" since rpm treats arguments starting with "-" as macro options which causes "Unknown option" rpm error. Use %{expand:...} to force expansion of the inner macro. Otherwise %{?*} is recursively defined as "\--user \--global {%?*}" which causes "Too many levels of recursion in macro expansion" rpm error. Thanks to Michael Mráka for helping me fix the above issues.
2015-11-22networkd: link - fix reading routesThomas Hindoe Paaboel Andersen
This regressed during the port to extract_first_word in c598ac76 (v228). CID #1338083
2015-11-22Italian: language updateDaniele Medri
2015-11-22translations: update-poDaniele Medri
2015-11-22tests: add missing sd_event_add_post to test_basicEvgeny Vereshchagin
2015-11-22tests: check exit handler invocationEvgeny Vereshchagin
2015-11-22sd-event: use prioq_ensure_allocated where possibleEvgeny Vereshchagin
2015-11-21Merge pull request #1979 from evverx/build-install-systemd-path-completionDaniel Mack
build: install bash completion for systemd-path
2015-11-21build: install bash completion for systemd-pathEvgeny Vereshchagin
This is a follow-up for commit e50e53876fb08b6
2015-11-21man: update WatchdogSec sectionEvgeny Vereshchagin
* add info about sd_event_set_watchdog * add missing Restart values
2015-11-20Merge pull request #1966 from evverx/fix-initrd-searching-on-debianDaniel Mack
tests: fix initrd searching on Debian/Ubuntu