summaryrefslogtreecommitdiffstats
path: root/test/testsuite-52.units/testsuite-52.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-14update TODOLennart Poettering1-2/+0
2020-10-14test-fd-util: add test case for close_all_fd()Lennart Poettering1-0/+96
2020-10-14fd-util: port close_all_fds() to close_range()Lennart Poettering1-0/+90
2020-10-14missing: add close_range() wrapperLennart Poettering2-0/+47
The syscall was added in 5.9 and is not yet exposed in glibc, hence define our own wrapper.
2020-10-14seccomp: allowlist close_range() by default in @basic-ioLennart Poettering1-0/+1
2020-10-14alloc-util: avoid allocating zero size memory blocksLennart Poettering1-6/+6
It's not clear what libc's make of this. We clamp to 1 byte allocations in most cases already, let's add this for a few where this was missing.
2020-10-14analyze: show ungrouped syscalls separately (#17343)Lennart Poettering2-7/+28
This updates the "systemd-analyze syscall-filter" command to show a special section of syscalls that are included in @known but in no other group. Typically this should show syscalls we either should add to any of the existing groups or where we unsure were they best fit in. Right now, it mostly shows arch-specific compat syscalls, we probably should move "@obsolete". This patch doesn't add thta however.
2020-10-14network: update MAC address in IPv4ACD client for DHCP4Yu Watanabe1-0/+32
2020-10-14network: also stop IPv4ACD client in link_stop_clients()Yu Watanabe1-0/+6
2020-10-14network: stop IPv4ACD client for DHCPv4 when lease is expriredYu Watanabe1-0/+3
2020-10-14network: move IPv4ACD client for DHCPv4 from Network to Link objectYu Watanabe5-24/+27
A .network file may matches multiple interfaces.
2020-10-14network: voidify link_stop_clients() in link_enter_failed()Yu Watanabe1-1/+1
2020-10-14network: drop unused conditionYu Watanabe1-4/+0
2020-10-14sd-dhcp-client: make sd_dhcp_client_set_request_option() not return -EEXISTYu Watanabe3-58/+62
Fixes #16964.
2020-10-14typo in systemd.network(5): IPv6PrefixDelegation=dhcpv6Dmitry Borodaenko1-1/+1
2020-10-13units: update serial-getty@.service to support 57600 baud rateBjørn Mork1-1/+1
Fixes: #17306
2020-10-13sd-device: use trivial_hash_ops_free_free for managing match sysattrs or ↵Yu Watanabe1-2/+2
properties This fixes an issue caused by eb1c1dc029c91750e6255c3fd844b4f4bf238fab. Before the commit, multiple values can be specified for the same sysattr or property. Fixes #17259.
2020-10-13util: introduce two trivial hash_opsYu Watanabe2-0/+15
Will be used in a later commit.
2020-10-13hashmap: introduce {hashmap,set}_put_strdup_full()Yu Watanabe3-12/+15
They can take hash_ops.
2020-10-13hwdb: update for v247Zbigniew Jędrzejewski-Szmek13-990/+7993
As usual, it seems that there are mostly additions with a smaller amount of corrections, no big removals.
2020-10-13test-network: add test for issue #17304Yu Watanabe2-0/+25
2020-10-13network: constify argumentsYu Watanabe2-11/+11
2020-10-13network: read peer address, label, broadcast from rtnl messageYu Watanabe4-147/+161
Then, Address objects in Network and Link can be easily compared by address_equal().
2020-10-13network: directly compare with in_addr element for IPv4 caseYu Watanabe1-0/+9
When peer address is set, address_compare_func() (or address_equal()) does not work in link_is_static_address_configured(), as an Address object stored in a Link does not contain peer addresses. So, we need to also compare with in_addr element for IPv4 case. Fixes #17304.
2020-10-13po: revert some recent translation changes (#17237)Daniele Medri1-129/+118
This partially reverts 7b8c70ed209: - È richiesto autenticarsi → Autenticazione richiesta - «${unit}» → '${unit}'
2020-10-13sysctl: set kernel.core_pipe_limit=16Lennart Poettering1-0/+11
We need to make sure that our coredump pattern handler manages to read process metadata from /proc/$PID/ before the kernel reaps the crashed process. By default the kernel will reap the process as soon as it can. By setting kernel.core_pipe_limit to a non-zero the kernel will wait for userspace to finish before reaping. We'll set the value to 16, which allows 16 crashes to be processed in parallel. This matches the MaxConnections= setting in systemd-coredump.socket. See: #17301 (This doesn't close 17301, since we probably should also gracefully handle if /proc/$PID/ vanished already while our coredump handler runs, just in case people loclly set the sysctl back to zero. i.e. we should collect what we can and rather issue an incomplete log record than none.)
2020-10-12basic/selinux: work around mallinfo deprecationZbigniew Jędrzejewski-Szmek3-8/+27
Latest glibc has deprecated mallinfo(), so it might become unavailable at some point in the future. There is malloc_info(), but it returns XML, ffs. I think the information that we get from mallinfo() is quite useful, so let's use mallinfo() if available, and not otherwise.
2020-10-12update TODOLennart Poettering1-3/+5
2020-10-12xdg-autostart: Lower most info messages to debug levelBenjamin Berg1-7/+7
It is expected for numerous autostart files to not be convertible to corresponding units. The information is only useful for someone debugging why a file might not be started, but it is not generally useful for users in most situations. As such, lower the warnings. Anyone wondering why an application is not started will easily notice that the unit is not generated. From there it will be somewhat harder to figure out why, but the overall trade-off is still improved. Fixes: #17305
2020-10-12hwdb: Add accel orientation quirk for MPMAN Converter 9 2-in-1Hans de Goede1-0/+6
Add a quirk to fix the accelerometer orientation on the MPMAN Converter 9 2-in-1.
2020-10-12Add Lenovo USB touchscreens to 60-autosuspend.hwdbHans de Goede1-0/+10
Add Lenovo USB touchscreens which can safely autosuspend to hwdb, this helps the processor reach deaper PC# states when idle.
2020-10-10resolved: don't append RFC6975 data to stub repliesLennart Poettering4-6/+15
We previously checked the QR bit to decide whether the RFC6975 algorithm data in our packets. But that doesn't work in many cases, since we initialize the QR flags along with the other flags usually only after appending OPT (since success to do so propagates into flags). Hence, let's add an explicit parameter that controls whether to include RFC6975 data in DNS packets, and set it to false for stub reply, and on true for upstream queries. Fixes: #17217
2020-10-10docs: clarify that udev watches for IN_CLOSE_WRITE (and not IN_CLOSE)Lennart Poettering1-9/+20
Also, while we are at it, explain that udev won't reprobe if users just release the lock, they have to close the block device too.
2020-10-10logind: fix taking of inhibitorsZbigniew Jędrzejewski-Szmek1-0/+1
Ooops made in 0a9bf7fa593682326f1c5c2d7ec3d29a9d59e5cb.
2020-10-10logind: print what action is ignoredZbigniew Jędrzejewski-Szmek1-1/+3
My logs have lines like this: Oct 10 09:38:38 krowka systemd-logind[1889]: External (2) displays connected. Oct 10 09:38:38 krowka systemd-logind[1889]: Refusing operation, as it is turned off. Without some hint *what* operation is ignored, this is not very informative. (I remember this came up before, but I don't remember why we didn't change this log line back then...)
2020-10-09missing_syscall: fixup syscall numbers for x32 vs. amd64mirabilos1-11/+17
2020-10-09update TODOLennart Poettering1-1/+0
2020-10-09shared: make libidn/libdidn2 dependency a dlopen() oneLennart Poettering6-43/+190
2020-10-09tree-wide: drop if braces around single line expressions as wellFrantisek Sumsal13-31/+14
2020-10-09tree-wide: assorted coccinelle fixesFrantisek Sumsal56-400/+352