summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-05-10Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2017-05-10./tools/notsd-moveLuke Shumaker
2017-05-10Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2017-05-10./tools/notsd-moveLuke Shumaker
2017-05-10completion?Luke Shumaker
2017-05-10fixitLuke Shumaker
2017-05-10fixoLuke Shumaker
2017-05-10Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2017-05-10./tools/notsd-moveLuke Shumaker
2017-05-10sparse: avoid clash with __bitwise and __force from 4.10 linux/types.h (#5061)Lubomir Rintel
It also used __bitwise and __force. It seems easier to rename our versions since they are local to this one single header. Also, undefine them afteerwards, so that we don't pollute the preprocessor macro namespace. (cherry picked from commit dc66f33a16596c2886a24da12e56ec096214e124)
2017-05-10amLuke Shumaker
2017-05-06Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2017-05-06./tools/notsd-moveLuke Shumaker
2017-05-06Merge tag 'systemd/v232-6.parabola1'systemd/v232-8.parabola2Luke Shumaker
2017-05-06build-sys: add check for gperf lookup function signature (#5055)Mike Gilbert
gperf-3.1 generates lookup functions that take a size_t length parameter instead of unsigned int. Test for this at configure time. Fixes: https://github.com/systemd/systemd/issues/5039
2017-03-09nspawn: Reword a comment.Luke Shumaker
I had to read it 3 times before I understood its sentence structure.
2017-03-09nspawn: Use fgetpwent() instead of rolling our own parser.Luke Shumaker
There isn't a strong reason to do this, other than that it simplifies the code quite a bit. This means that the -errno return codes might be a bit different.
2017-02-01Add a GNUmakefile to apply the MAKEFLAGS we want.Luke Shumaker
2017-02-01move systemd-cgroups-agent into grp-systemLuke Shumaker
2016-12-24Fix an inaccurate comment in sd-daemon.cLuke Shumaker
2016-12-24Fix a grammatical issue in sd_notify(3).Luke Shumaker
2016-12-17move local-addresses.{c,h} libsystemd-{internal/sd-netlink,shared}Luke Shumaker
2016-12-17Fix the build.Luke Shumaker
2016-12-17fix headersLuke Shumaker
2016-12-17Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
# Conflicts: # src/grp-journal/libjournal-core/.gitignore # src/grp-system/libcore/include/core/mount.h
2016-12-17./tools/notsd-moveLuke Shumaker
2016-12-17# Rename "Linux Boot Manager" -> "Systemd Boot Manager"systemd/v232-6.parabola1Luke Shumaker
sed -i 's|Linux Boot Manager|Systemd Boot Manager|' src/boot/bootctl.c
2016-12-17FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"Luke Shumaker
2016-12-17FSDG: os-release: Default to NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-12-17FSDG: os-release: Default to PRETTY_NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-12-17Merge tag 'systemd/v232-4'systemd/v232-6Luke Shumaker
2016-12-17nspawn: don't hide --bind=/tmp/* mountsDave Reisner
This is a v232-applicable version of upstream c9fd987279a462e.
2016-12-17journal: make sure to initially populate the space info cache (#4807)Franck Bui
Make sure to populate the cache in cache_space_refresh() at least once otherwise it's possible that the system boots fast enough (and the journal flush service is finished) before the invalidate cache timeout (30 us) has expired. Fixes: #4790
2016-12-17nspawn: fix exit code for --help and --version (#4609)Martin Pitt
Commit b006762 inverted the initial exit code which is relevant for --help and --version without a particular reason. For these special options, parse_argv() returns 0 so that our main() immediately skips to the end without adjusting "ret". Otherwise, if an actual container is being started, ret is set on error in run(), which still provides the "non-zero exit on error" behaviour. Fixes #4605.
2016-12-17Revert "nspawn: try to bind mount resolved's resolv.conf snippet into the ↵systemd/v232-4Dave Reisner
container" This reverts commit 3539724c26a1b2b00c4eb3c004b635a4b8647de6.
2016-12-17disable RestrictAddressFamilies on i686Dave Reisner
Shit's broke, yo. https://github.com/systemd/systemd/issues/4575
2016-12-17device: Avoid calling unit_free(NULL) in device setup logic (#4748)Dave Reisner
Since a581e45ae8f9bb5c, there's a few function calls to unit_new_for_name which will unit_free on failure. Prior to this commit, a failure would result in calling unit_free with a NULL unit, and hit an assertion failure, seen at least via device_setup_unit: Assertion 'u' failed at src/core/unit.c:519, function unit_free(). Aborting. Fixes #4747 https://bugs.archlinux.org/task/51950
2016-12-17basic/virt: fix userns check on CONFIG_USER_NS=n kernel (#4651)Zbigniew Jędrzejewski-Szmek
ENOENT should be treated as "false", but because of the broken errno check it was treated as an error. So ConditionVirtualization=user-namespaces probably returned the correct answer, but only by accident. Fixes #4608.
2016-12-17core: don't use the unified hierarchy for the systemd cgroup yet (#4628)Martin Pitt
Too many things don't get along with the unified hierarchy yet: * https://github.com/opencontainers/runc/issues/1175 * https://github.com/docker/docker/issues/28109 * https://github.com/lxc/lxc/issues/1280 So revert the default to the legacy hierarchy for now. Developers of the above software can opt into the unified hierarchy with "systemd.legacy_systemd_cgroup_controller=0".
2016-11-29Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2016-11-29./tools/notsd-moveLuke Shumaker
2016-11-29Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2016-11-29./tools/notsd-moveLuke Shumaker
2016-11-29Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
2016-11-29./tools/notsd-moveLuke Shumaker
2016-11-29fix thingsLuke Shumaker
2016-11-03Revert "sd-bus: use PRIu64 instead of casting" (#4556)systemd/v232Zbigniew Jędrzejewski-Szmek
This reverts commit 75ead2b753cb9586f3f208326446081baab70da1. Follow up for #4546: > @@ -848,8 +848,7 @@ static int bus_kernel_make_message(sd_bus *bus, struct kdbus_msg *k) { if (k->src_id == KDBUS_SRC_ID_KERNEL) bus_message_set_sender_driver(bus, m); else { - xsprintf(m->sender_buffer, ":1.%llu", - (unsigned long long)k->src_id); + xsprintf(m->sender_buffer, ":1.%"PRIu64, k->src_id); This produces: src/libsystemd/sd-bus/bus-kernel.c: In function ‘bus_kernel_make_message’: src/libsystemd/sd-bus/bus-kernel.c:851:44: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘__u64 {aka long long unsigned int}’ [-Wformat=] xsprintf(m->sender_buffer, ":1.%"PRIu64, k->src_id); ^
2016-11-03test: test DynamicUser= with SupplementaryGroups=Djalal Harouni
2016-11-03test: test DynamicUser= with a fixed userDjalal Harouni
2016-11-03core: intialize user aux groups and SupplementaryGroups= when DynamicUser= ↵Djalal Harouni
is set Make sure that when DynamicUser= is set that we intialize the user supplementary groups and that we also support SupplementaryGroups= Fixes: https://github.com/systemd/systemd/issues/4539 Thanks Evgeny Vereshchagin (@evverx)