summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-06-01revert some changesLuke Shumaker
2016-06-01stuffLuke Shumaker
2016-06-01work on libsharedLuke Shumaker
2016-06-01Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # build-aux/Makefile.once.head/20-systemd.mk # build-aux/Makefile.once.tail/20-systemd.mk # config.mk.in # src/libbasic/Makefile # src/libshared/Makefile # src/libsystemd/libsystemd-internal/Makefile
2016-06-01./move.shLuke Shumaker
2016-06-01get libbasic to build againLuke Shumaker
2016-06-01stuffLuke Shumaker
2016-06-01tidyLuke Shumaker
2016-06-01Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/journal/Makefile # src/libsystemd/Makefile # src/libsystemd/libsystemd-internal/Makefile # src/libsystemd/libsystemd-journal-internal/Makefile
2016-06-01stuffLuke Shumaker
2016-06-01./move.shLuke Shumaker
2016-06-01Makefile: systemd-nspawn use symlinks instead of copyingLuke Shumaker
2016-06-01Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # am-pretty.mk # config.mk.in # src/journal/Makefile # src/kernel-install/Makefile # src/libbasic/Makefile # src/libfirewall/Makefile # src/libshared/Makefile # src/libsystemd/Makefile # src/libsystemd/libsystemd-internal/Makefile # src/libsystemd/libsystemd-journal-internal/Makefile # src/libsystemd/src/Makefile # src/systemd-nspawn/Makefile # src/systemd-nspawn/nspawn-network.c # src/udev/udev.h
2016-06-01./move.shLuke Shumaker
2016-06-01new autothingLuke Shumaker
2016-05-27stuffLuke Shumaker
2016-05-26re-add network-util.h includesLuke Shumaker
2016-05-26Merge branch 'lukeshu-postmove' into lukeshuLuke Shumaker
# Conflicts: # src/libshared/Makefile
2016-05-26run itLuke Shumaker
2016-05-26Merge branch 'post' into lukeshu-postmoveLuke Shumaker
# Conflicts: # Makefile.am # am-pretty.mk # common.once.head.mk # config.mk.in # discard.mk # src/kernel-install/Makefile # src/libbasic/Makefile # src/libcore/Makefile # src/libfirewall/Makefile # src/libshared/Makefile # src/libsystemd/Makefile # src/libsystemd/src/Makefile # src/libudev/Makefile # src/libudev/src/Makefile # src/system/systemd/Makefile # src/systemd-nspawn/.gitignore # src/systemd-nspawn/Makefile
2016-05-26run itLuke Shumaker
2016-05-26oopsLuke Shumaker
2016-05-26move stuffLuke Shumaker
2016-05-25stuffLuke Shumaker
2016-05-25run itLuke Shumaker
2016-05-25FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"Luke Shumaker
2016-05-25FSDG: os-release: Default to NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-05-25FSDG: os-release: Default to PRETTY_NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-05-25core: revert "core: resolve specifier in config_parse_exec()"systemd/v229-3Evgeny Vereshchagin
This reverts commit cb48dfca6a8bc15d9081651001a16bf51e03838a. Exec*-settings resolve specifiers twice: %%U -> config_parse_exec [cb48dfca6a8] -> %U -> service_spawn -> 0 Fixes #2637
2016-05-25udev: fix cg_unified() return code checkingLennart Poettering
Fixes fall-out from 8b3aa503c171acdb9ec63484a8c50e2680d31e79. Fixes: #2635
2016-05-25core: fix assertion checkLennart Poettering
Fixes: #2632
2016-05-25networkd: FIONREAD is not reliable on some socketsLennart Poettering
Fixes: #2457
2016-02-11delta: minor coding style fixesLennart Poettering
no change in behaviour
2016-02-11core: don't choke if a unit another unit triggers vanishes during reloadLennart Poettering
Fixes: #1981
2016-02-10nss-mymachines: never resolve unmapped UIDs/GIDsLennart Poettering
Don't ever permit successful user or group lookups if no UID/GID mapping is actually applied. THis way, we can be sure that nss-mymachines cannot be used to insert invalid cache entries into nscd's cache. https://bugzilla.redhat.com/show_bug.cgi?id=1285339
2016-02-10Merge pull request #2574 from zonque/netclass-removeLennart Poettering
cgroup: remove support for NetClass= directive
2016-02-10Merge pull request #2495 from heftig/masterLennart Poettering
tty-ask-password: Split out password sending
2016-02-10cgroup: remove support for NetClass= directiveDaniel Mack
Support for net_cls.class_id through the NetClass= configuration directive has been added in v227 in preparation for a per-unit packet filter mechanism. However, it turns out the kernel people have decided to deprecate the net_cls and net_prio controllers in v2. Tejun provides a comprehensive justification for this in his commit, which has landed during the merge window for kernel v4.5: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd1060a1d671 As we're aiming for full support for the v2 cgroup hierarchy, we can no longer support this feature. Userspace tool such as nftables are moving over to setting rules that are specific to the full cgroup path of a task, which obsoletes these controllers anyway. This commit removes support for tweaking details in the net_cls controller, but keeps the NetClass= directive around for legacy compatibility reasons.
2016-02-10core: treat JobTimeout=0 as equivalent to JobTimeout=infinityLennart Poettering
Corrects an incompatibility introduced with 36c16a7cdd6c33d7980efc2cd6a2211941f302b4. Fixes: #2537
2016-02-10core: simplify how we parse TimeoutSec=, TimeoutStartSec= and TimeoutStopSec=Lennart Poettering
Let's make things more obvious by placing the parse_usec() invocation directly in config_parse_service_timeout().
2016-02-10coredump: dump priviliges when processing system coredumpsLennart Poettering
Let's add an extra-safety net and change UID/GID to the "systemd-coredump" user when processing coredumps from system user. For coredumps of normal users we keep the current logic of processing the coredumps from the user id the coredump was created under. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=87354
2016-02-10core: set RLIMIT_CORE to unlimited by defaultLennart Poettering
The kernel sets RLIMIT_CORE to 0 by default. Let's bump this to unlimited by default (for systemd itself and all processes we fork off), so that the coredump hooks have an effect if they honour it. Bumping RLIMIT_CORE of course would have the effect that "core" files will end up on the system at various places, if no coredump hook is used. To avoid this, make sure PID1 sets the core pattern to the empty string by default, so that this logic is disabled. This change in defaults should be useful for all systems where coredump hooks are used, as it allows useful usage of RLIMIT_CORE from these hooks again. OTOH systems that expect that coredumps are placed under the name "core" in the current directory will break with this change. Given how questionnable this behaviour is, and given that no common distro makes use of this by default it shouldn't be too much of a loss. Also, the old behaviour may be restored by explicitly configuring a "core_pattern" of "core", and setting the default system RLIMIT_CORE to 0 again via system.conf.
2016-02-10coredump: honour RLIMIT_CORE when saving/processing coredumpsLennart Poettering
With this change processing/saving of coredumps takes the RLIMIT_CORE resource limit of the crashing process into account, given the user control whether specific processes shall core dump or not, and how large to make the core dump. Note that this effectively disables core-dumping for now, as RLIMIT_CORE defaults to 0 (i.e. is disabled) for all system processes.
2016-02-10coredump: rework coredumping logicLennart Poettering
This reworks the coredumping logic so that the coredump handler invoked from the kernel only collects runtime data about the crashed process, and then submits it for processing to a socket-activate coredump service, which extracts a stacktrace and writes the coredump to disk. This has a number of benefits: the disk IO and stack trace generation may take a substantial amount of resources, and hence should better be managed by PID 1, so that resource management applies. This patch uses RuntimeMaxSec=, Nice=, OOMScoreAdjust= and various sandboxing settings to ensure that the coredump handler doesn't take away unbounded resources from normally priorized processes. This logic is also nice since this makes sure the coredump processing and storage is delayed correctly until /var/systemd/coredump is mounted and writable. Fixes: #2286
2016-02-10activate: add a new switch --inetd to enable inetd-style socket activationLennart Poettering
Previously, using --accept would enable inetd-style socket activation in addition to per-connection operation. This is now split into two switches: --accept only switches between per-connection or single-instance operation. --inetd switches between inetd-style or new-style fd passing. This breaks the interface of the tool, but given that it is a debugging tool shipped in /usr/lib/systemd/ it's not really a public interface. This change allows testing new-style per-connection daemons.
2016-02-10activate: minor fixesLennart Poettering
2016-02-10activate: add new --seqpacket switch for testing SOCK_SEQPACKET socketsLennart Poettering
2016-02-10resolved: include inttypes.h in resolved-def.h given that we use UINT64_CLennart Poettering
2016-02-10build-sys: move coredump logic into subdir of its ownLennart Poettering
2016-02-10Merge pull request #2569 from zonque/removalsMartin Pitt
Remove some old cruft