summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | shared/condition: fix printing of ConditionNull=Zbigniew Jędrzejewski-Szmek2019-06-271-2/+5
| | | | | | | | | | | | | | | ConditionNull= is the only condition where parameter==NULL is allowed, and we'd print ConditionNull=(null) or ConditionNull=!(null).
| * | analyze: add 'condition' verbZbigniew Jędrzejewski-Szmek2019-06-277-2/+212
| | | | | | | | | | | | | | | We didn't have a straightforward way to parse and evaluate those strings. Prompted by #12881.
| * | core: do not enumerate units in MANAGER_TEST_RUN_MINIMAL modeZbigniew Jędrzejewski-Szmek2019-06-261-0/+6
| | | | | | | | | | | | | | | | | | In this mode we are not supposed to "interact with the environment", so loading all units and printing warnings about syntax errors and /var/run usage seems inappropriate.
| * | man: move description of how conditions are combined to the beginningZbigniew Jędrzejewski-Szmek2019-06-261-20/+12
| | | | | | | | | | | | | | | | | | Originally the description of conditions was brief, so it was acceptable to put this part at the end. But now we have a myriad conditions, and this crucial bit of information is easy to miss.
| * | core: move assert before actual use of the variableZbigniew Jędrzejewski-Szmek2019-06-261-4/+4
| | | | | | | | | | | | | | | No point in using u->id first, and doing assert(u) later. -std=c89 strikes again.
* | | Merge pull request #12760 from zachsmith/systemd-sleep_resume_offsetZbigniew Jędrzejewski-Szmek2019-06-273-6/+43
|\ \ \ | | | | | | | | systemd-sleep: use resume_offset value if set
| * | | systemd-sleep: refuse to calculate swapfile offset on BtrfsZach Smith2019-06-261-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If hibernation is requested but /sys/power/resume and /sys/power/resume_offset are not configured correctly, systemd-sleep attempts to calculate swapfile offset using fstat and fiemap. Btrfs returns virtual device number for stat and a virtual offset for fiemap which results in incorrect offset calculations. In the case where offset would be calculated and the user is using Btrfs, log a debug message and fail to write device and offset values.
| * | | systemd-sleep: (bug) use resume_offset value if setZach Smith2019-06-263-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use hibernation configuration as defined in /sys/power/resume and /sys/power/resume_offset if present before inspecting /proc/swaps and attempting to calculate swapfile offset
* | | | Merge pull request #12894 from stapelberg/patch-1Zbigniew Jędrzejewski-Szmek2019-06-271-1/+1
|\ \ \ \ | | | | | | | | | | cryptsetup: comment: crypt_setup → crypt_format
| * | | | cryptsetup: comment: crypt_setup → crypt_formatMichael Stapelberg2019-06-271-1/+1
| | | | |
* | | | | docs: fix typos and duplicate wordsMichael Prokop2019-06-278-9/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | s/and and/and/ s/explicity/explicitly/ s/that that/that/ s/the the/the/ s/is is/it is/ s/overriden/overridden/
* | | | Merge pull request #12890 from yuwata/fix-conf-parser-12883Zbigniew Jędrzejewski-Szmek2019-06-272-7/+15
|\ \ \ \ | |/ / / |/| | | conf-parse: fix continuation handling
| * | | test: add testcase for issue #12883Yu Watanabe2019-06-271-6/+13
| | | |
| * | | conf-parser: fix continuation handlingYu Watanabe2019-06-271-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | Before this commit, empty lines cannot break continuation. The bug was introduced by 9adbfeb38ac101d6f73a033bb120d63513ffb240. Closes #12883.
* | | Merge pull request #12892 from yuwata/fix-test-format-util-12891Evgeny Vereshchagin2019-06-272-13/+14
|\ \ \ | |/ / |/| | test: fix argument type of test_format_bytes_one()
| * | test: fix argument type of test_format_bytes_one()Yu Watanabe2019-06-271-7/+8
| | | | | | | | | | | | Closes #12891.
| * | util,test: rename variable non_iec -> siYu Watanabe2019-06-272-6/+6
|/ /
* | execute: drop SYNTHETIC_ERRNO because error code was received from the ↵Michal Sekletar2019-06-251-1/+1
| | | | | | | | apply_numa_policy()
* | network: further log message updateYu Watanabe2019-06-261-49/+49
|/ | | | Follow-up for 44e891bbf6908e494856fcf3011e88a70a12e087.
* core: factor root_directory application out of apply_working_directoryJoerg Behrmann2019-06-251-10/+28
| | | | Fixes: #12498
* core: move config_parse_* functions to a shared moduleFrantisek Sumsal2019-06-253-191/+203
| | | | | Apart from making the code a little bit more clean, it should allow us to write a fuzzer around the config-parsing functions in the future
* man: change true/false to yes/no for DefaultDependencies.INSUN PYO2019-06-251-3/+3
|
* Merge pull request #12877 from poettering/dynamic-user-re-migrate2Lennart Poettering2019-06-255-10/+117
|\ | | | | DynamicUser=1 → = 0 migration follow-up
| * man: say D-Bus, not dbusLennart Poettering2019-06-251-3/+2
| |
| * man: improve --test documentationLennart Poettering2019-06-251-6/+7
| | | | | | | | | | | | | | Incorporates some suggestions from: https://github.com/systemd/systemd/pull/12868#discussion_r296738370 https://github.com/systemd/systemd/commit/cd69e88ba3a692618048117b26fc9ea339aa1845#commitcomment-34060775
| * test: add test for DynamicUser=0 → =1 migration (and back)Lennart Poettering2019-06-253-0/+95
| |
| * core: mention why we do migration for everything but ConfigurationDirectory=Lennart Poettering2019-06-251-1/+5
| |
| * core: log when we convert from DynamicUser=1 to =0 or vice versaLennart Poettering2019-06-251-0/+8
| |
* | some CODING_STYLE additionsLennart Poettering2019-06-251-0/+13
|/
* systemd-nspawn(1): update example sectioncamoz2019-06-251-1/+1
| | | | | | Remove the retired flag -d from Example 4. "Boot a minimal Arch Linux distribution in a container". It has been retired here: https://git.archlinux.org/arch-install-scripts.git/commit/pacstrap.in?id=0af6884aca68dcb7eed0b85fbc2960903df3d968
* Merge pull request #12869 from poettering/dynamic-user-re-migrateLennart Poettering2019-06-251-19/+54
|\ | | | | DynamicUser=1 state directory back migration
| * core: migrate service directories back from private if neededLennart Poettering2019-06-241-0/+32
| | | | | | | | Fixes: #12131
| * core: add missing space to DynamicUser=1 directory commentLennart Poettering2019-06-241-19/+22
| | | | | | | | (also line break again)
* | bpf-firewall: custom BPF programs through IP(Ingress|Egress)FilterPath=Kai Lüke2019-06-2516-7/+436
| | | | | | | | | | | | | | Takes a single /sys/fs/bpf/pinned_prog string as argument, but may be specified multiple times. An empty assignment resets all previous filters. Closes https://github.com/systemd/systemd/issues/10227
* | Merge pull request #12874 from yuwata/ethtool-make-ubsan-quietLennart Poettering2019-06-256-70/+138
|\ \ | | | | | | ethtool: make UBSan quiet and add missing link modes
| * | ethtool: reindent link mode tableYu Watanabe2019-06-251-52/+52
| | |
| * | ethtool: add missing link modeYu Watanabe2019-06-252-1/+16
| | |
| * | ethtool-util: fix returned value when ethtool_cmd_speed() is SPEED_UNKNOWNYu Watanabe2019-06-251-2/+7
| | |
| * | linux: make UBSAN quietYu Watanabe2019-06-252-1/+2
| | |
| * | linux: update kernel headersYu Watanabe2019-06-254-14/+61
| | |
* | | Merge pull request #12870 from yuwata/tree-wide-further-path-join-cleanupsLennart Poettering2019-06-2520-49/+50
|\ \ \ | | | | | | | | tree-wide: further path_join() and path_joina() cleanups
| * | | tree-wide: replace strjoina() with prefix_roota()Yu Watanabe2019-06-2514-41/+38
| | | |
| * | | tree-wide: replace strjoin() with path_join()Yu Watanabe2019-06-244-6/+7
| | | |
| * | | test: add more testcases for prefix_roota()Yu Watanabe2019-06-241-0/+3
| | | |
| * | | path-util: fix an issue when the path argument of prefix_roota() is not absoluteYu Watanabe2019-06-241-2/+2
| | |/ | |/| | | | | | | | | | When the first argument is '/' and the second argument is not absolute, the return value was not prefixed with '/'. This fixes the issue.
* | | Merge pull request #12871 from keszybz/various-printing-fixesYu Watanabe2019-06-254-68/+75
|\ \ \ | |_|/ |/| | Various printing/logging fixes
| * | bootctl: fix display of options with embedeed newlinesZbigniew Jędrzejewski-Szmek2019-06-251-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | I have an .efi image with embedded newlinews. Now I don't even remember if it was created for testing or by accident, but it doesn't really matter. We should display such files correctly. (This isn't a problem with normal BLS entries, because input is split into lines so newlines are consumed.)
| * | networkd: rework warning and debug messages about address addition and removalZbigniew Jędrzejewski-Szmek2019-06-241-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those messages were quite confusing. In particular "adding address" suggests that we are assiging a new address to an interface, but in fact we're just reacting to a notification about an addition. So let's call that "remembering" and "forgetting". It's not fully gramatically correct, but I think it's much clearer than "adding"/"removing" in this context. And "received address without address" is too cryptic, let's say "address message" to distinguish the message from its content. Also, make failure to format address non-fatal, and print more details in various places.
| * | logind: log operation details when starting actionsZbigniew Jędrzejewski-Szmek2019-06-242-26/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, systemd-logind is trying to handle idle action in one of my containers: Jun 07 10:28:08 rawhide systemd-logind[42]: System idle. Taking action. Jun 07 10:28:08 rawhide systemd-logind[42]: Requested operation not supported, ignoring. But we didn't log what exactly was being done. Let's put the name of the action in messages.
| * | logind: remove unused checkZbigniew Jędrzejewski-Szmek2019-06-241-6/+2
| | | | | | | | | | | | | | | | | | All callers pass either a fixed action, or HANDLE_IGNORE is explicitly filtered out. Let's remove this case here, because we cannot properly log what opreation we are ignoring.