summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tty-ask-password: drop redundant local variableLennart Poettering2019-04-021-3/+1
| | | |
| * | | tty-ask-password: copy argv[] before forking childLennart Poettering2019-04-021-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another fix in style of bd169c2be0fbdaf6eb2ea7951e650d5e5983fbf6. Let's also avoid strjoina() in a loop (i.e. stack allocation). While in this specific caseone could get away with it (since we'd immediately afterwards leave the loop) it's still ugly, and every static checker would be totally within its rights to complain. Also, let's simplify things by not relying on argc, since it's redundant anyway, and it's nicer to just treat things as NULL terminated strv array. Fixes: #12180
* | | | journal: LGTM doesn't recognize suppressions in /* */Frantisek Sumsal2019-04-021-1/+1
| |/ / |/| |
* | | journal-remote: use source's boot-idChris Morin2019-04-024-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd-journal-remote always wrote the boot-id of the device it was running on to the header of its journal files. When the source had a different boot-id (because it was generated on a different boot, or a different device), the boot-ids in the file were inconsistent. The _BOOT_ID field was that of the source, but the journal file header and each entry object header were that of the device systemd-journal-remote ran on. This breaks journalctl --list-boots on any of these files. Set the boot-id in the header to be that of the source. This also fixes the entry object headers.
* | | ipv4ll: do not reset seed generation counter on restartYu Watanabe2019-04-021-15/+17
| | | | | | | | | | | | Fixes #12145.
* | | Merge pull request #12007 from poettering/clock-changeLennart Poettering2019-04-0213-39/+203
|\ \ \ | |/ / |/| | .timer OnClockChange= and OnTimezoneChange= settings
| * | update TODOLennart Poettering2019-04-021-5/+0
| | |
| * | man: document the two new .timer settingsLennart Poettering2019-04-022-0/+23
| | |
| * | test: add tests for new .timer unitsLennart Poettering2019-04-023-0/+87
| | |
| * | core: optionally, trigger .timer units on timezone and clock changesLennart Poettering2019-04-027-10/+61
| | | | | | | | | | | | Fixes: #6228
| * | run: rename with_timer → arg_with_timerLennart Poettering2019-04-021-12/+12
| | | | | | | | | | | | | | | The value is directly initialized from cmdline args, hence let's name it so, following our usual naming style.
| * | core: use more structured initializationLennart Poettering2019-04-021-12/+20
|/ /
* | build: install /etc/systemd/{system,user}-generatorsTopi Miettinen2019-04-022-0/+4
| | | | | | | | | | Manual page systemd.generators refers to /etc/systemd/{system,user}-generators, but the paths do not exist, so let's install them.
* | Merge pull request #12030 from poettering/condition-memoryYu Watanabe2019-04-026-55/+322
|\ \ | | | | | | add ConditionCPUs= + ConditionMemory=
| * | tests: add tests for ConditionMemory= + ConditionCPUsLennart Poettering2019-03-191-0/+125
| | |
| * | man: document ConditionMemory= + ConditionCPUs=Lennart Poettering2019-03-191-0/+20
| | |
| * | condition: add ConditionMemory= and ConditionCPUs=Lennart Poettering2019-03-192-2/+61
| | | | | | | | | | | | | | | | | | We have all the building blocks in place already, let's add this. Fixes: #8990
| * | condition: for completenes sake at != comparator for ConditionKernelVersion=Lennart Poettering2019-03-192-5/+11
| | |
| * | condition: use structured initializationLennart Poettering2019-03-191-9/+11
| | |
| * | process-util: add new helper cpus_in_affinity_mask()Lennart Poettering2019-03-192-0/+36
| | | | | | | | | | | | | | | Let's add a new helper for determining how many CPUs are configured for us
| * | condition: split out kernel version comparison stepsLennart Poettering2019-03-191-39/+58
| | | | | | | | | | | | | | | | | | Let's split out the operator parsing and the final verdict determination. That way we can reuse this logic for other purposes later on.
* | | Merge pull request #12168 from poettering/man-fixesYu Watanabe2019-04-022-27/+32
|\ \ \ | | | | | | | | three minor tweaks to the man pages
| * | | man: be clearer that .timer time expressions need to be reset to override themLennart Poettering2019-04-011-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
| * | | man: refer to innermost directory as innermost, not as "lowest"Lennart Poettering2019-04-011-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.
| * | | man: tweak XyzDirectory= table a bitLennart Poettering2019-04-011-10/+10
| | | |
* | | | core: refactor transaction.c to use fewer gotosLennart Poettering2019-04-021-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.
* | | | NEWS: document the change to installationZbigniew Jędrzejewski-Szmek2019-04-021-0/+9
| | | |
* | | | Merge pull request #12160 from yuwata/wait-online-allow-configuringYu Watanabe2019-04-027-35/+96
|\ \ \ \ | | | | | | | | | | wait-online: add --any option
| * | | | test-network: add tests for --any option of wait-onlineYu Watanabe2019-04-023-1/+31
| | | | |
| * | | | test-network: fix timeout argument for wait_online()Yu Watanabe2019-04-021-2/+1
| | | | |
| * | | | wait-online: add --any optionYu Watanabe2019-04-024-32/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this option is specified, wait-online exits with success even when several interfaces are in configuring state. Closes #9714.
* | | | | Merge pull request #12155 from ↵Yu Watanabe2019-04-0217-42/+293
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | yuwata/network-fix-and-extend-foo-over-udp-support network: fix and extend Foo over UDP
| * | | | | test-network: add tests for FooOverUDP tunnelsYu Watanabe2019-04-027-0/+113
| | | | | |
| * | | | | man: update FooOverUDP=Yu Watanabe2019-04-021-11/+15
| | | | | |
| * | | | | network: make FooOverUDP.Protocol= support name of ipprotoYu Watanabe2019-04-023-1/+40
| | | | | |
| * | | | | network: use asynchronous call for creating FOU tunnelsYu Watanabe2019-04-021-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise, multiple FOU tunnels cannot be created correctly.
| * | | | | network: do not ignore FooOverUDP.Encapsulation= settingYu Watanabe2019-04-021-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | Previously the setting is ignored and always FOU_ENCAP_GUE is sent.
| * | | | | network: merge ipip_init() and sit_init()Yu Watanabe2019-04-021-12/+14
| | | | | |
| * | | | | network: add FooOverUDP support for SIT and GRE tunnelsYu Watanabe2019-04-021-1/+17
| | | | | |
| * | | | | test-network: add more tests for SerializeTunneledPackets=, Key=, and friendsYu Watanabe2019-04-026-1/+39
| | | | | |
* | | | | | systemctl: print a more accurate error message when we canLennart Poettering2019-04-021-1/+1
| | | | | |
* | | | | | rm-rf: refuse combining REMOVE_ONLY_DIRECTORIES and REMOVE_SUBVOLUME for nowLennart Poettering2019-04-021-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.
* | | | | | core: export ReloadResult value on the busLennart Poettering2019-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We keep track of it, but never exposed it. Let's fix that.
* | | | | | shared: add some minor commentsLennart Poettering2019-04-021-0/+4
| | | | | |
* | | | | | core: add a common function for bus calls that return unit dbus pathLennart Poettering2019-04-021-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.
* | | | | | Merge pull request #12167 from poettering/timer-parse-tweakYu Watanabe2019-04-022-36/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | two tweaks for timer expression parsing
| * | | | | | core: pass parse error to log functions when parsing timer expressionsLennart Poettering2019-04-011-5/+8
| | | | | | |
| * | | | | | core: simply timer expression parsing by using ".ltype" field of conf-parser ↵Lennart Poettering2019-04-012-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.
* | | | | | fs-util: suppress world-writable warnings if we read /dev/nullLennart Poettering2019-04-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #12165
* | | | | | sd-bus: add missing empty lineLennart Poettering2019-04-011-0/+1
| |/ / / / |/| | | |