summaryrefslogtreecommitdiffstats
path: root/modprobe.d (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-02test: add tests for new .timer unitsLennart Poettering3-0/+87
2019-04-02core: optionally, trigger .timer units on timezone and clock changesLennart Poettering7-10/+61
Fixes: #6228
2019-04-02run: rename with_timer → arg_with_timerLennart Poettering1-12/+12
The value is directly initialized from cmdline args, hence let's name it so, following our usual naming style.
2019-04-02core: use more structured initializationLennart Poettering1-12/+20
2019-04-02build: install /etc/systemd/{system,user}-generatorsTopi Miettinen2-0/+4
Manual page systemd.generators refers to /etc/systemd/{system,user}-generators, but the paths do not exist, so let's install them.
2019-04-02core: refactor transaction.c to use fewer gotosLennart Poettering1-31/+46
In particular, let's not use gotos that jump up, i.e. are loops. gotos that jump down for the purpose of clean-up are cool, but using them for loops is evil. No change in behaviour, just some refactoring.
2019-04-01NEWS: document the change to installationZbigniew Jędrzejewski-Szmek1-0/+9
2019-04-01systemctl: print a more accurate error message when we canLennart Poettering1-1/+1
2019-04-01rm-rf: refuse combining REMOVE_ONLY_DIRECTORIES and REMOVE_SUBVOLUME for nowLennart Poettering1-0/+5
It's not easy to implement such a combined operation race-freely since dropping a subvolume will drop all its contents, including any non-directories. Hence, let's just not support this combination for now. Which isn't much of a loss, since we never combine these flags anyway.
2019-04-01core: export ReloadResult value on the busLennart Poettering1-0/+1
We keep track of it, but never exposed it. Let's fix that.
2019-04-01shared: add some minor commentsLennart Poettering1-0/+4
2019-04-01core: add a common function for bus calls that return unit dbus pathLennart Poettering1-40/+22
Let's shorten the code a bit by using a single function for similar cases. No change in behaviour, just some refactoring and shortening.
2019-04-01fs-util: suppress world-writable warnings if we read /dev/nullLennart Poettering1-0/+4
Fixes: #12165
2019-04-01sd-bus: add missing empty lineLennart Poettering1-0/+1
2019-04-01test-network: add tests for --any option of wait-onlineYu Watanabe3-1/+31
2019-04-01test-network: fix timeout argument for wait_online()Yu Watanabe1-2/+1
2019-04-01wait-online: add --any optionYu Watanabe4-32/+64
When this option is specified, wait-online exits with success even when several interfaces are in configuring state. Closes #9714.
2019-04-01test-network: add tests for FooOverUDP tunnelsYu Watanabe7-0/+113
2019-04-01man: update FooOverUDP=Yu Watanabe1-11/+15
2019-04-01network: make FooOverUDP.Protocol= support name of ipprotoYu Watanabe3-1/+40
2019-04-01network: use asynchronous call for creating FOU tunnelsYu Watanabe1-4/+26
Otherwise, multiple FOU tunnels cannot be created correctly.
2019-04-01network: do not ignore FooOverUDP.Encapsulation= settingYu Watanabe1-12/+29
Previously the setting is ignored and always FOU_ENCAP_GUE is sent.
2019-04-01network: merge ipip_init() and sit_init()Yu Watanabe1-12/+14
2019-04-01network: add FooOverUDP support for SIT and GRE tunnelsYu Watanabe1-1/+17
2019-04-01test-network: add more tests for SerializeTunneledPackets=, Key=, and friendsYu Watanabe6-1/+39
2019-04-01hwdb: Fix micmute on ASUS FX503VDBenjamin Berg1-0/+4
The micmute key needs to be remapped to F20 for userspace to consume it. See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/121
2019-04-01test: set longer StartLimitIntervalSec= and fewer StartLimitBurst=Yu Watanabe1-0/+2
Some test environment may be in heavy load. In that case, rate limit never hit, and the test fails...
2019-04-01man: be clearer that .timer time expressions need to be reset to override themLennart Poettering1-13/+18
let's be clearer about the overriding concept for OnCalendar= settings. Prompted by this thread: https://lists.freedesktop.org/archives/systemd-devel/2019-March/042351.html
2019-04-01man: refer to innermost directory as innermost, not as "lowest"Lennart Poettering1-4/+4
Let's avoid confusion whether the root is at the top or of the bottom of the directory tree. Moreover we use "innermost" further down for the same concept, so let's stick to the same terminology here.
2019-04-01man: tweak XyzDirectory= table a bitLennart Poettering1-10/+10
2019-04-01core: pass parse error to log functions when parsing timer expressionsLennart Poettering1-5/+8
2019-04-01core: simply timer expression parsing by using ".ltype" field of conf-parser ↵Lennart Poettering2-31/+27
logic No change of behaviour. Let's just not parse the lvalue all the time with timer_base_from_string() if we can already pass it in parsed.
2019-04-01udev: move udev_ctrl_cleanup() into manager_free()Yu Watanabe1-7/+6
2019-04-01meson: stop creating enablement symlinks in /etc during installationZbigniew Jędrzejewski-Szmek1-20/+9
This patch was initially prompted by a report on a Fedora update [1], that the upgrade causes systemd-resolved.service and systemd-networkd.service to be re-enabled. We generally want to preserve the enablement of all services during upgrades, so a reset like this is not expected. Both services declare two symlinks in their [Install] sections, for their dbus names and for multi-user.target.wants/. It turns out that both services were only partially enabled, because their dbus unit symlinks /etc/systemd/system/dbus-org.freedesktop.{resolve1,network1}.service were created, by the symlinks in /etc/systemd/system/multi-user.target.wants/ were not. This means that the units could be activated by dbus, but not in usual fashion using systemctl start. Our tools make it rather hard to figure out when something like this happens, and it is definitely an area for improvement on its own. The symlink in .wants/ was filtered out by during packaging, but the dbus symlink was left in (I assume by mistake). Let's simplify things by not creating the symlinks statically during 'ninja install'. This means that the units shipped by systemd have to be enabled in the usual fashion, which in turns means that [Install] section and presets become the "single source of truth" and we don't have two sets of conflicting configuration. Let's consider a few cases: - developer: a developer installs systemd from git on a running system, and they don't want the installation to reset enablement of anything. So this change is either positive for them, or has no effect (if they have everything at defaults). - package creation: we want to create symlinks using 'preset-all' and 'preset' on upgraded packages, we don't want to have any static symlinks. This change will remove the need to filter out symlinks in packaging and of course fix the original report. - installation of systemd from scratch: this change means that without 'preset-all' the system will not be functional. This case could be affected negatively by this change, but I think it's enough of a corner case to accept this. In practice I expect people to build a package, not installl directly into the file system, so this might not even matter in practice. Creating those symlinks was probably the right thing in the beginning, but nowadays the preset system is very well established and people expect it to be honoured. Ignoring the presets and doing static configuration is not welcome anymore. Note: during package installation, either 'preset-all' or 'preset getty@.service machines.target remote-cryptsetup.target remote-fs.target systemd-networkd.service systemd-resolved.service systemd-networkd-wait-online.service systemd-timesyncd.service' should be called. [1] https://bodhi.fedoraproject.org/updates/FEDORA-2019-616045ca76
2019-04-01meson: indentationZbigniew Jędrzejewski-Szmek1-1/+1
2019-04-01po: update ja.poYu Watanabe1-34/+94
2019-04-01test-network: add test for NetDev.Name= conflictYu Watanabe2-1/+8
2019-04-01udev: shorten code a bitYu Watanabe1-3/+1
2019-04-01network: add '=' to config key names in logYu Watanabe1-4/+7
Also, long lines are wrapped.
2019-04-01network: do not abort execution when NetDev.Name= conflictsYu Watanabe1-1/+14
This also changes that .netdev files are loaded in ascending order. Otherwise, when NetDev.ifname= setting conflicts with other .netdev file, then .netdev file with large prefix number wins.
2019-04-01test-network: add test for drop-in [WireGuardPeer] sectionYu Watanabe3-14/+17
This also merges the two wireguard tests, and use wait_online() to speed up the test.
2019-03-31bootspec: fix memleak caused by setting invalid cleanup functionYu Watanabe1-1/+1
2019-03-31bootspec: add missing free() in boot_config_free()Yu Watanabe1-0/+1
2019-03-30test-network: test stacked erspan tunnelsYu Watanabe4-3/+10
2019-03-30man: update Tunnel.Key= and friendsYu Watanabe1-6/+8
2019-03-30network: make GRE and GRETAP support Key=, InputKey=, OutputKey=, and ↵Yu Watanabe3-60/+46
SerializeTunneledPackets= This also merge netdev_gre_fill_message_create() and netdev_erspan_fill_message_create().
2019-03-29network: make erspan netdev can be specified in Network.Tunnel=Yu Watanabe3-2/+6
2019-03-29network: do not continue when appending data to netlink message failsYu Watanabe1-3/+3
2019-03-29test-network: merge tests for [Route] sectionYu Watanabe8-159/+72
2019-03-29test-network: use wait_online() in test_sysctl_disable_ipv6()Yu Watanabe1-2/+4