summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* meson: allow fuzzers to be built even if fuzz testing is disabledmeson-allows-fuzzer-buildingZbigniew Jędrzejewski-Szmek2020-12-021-29/+28
| | | | | | | | | | This makes commands like 'ninja -C build fuzz-journal-remote' or 'ninja -C build fuzzers' work, even if we have -Dfuzz-tests=false. Two advantages: correctness of the meson declarations is verified even if fuzzers are not built, and it easier to do a one-off build to check for regressions or such. Follow-up for 1763ef1d49cc1263b40f157060a61cdd6e91d3a4.
* meson: add missing "S" to SYSTEMD_CGROUPS_AGENT_PATHZbigniew Jędrzejewski-Szmek2020-12-012-3/+3
| | | | | | | | Other similar variables use the binary name underscorified and upppercased (with "_BINARY" appended in some cases to avoid ambiguity). Add "S" to follow the same pattern for systemd-cgroups-agent. Based on the discussion in #16715.
* scope: on unified, make sure to unwatch all PIDs once they've been moved to ↵Franck Bui2020-12-011-5/+7
| | | | | | | | | | | the cgroup scope Commit 428a9f6f1d0396b9eacde2b38d667cbe3f15eb55 freed u->pids which is problematic since the references to this unit in m->watch_pids were no more removed when the unit was freed. This patch makes sure to clean all this refs up before freeing u->pids by calling unit_unwatch_all_pids().
* sd-event: fix delays assert brain-o (#17790)Vito Caputo2020-12-011-1/+1
| | | | | s/sizeof/ELEMENTSOF/ Bug introduced in 34b87517749caa4142b19eb3c63bdf349fafbc49.
* mkosi: make ubuntu image bootable by defaultPavel Sapezhko2020-11-301-1/+1
|
* man: Speicfy exact return values of sd_bus_message_enter_containerigo958622020-11-301-2/+7
|
* po: add units/systemd-journald.service.in to POTFILES.skipPiotr Drąg2020-11-301-2/+3
|
* hwdb: add axis range corrections for Lenovo ThinkPad T14 Gen1Michał Kopeć2020-11-301-1/+2
|
* Merge pull request #17761 from keszybz/documentation-followupsYu Watanabe2020-11-292-3/+3
|\ | | | | Two tiny fixlets
| * test-networkd-conf: add missing assert_seZbigniew Jędrzejewski-Szmek2020-11-281-1/+1
| | | | | | | | Coverity CID#1437351. Fixup for f706340979a.
| * NEWS: really fix kernel version number referenceZbigniew Jędrzejewski-Szmek2020-11-271-2/+2
| | | | | | | | Fixes #17736.
* | Update logind-button.cnihilix-melix2020-11-281-3/+6
| |
* | semaphore: temporarily disable the timedated test suiteFrantisek Sumsal2020-11-281-0/+3
| | | | | | | | | | | | | | | | All otherwise passing Semaphore CI builds are now getting stuck on the timedated test suite. Let's temporarily skip it until the issue is resolved. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975010
* | hwdb: 60-keyboard: Add Dell Inspiron 11 3168 Fn+Home/End/PageUp/PageDown key ↵Konomi2020-11-271-0/+7
| | | | | | | | | | mappings On the Dell Inspiron 11 3168 the Fn and Arrow Keys control the Home, End, Page Up and Page Down keys. This commit allows those keys to work correctly.
* | Merge pull request #17734 from yuwata/parse-hwdbZbigniew Jędrzejewski-Szmek2020-11-271-3/+9
|\ \ | | | | | | hwdb: add missing Group()
| * | hwdb: add missing Group()Yu Watanabe2020-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following warning: ``` parse_hwdb.py:120: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'SETTINGS*' on And expression collides with 'HZ' on contained expression dpi_setting = (Optional('*')('DEFAULT') + INTEGER('DPI') + Suppress('@') + INTEGER('HZ'))('SETTINGS*') ``` Not sure about for the mount_matrix, but LGTM.com warns in that line, and, adding Group() does not change the parse result.
| * | hwdb: enable diagnostic switchesYu Watanabe2020-11-271-1/+7
| | |
* | | Merge pull request #17732 from yuwata/core-use-synthetic_errnoZbigniew Jędrzejewski-Szmek2020-11-2723-221/+389
|\ \ \ | |_|/ |/| | core,network: use SYNTHETIC_ERRNO() macro
| * | coccinelle: ignore specific cases to use SYNTHETIC_ERRNO() macroYu Watanabe2020-11-271-0/+6
| | |
| * | cryptsetup: drop unnecessary bracketYu Watanabe2020-11-271-2/+1
| | |
| * | test: use for(;;) instead of while(true)Yu Watanabe2020-11-271-1/+1
| | |
| * | core/scope: use set_ensure_put()Yu Watanabe2020-11-271-5/+1
| | |
| * | mount-util: use mfree()Yu Watanabe2020-11-271-2/+2
| | |
| * | oom: use CMP() macroYu Watanabe2020-11-271-12/+2
| | |
| * | core: fix typoYu Watanabe2020-11-271-1/+1
| | |
| * | coccinelle: add rules for log_unit_error_errno() or friendsYu Watanabe2020-11-272-0/+269
| | |
| * | network: fix return valuesYu Watanabe2020-11-271-5/+4
| | |
| * | network: use SYNTHETIC_ERRNO() macroYu Watanabe2020-11-272-8/+4
| | |
| * | core: use SYNTHETIC_ERRNO() macroYu Watanabe2020-11-2714-177/+95
| | |
| * | core/timer: drop unnecessary bracketsYu Watanabe2020-11-271-8/+3
|/ /
* | Merge pull request #17474 from yuwata/network-drop-link-deserialization-logicYu Watanabe2020-11-2712-434/+86
|\ \ | | | | | | network: drop link deserialization logic
| * | network: drop link_load()Yu Watanabe2020-10-281-41/+0
| | | | | | | | | | | | The link state file does not exist, as it is always removed on stop.
| * | network: do not serialize/deserialize routesYu Watanabe2020-10-283-98/+4
| | | | | | | | | | | | The same as the previous commit. These are not used.
| * | network: do not serialize/deserialize addressesYu Watanabe2020-10-284-69/+0
| | | | | | | | | | | | | | | | | | The link state file is always removed when networkd is stopping. So, the deserialization logic does not work. Moreover, the ADDRESSES= entry is not used by sd-network, so serialization is also not necessary.
| * | network: do not serialize/deserialize ipv4ll addressYu Watanabe2020-10-283-82/+11
| | | | | | | | | | | | | | | | | | | | | The link state file is always removed on stop. So, we cannot deserialize the address from the file. Moreover, currently the IPv4 link-local address is always dropped by link_drop_foreign_addresses() on restart. Let's drop the serialize/deserialize logic for IPv4 LL address.
| * | network: use sysctl_read_ip_property() where applicableYu Watanabe2020-10-281-9/+3
| | |
| * | sysctl-util: truncate newline in read valueYu Watanabe2020-10-281-0/+1
| | |
| * | network: downgrade log level in dhcp4_configure()Yu Watanabe2020-10-281-44/+39
| | |
| * | network: always enable sysctl property promote_secondariesYu Watanabe2020-10-282-55/+9
| | | | | | | | | | | | | | | systemd-sysctl already enables promote_secondaries for all interface. So, networkd also enables it unconditionally.
| * | network: mention that the error will be ignoredYu Watanabe2020-10-281-1/+1
| | |
| * | network: drop dhcp4_init()Yu Watanabe2020-10-281-22/+9
| | | | | | | | | | | | It is now called by only dhcp4_configure(). Let's merge them.
| * | network: set previous DHCP4 address in link->addresses_foreignYu Watanabe2020-10-285-33/+29
| | | | | | | | | | | | | | | | | | | | | Previously, the address was taken from the state file, but DHCP4_ADDRESS= entry was dropped by 46986251d6eb4c78bb56c080ce310fd2b1f9439f. Moreover, the link state file is always removed when networkd is stopping. Let's take the address from the list of enumerated addresses.
* | | Merge pull request #17478 from yuwata/split-network-internalYu Watanabe2020-11-2735-851/+869
|\ \ \ | | | | | | | | libsystemd-network: split network-internal.c
| * | | net-condition: introduce struct NetMatchYu Watanabe2020-10-2910-136/+126
| | | |
| * | | meson: drop libsystemd_network from several binariesYu Watanabe2020-10-296-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the size of udevadm: Before: ``` $ ll udevadm -rwxrwxr-x 1 watanabe watanabe 1203800 Oct 29 01:36 udevadm ``` After: ``` $ ll udevadm -rwxrwxr-x 1 watanabe watanabe 1094384 Oct 29 01:38 udevadm ```
| * | | tree-wide: drop unnecessary inclusion of network-internal.hYu Watanabe2020-10-296-6/+0
| | | |
| * | | sd-network: move net_get_unique_predictable_data() and net_get_name_persisten()Yu Watanabe2020-10-296-61/+63
| | | |
| * | | conf-parser: fix indentationYu Watanabe2020-10-291-49/+56
| | | |
| * | | net-condition: move net_match_config() and related conf parsersYu Watanabe2020-10-2913-442/+458
| | | |
| * | | sd-network: move link_get_type_string()Yu Watanabe2020-10-295-26/+29
| | | |