Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-07-14 | Update NEWS | Boucman | 1 | -3/+3 | |
2019-07-14 | NEWS: add some notes for v243 | Lennart Poettering | 1 | -13/+190 | |
Let's get this ball rolling. | |||||
2019-07-14 | man: offline-updates: make dependence on system-update.target explicit | Michael Zhivich | 1 | -1/+1 | |
Current operation of system-update-cleanup.service (removing /system-update symlink and rebooting) implies that any update must complete *before* system-update.target is reached. Update recommendations to include explicitly setting Before=system-update.target in services that use offline-updates mode. Signed-off-by: Michael Zhivich <mzhivich@akamai.com> | |||||
2019-07-14 | locale-util: suppress non-UTF-8 locales when enumerating them | Lennart Poettering | 2 | -0/+25 | |
Let's hide non-UTF-8 locales by default. It's 2019 after all. Let's add an undocumented env var to reenable listing them though. This should substantially shorten the list of choices we offer users, and only show realistic choices. note that only firstboot and localectl make use of this information, and both allow configuration of values outside of these lists, hence all this change does is hide legacy options, but they are still available if you know what you do, and that's how it should be. | |||||
2019-07-14 | locale-util: normalize UTF-8 locale names | Lennart Poettering | 1 | -2/+36 | |
Let's generate out lists in the format people expect. | |||||
2019-07-14 | network: do not change to configuring state needlessly | Yu Watanabe | 1 | -9/+14 | |
When DHCP or any other dynamic addresses are changed, then link_request_set_routes() is invoked, and even if no static routes are configured, the operational state is needlessly changed to configuring state. This makes the state is changed only when static routes are configured. | |||||
2019-07-14 | po: Fix typo in German translation | Johannes Schmitz | 1 | -1/+1 | |
2019-07-14 | po: update Polish translation | Piotr Drąg | 1 | -9/+17 | |
2019-07-13 | udev: make Match.OriginalName=* matches all interfaces | Yu Watanabe | 1 | -2/+2 | |
Fixes #13035. | |||||
2019-07-13 | firstboot: use color in welcome text | Lennart Poettering | 1 | -4/+15 | |
2019-07-13 | firstboot: suppress locale menu if there's nothing to choose from | Lennart Poettering | 1 | -14/+35 | |
2019-07-13 | main: use sysctl_writef() where appropriate | Lennart Poettering | 1 | -18/+2 | |
2019-07-13 | shutdown: merge variable declaration lines a bit | Lennart Poettering | 1 | -4/+2 | |
2019-07-13 | shutdown: bump kmsg log level to LOG_WARNING only | Lennart Poettering | 1 | -8/+10 | |
Fixes: #12337 | |||||
2019-07-13 | shutdown: rework bump_sysctl_printk_log_level() to use sysctl_writef() | Lennart Poettering | 1 | -8/+9 | |
2019-07-13 | sysctl: add sysctl_writef() helper | Lennart Poettering | 2 | -0/+16 | |
2019-07-13 | shutdown: use "int" for log level type | Lennart Poettering | 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. | |||||
2019-07-13 | killall: bump log message about unkilled processes to LOG_WARNING | Lennart Poettering | 1 | -10/+13 | |
By raising this, we can raise the kernel kmsg log level safely, and still see these messages. | |||||
2019-07-13 | alloc-util: drop _alloc_ decorator from memdup_suffix0() | Lennart Poettering | 1 | -1/+1 | |
Fixes: https://github.com/systemd/systemd/pull/13034#issuecomment-510801671 | |||||
2019-07-13 | semaphore: avoid running autopkgtest with --apt-upgrade | Evgeny Vereshchagin | 1 | -13/+3 | |
by getting rid of the cache and upgrading images once every time they are built from scratch. | |||||
2019-07-12 | tree-wide: some more [static] related fixes | Lennart Poettering | 10 | -12/+30 | |
let's add [static] where it was missing so far Drop [static] on parameters that can be NULL. Add an assert() around parameters that have [static] and can't be NULL hence. Add some "const" where it was forgotten. | |||||
2019-07-12 | util-lib: [static] array argument sizes are apparently not OK for NULL ↵ | Lennart Poettering | 1 | -4/+10 | |
parameters Let's drop the 'static' logic when a parameter can be NULL. I think asan/ubsan are right here, judging by the C99 spec language: "A declaration of a parameter as ‘‘array of type’’ shall be adjusted to ‘‘qualified pointer to type’’, where the type qualifiers (if any) are those specified within the [ and ] of the array type derivation. If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression." If we specify NULL, then we certainly don't pvode access to any valid array. Fixes: #13039 | |||||
2019-07-12 | man: add example for setting multiple properties at once | Lennart Poettering | 1 | -5/+9 | |
Fixes: #4908 | |||||
2019-07-12 | man: CPUShares= is so 2015 | Lennart Poettering | 1 | -1/+1 | |
Let's update our example to the brave new cgroupsv2 world, and use CPUWeight= in our example. | |||||
2019-07-12 | man: document that WakeSystem= requires privs | Lennart Poettering | 1 | -7/+8 | |
Fixes: #11677 | |||||
2019-07-12 | man: document that "systemd-analyze blame/critical-chain" is not useful to ↵ | Lennart Poettering | 1 | -2/+13 | |
track down job latency Fixes: #12272 | |||||
2019-07-12 | man: be more explicit that Type=oneshot services are not "active" after starting | Lennart Poettering | 1 | -5/+11 | |
Fixes: #13000 | |||||
2019-07-12 | man: document that the supplementary groups list is initialized from User='s ↵ | Lennart Poettering | 1 | -1/+6 | |
database entry Fixes: #12936 | |||||
2019-07-12 | util-lib: fix comment | Lennart Poettering | 1 | -3/+2 | |
As suggested by @ralt. Fixes: #12896 | |||||
2019-07-12 | test: modernize test-alloc-util.c test a bit | Lennart Poettering | 1 | -4/+4 | |
2019-07-12 | alloc-util: drop _alloc_(2, 3) decorator from memdup_suffix0_multiply() | Lennart Poettering | 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 | |||||
2019-07-12 | tree-wide: get rid of strappend() | Lennart Poettering | 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(). | |||||
2019-07-12 | test-network: add tests for route with type local, multicast, anycast, or ↵ | Yu Watanabe | 2 | -0/+33 | |
broadcast | |||||
2019-07-12 | network: also show route protocol in debugging logs | Yu Watanabe | 3 | -7/+27 | |
2019-07-12 | network: use string table for route protocol | Yu Watanabe | 1 | -6/+11 | |
2019-07-12 | network: use string table to parse route table or scope | Yu Watanabe | 2 | -16/+18 | |
2019-07-12 | network: show route scope, table, and type in debugging logs | Yu Watanabe | 3 | -4/+86 | |
2019-07-12 | network: update log message | Yu Watanabe | 1 | -9/+9 | |
Follow-up for 7f474ed78df138677557fb43701efeb6e2588c6f and 44e891bbf6908e494856fcf3011e88a70a12e087. | |||||
2019-07-12 | network: make Route.Type= support local, broadcast, anycast, multicast, nat, ↵ | Yu Watanabe | 3 | -1/+29 | |
and xresolve Closes #12975. | |||||
2019-07-12 | network: use string table to parse route type | Yu Watanabe | 2 | -13/+21 | |
2019-07-12 | test-network: test more bridge properties | Yu Watanabe | 3 | -5/+17 | |
Imported from networkd-test.py | |||||
2019-07-12 | shared/ask-password-api: backspace all chars at once | Zbigniew Jędrzejewski-Szmek | 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. | |||||
2019-07-12 | test-process-util: invert reporting to make sure that we're not dividing by 0 | Zbigniew Jędrzejewski-Szmek | 1 | -2/+2 | |
CID#1402334. | |||||
2019-07-12 | udevd: add helper with error handling to synthesize "change" events | Zbigniew Jędrzejewski-Szmek | 1 | -13/+16 | |
Coverity was unhappy that we ignore the return value from write_string_file(). We should at least warn. CID#1302373. | |||||
2019-07-12 | test: minor modernization | Zbigniew Jędrzejewski-Szmek | 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. | |||||
2019-07-11 | tree-wide: make use of errno_or_else() everywhere | Lennart Poettering | 16 | -58/+60 | |
2019-07-11 | errno-util: add new errno_or_else() helper | Lennart Poettering | 1 | -0/+11 | |
2019-07-11 | tmpfiles: use path_join() where it makes sense | Lennart Poettering | 1 | -1/+1 | |
2019-07-11 | tmpfiles: fix build | Lennart Poettering | 1 | -1/+1 | |
After I merged #12750 we don't build anymore, since the merged PR (which passed CI) uses prefix_root() which doesn't exist anymore. Let's fix that. | |||||
2019-07-11 | tests: turn on the "object-size" UBSan check on Fuzzit | Evgeny Vereshchagin | 1 | -2/+2 | |
Now that 2eb1c19881678851a7e is merged it should be safe. |