Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main: use sysctl_writef() where appropriate | Lennart Poettering | 2019-07-13 | 1 | -18/+2 |
| | |||||
* | shutdown: merge variable declaration lines a bit | Lennart Poettering | 2019-07-13 | 1 | -4/+2 |
| | |||||
* | shutdown: bump kmsg log level to LOG_WARNING only | Lennart Poettering | 2019-07-13 | 1 | -8/+10 |
| | | | | Fixes: #12337 | ||||
* | shutdown: rework bump_sysctl_printk_log_level() to use sysctl_writef() | Lennart Poettering | 2019-07-13 | 1 | -8/+9 |
| | |||||
* | sysctl: add sysctl_writef() helper | Lennart Poettering | 2019-07-13 | 2 | -0/+16 |
| | |||||
* | shutdown: use "int" for log level type | Lennart Poettering | 2019-07-13 | 1 | -6/+7 |
| | | | | | | | | Let's remove some unnecessary confusion around signed/unsigned types for log levels. Let's just stick to signed, because that is what glibc generally appears to use. While we are at it, add explicit logging for all error causes. | ||||
* | killall: bump log message about unkilled processes to LOG_WARNING | Lennart Poettering | 2019-07-13 | 1 | -10/+13 |
| | | | | | By raising this, we can raise the kernel kmsg log level safely, and still see these messages. | ||||
* | alloc-util: drop _alloc_ decorator from memdup_suffix0() | Lennart Poettering | 2019-07-13 | 1 | -1/+1 |
| | | | | Fixes: https://github.com/systemd/systemd/pull/13034#issuecomment-510801671 | ||||
* | semaphore: avoid running autopkgtest with --apt-upgrade | Evgeny Vereshchagin | 2019-07-13 | 1 | -13/+3 |
| | | | | | by getting rid of the cache and upgrading images once every time they are built from scratch. | ||||
* | Merge pull request #13036 from poettering/more-doc-fixes | Zbigniew Jędrzejewski-Szmek | 2019-07-12 | 5 | -21/+48 |
|\ | | | | | Six documentation fixes | ||||
| * | man: add example for setting multiple properties at once | Lennart Poettering | 2019-07-12 | 1 | -5/+9 |
| | | | | | | | | Fixes: #4908 | ||||
| * | man: CPUShares= is so 2015 | Lennart Poettering | 2019-07-12 | 1 | -1/+1 |
| | | | | | | | | | | Let's update our example to the brave new cgroupsv2 world, and use CPUWeight= in our example. | ||||
| * | man: document that WakeSystem= requires privs | Lennart Poettering | 2019-07-12 | 1 | -7/+8 |
| | | | | | | | | Fixes: #11677 | ||||
| * | man: document that "systemd-analyze blame/critical-chain" is not useful to ↵ | Lennart Poettering | 2019-07-12 | 1 | -2/+13 |
| | | | | | | | | | | | | track down job latency Fixes: #12272 | ||||
| * | man: be more explicit that Type=oneshot services are not "active" after starting | Lennart Poettering | 2019-07-12 | 1 | -5/+11 |
| | | | | | | | | Fixes: #13000 | ||||
| * | man: document that the supplementary groups list is initialized from User='s ↵ | Lennart Poettering | 2019-07-12 | 1 | -1/+6 |
|/ | | | | | | database entry Fixes: #12936 | ||||
* | Merge pull request #13034 from poettering/memdup-suffix0-multiply-fixo | Lennart Poettering | 2019-07-12 | 2 | -5/+7 |
|\ | | | | | memdup_suffix0_multiply fix | ||||
| * | test: modernize test-alloc-util.c test a bit | Lennart Poettering | 2019-07-12 | 1 | -4/+4 |
| | | |||||
| * | alloc-util: drop _alloc_(2, 3) decorator from memdup_suffix0_multiply() | Lennart Poettering | 2019-07-12 | 1 | -1/+3 |
| | | | | | | | | | | | | | | This decorator tells compilers that the memory we return is shorter than it actually is, thus triggering misleading bad memory access complaints. Fixes: #13026 | ||||
* | | util-lib: fix comment | Lennart Poettering | 2019-07-12 | 1 | -3/+2 |
|/ | | | | | | As suggested by @ralt. Fixes: #12896 | ||||
* | Merge pull request #13022 from keszybz/coverity-cleanups | Lennart Poettering | 2019-07-12 | 7 | -49/+55 |
|\ | | | | | Coverity cleanups | ||||
| * | shared/ask-password-api: backspace all chars at once | Zbigniew Jędrzejewski-Szmek | 2019-07-12 | 1 | -23/+23 |
| | | | | | | | | | | | | | | | | | | We'd call loop_write() separately for each char. Let's be nice to serial console users, and write the full string in one go. Coverity was complaining that we're not checking the return value from loop_write(). Rework the code a bit and add voidify. CID#1402323. | ||||
| * | test-process-util: invert reporting to make sure that we're not dividing by 0 | Zbigniew Jędrzejewski-Szmek | 2019-07-12 | 1 | -2/+2 |
| | | | | | | | | CID#1402334. | ||||
| * | udevd: add helper with error handling to synthesize "change" events | Zbigniew Jędrzejewski-Szmek | 2019-07-12 | 1 | -13/+16 |
| | | | | | | | | | | Coverity was unhappy that we ignore the return value from write_string_file(). We should at least warn. CID#1302373. | ||||
| * | test: minor modernization | Zbigniew Jędrzejewski-Szmek | 2019-07-12 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | Coverity was complaining that read() does not terminate the data. But we did that termination earlier, so covirity is wrong (CID#1402306, CID#1402340). Let's modernize the style a bit nevertheless. (size_t) cast is needed to avoid the warning about comparison, iff the value is not a constant. | ||||
| * | test-alloc-util: assert on the return value to appease coverity | Zbigniew Jędrzejewski-Szmek | 2019-07-11 | 1 | -1/+1 |
| | | | | | | | | | | Coverity is right that we should check the return value… CID#1403006. | ||||
| * | pid1: shorten dump output a bit by not repeating unit id twice | Zbigniew Jędrzejewski-Szmek | 2019-07-11 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | Most units have just one name, but we'd print it twice: -> Unit systemd-sysctl.service: ... Name: systemd-sysctl.service Let's only print the "main" name once, and call the other names Aliases. | ||||
* | | Merge pull request #13031 from yuwata/network-route-type-local-12975-2 | Yu Watanabe | 2019-07-12 | 8 | -52/+242 |
|\ \ | | | | | | | network: make Route.Type= support local or friends | ||||
| * | | test-network: add tests for route with type local, multicast, anycast, or ↵ | Yu Watanabe | 2019-07-12 | 2 | -0/+33 |
| | | | | | | | | | | | | broadcast | ||||
| * | | network: also show route protocol in debugging logs | Yu Watanabe | 2019-07-12 | 3 | -7/+27 |
| | | | |||||
| * | | network: use string table for route protocol | Yu Watanabe | 2019-07-12 | 1 | -6/+11 |
| | | | |||||
| * | | network: use string table to parse route table or scope | Yu Watanabe | 2019-07-12 | 2 | -16/+18 |
| | | | |||||
| * | | network: show route scope, table, and type in debugging logs | Yu Watanabe | 2019-07-12 | 3 | -4/+86 |
| | | | |||||
| * | | network: update log message | Yu Watanabe | 2019-07-12 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | Follow-up for 7f474ed78df138677557fb43701efeb6e2588c6f and 44e891bbf6908e494856fcf3011e88a70a12e087. | ||||
| * | | network: make Route.Type= support local, broadcast, anycast, multicast, nat, ↵ | Yu Watanabe | 2019-07-12 | 3 | -1/+29 |
| | | | | | | | | | | | | | | | | | | and xresolve Closes #12975. | ||||
| * | | network: use string table to parse route type | Yu Watanabe | 2019-07-12 | 2 | -13/+21 |
| | | | |||||
| * | | test-network: test more bridge properties | Yu Watanabe | 2019-07-12 | 3 | -5/+17 |
| | | | | | | | | | | | | Imported from networkd-test.py | ||||
* | | | tree-wide: get rid of strappend() | Lennart Poettering | 2019-07-12 | 68 | -146/+115 |
|/ / | | | | | | | | | It's a special case of strjoin(), so no need to keep both. In particular as typing strjoin() is even shoert than strappend(). | ||||
* | | Merge pull request #12971 from yuwata/network-reassign-static-routes | Yu Watanabe | 2019-07-12 | 8 | -20/+100 |
|\ \ | | | | | | | network: reassign static routes and process reply address messages | ||||
| * | | test-network: add test for route reassignment | Yu Watanabe | 2019-07-11 | 3 | -2/+46 |
| | | | |||||
| * | | network: re-assign static routes when dynamic address is updated | Yu Watanabe | 2019-07-11 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | | | Follow-up for b5799eeb0787deacb30d5984f6ac78f88f23b97e. Closes #7354. | ||||
| * | | network: process address reply message | Yu Watanabe | 2019-07-11 | 3 | -9/+33 |
| | | | |||||
| * | | network: rework route_scope_from_address() | Yu Watanabe | 2019-07-11 | 1 | -2/+2 |
| | | | |||||
| * | | util: introduce in4_addr_equal() | Yu Watanabe | 2019-07-11 | 2 | -1/+9 |
| | | | |||||
| * | | network: route_configure() do nothing when it returns 0 | Yu Watanabe | 2019-07-11 | 1 | -6/+6 |
| | | | |||||
* | | | Merge pull request #13024 from poettering/errno-or-else | Yu Watanabe | 2019-07-12 | 17 | -58/+71 |
|\ \ \ | | | | | | | | | Errno or else | ||||
| * | | | tree-wide: make use of errno_or_else() everywhere | Lennart Poettering | 2019-07-11 | 16 | -58/+60 |
| | | | | |||||
| * | | | errno-util: add new errno_or_else() helper | Lennart Poettering | 2019-07-11 | 1 | -0/+11 |
|/ / / | |||||
* | | | Merge pull request #13025 from poettering/tmpfiles-fixo | Frantisek Sumsal | 2019-07-11 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | unbreak the build | ||||
| * | | | tmpfiles: use path_join() where it makes sense | Lennart Poettering | 2019-07-11 | 1 | -1/+1 |
| | | | |