summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2015-11-20tests: fix initrd searching on Debian/UbuntuEvgeny Vereshchagin
2015-11-20Merge pull request #1950 from evverx/man-systemd-exec-envLennart Poettering
man: systemd.exec: add missing variables
2015-11-20Merge pull request #1964 from poettering/sd-event-manMartin Pitt
Finish the documentation for sd-event.h
2015-11-20Merge pull request #1962 from mbiebl/install-completion-networkctlTom Gundersen
build: install bash completion for networkctl
2015-11-19man: fully document sd-event interfacesLennart Poettering
This completes the set of man pages for sd-event and contains some minor other fixes for other man pages too. The sd_event_set_name(3) man page is renamed to sd_event_source_set_description(3), which is the correct name of the concept today.
2015-11-19sd-event: define a new PREPARING stateLennart Poettering
We already have a state RUNNING and EXITING when we dispatch regular and exit callbacks. Let's introduce a new state called PREPARING that is active while we invoke preparation callbacks. This way we have a state each for all three kinds of event handlers. The states are currently not documented, hence let's add a new state to the end, before we start documenting this.
2015-11-19sd-event: make _ref() calls NOPs when NULL is passed to themLennart Poettering
Let's make _ref() calls happy when NULL is passed to them, and simply return NULL without any assertion logic. This makes them nicely symmetric to the _unref() calls which also are happy to take NULL and become NOPs then.
2015-11-19Merge pull request #1947 from phomes/sort-includes2Lennart Poettering
tree-wide: sort includes in *.h
2015-11-19build: install bash completion for networkctlMichael Biebl
This is a follow-up for commit e4f246b1b512c68260581c4976d2eb01cf7febdc.
2015-11-19Merge pull request #1953 from martinpitt/fix-gitignoreFilipe Brandenburger
gitignore: only ignore .html files in man/
2015-11-19gitignore: only ignore .html files in man/Martin Pitt
src/journal-remote/browse.html is git-tracked source and should not be ignored. Avoid accidentally ignoring similar ones in the future.
2015-11-19Merge pull request #1960 from evverx/fix-ls-can-not-accessDaniel Mack
tests: fix ls: cannot access /var/tmp/systemd-test.*/journal/*/*.journal
2015-11-19tests: fix ls: cannot access /var/tmp/systemd-test.*/journal/*/*.journalEvgeny Vereshchagin
don't lose logs from the test machine too
2015-11-19man: systemd.exec: add missing variablesEvgeny Vereshchagin
2015-11-19Merge pull request #1958 from teg/networkd-fixesDaniel Mack
nd-ndisc: don't fail if src address is unset
2015-11-19nd-ndisc: don't fail if src address is unsetTom Gundersen
This happens when running our test-suite over a socketpair, so don't fall over in that case. Fixes issue #1952.
2015-11-19Merge pull request #1951 from martinpitt/siphash-test-endianessFilipe Brandenburger
test: remove wrong endianess conversion in test-siphash24
2015-11-19test: remove wrong endianess conversion in test-siphash24Martin Pitt
Commit 933f9caee changed the returned result of siphash24_finalize() from little-endian to native. Follow suit in test-siphash24 and drop the endianess conversion there as well, so that this succeeds on big-endian machines again. Fixes #1946.
2015-11-19Merge pull request #1931 from bengal/dhcp-fqdn-v2Tom Gundersen
libsystemd-network: add support for "Client FQDN" DHCP option (v2)
2015-11-19Merge pull request #1944 from poettering/randoms-ecTom Gundersen
add RandomSec= setting to timer units, and more