summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hostname: use _cleanup_ in one more placeZbigniew Jędrzejewski-Szmek2021-12-231-14/+11
|
* Merge pull request #21866 from yuwata/update-hwdb-and-news-v250Zbigniew Jędrzejewski-Szmek2021-12-236-46/+308
|\ | | | | Update hwdb and news for v250
| * NEWS: update contributors list and release dateYu Watanabe2021-12-231-11/+12
| |
| * hwdb: update hwdb for v250-finalYu Watanabe2021-12-235-35/+296
| | | | | | | | Generated by `meson compile -C build update-hwdb update-hwdb-autosuspend`.
* | boot: Use correct handle to find TextInputEx protocolJan Janssen2021-12-231-31/+56
|/ | | | | | | | | | | | | | | | | | | | | | | LibLocateProtocol will return the protocol for the first device that supports it. But it may not actually come from the ConIn device that we want to use here. This should be the root cause of what was previously considered just broken firmware. If you ask the wrong device to return some key, of course it will never provide one. This changes the way we handle input yet again in light of this new knowledge and because using the correct TextInputEx with fallback to ConIn can actually create double input in some cases. Since we are now confident that we get the right TextInputEx, we can use that exclusively, only falling back to ConIn if the console input device does not support the better interface (the spec is pretty clear that it must support it, though). Because some firmware is broken, we still need to provide a fallback to the previously used TextInputEx thats overrides ConIn/ConInEx if it is functional.
* machined: set TTYPath for container shellLudwig Nussel2021-12-231-1/+2
| | | | | TTYPath is needed for proper utmp registration of the shell to receive wall messages.
* man: reindent and rebreak systemd.networkYu Watanabe2021-12-231-1785/+1907
| | | | | | | Also fixes the following: - IPServiceType= is moved to [DHCPv4] section, - drop an incorrect sentence in RouteMTUBytes= in [DHCPv4] section. - drop unnecessary word 'unsigned'.
* meson: fix typoYu Watanabe2021-12-231-1/+1
|
* analyze: do not connect to DBUS with --offlineLuca Boccassi2021-12-232-4/+6
| | | | Co-authored-by: Lucas Werkmeister <mail@lucaswerkmeister.de>
* Merge pull request #21858 from yuwata/fix-test-homeLuca Boccassi2021-12-223-2/+24
|\ | | | | test: workaround for TEST-46-HOMED
| * test: wait for user inactiveYu Watanabe2021-12-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | The user may be busy when auto-rebalancing the user's home device. Workaround for #21589. --- Dec 01 15:03:15 H systemd-homework[1078]: Provided password unlocks user record. Dec 01 15:03:15 H systemd-homework[1078]: Image file '/home/test-user.home' already locked, can't use. Dec 01 15:03:15 H systemd-homed[240]: Worker reported error code EADDRINUSE. Dec 01 15:03:15 H systemd-homed[240]: Activation failed: Address already in use ---
| * test: remove test-user2Yu Watanabe2021-12-221-0/+15
| | | | | | | | Otherwise, we cannot run the test multiple times.
| * home: update log messageYu Watanabe2021-12-222-2/+2
| | | | | | | | The ratelimit hits even when the all previous attempts are successfull.
* | boot: Use -fvisibility=hidden instead of -fwhole-programJan Janssen2021-12-221-1/+2
| | | | | | | | | | It's functionally the same for sd-boot, but using visibilty is generally preferred over whole-program.
* | meson: make it compatible with AFL and honggfuzz againEvgeny Vereshchagin2021-12-221-0/+3
|/ | | | | | | | | afl-clang and hufzz-clang try to instrument the code and the underlying compilers don't like it. It should probably be fixed in both afl and honggfuzz eventually but until then let's just use "raw" clang to build bpf-skeletons. It's a follow-up to https://github.com/systemd/systemd/pull/21607
* Merge pull request #21848 from yuwata/errno-name-drop-aliasesYu Watanabe2021-12-223-0/+40
|\ | | | | errno-name: drop aliases defined for specific arch
| * test: add test for errno-list.[ch]Yu Watanabe2021-12-222-0/+36
| |
| * errno-name: drop aliases defined for specific archYu Watanabe2021-12-221-0/+4
|/ | | | | | | | In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of ECANCELED and ECONNREFUSED, respectively. Let's drop them. Fixes #21844.
* Merge pull request #21857 from loongarch64/dev-pr1Yu Watanabe2021-12-224-4/+13
|\ | | | | LoongArch: dmi, virt detection and testcase
| * test: add LoongArch 64bit testcaseXiaotian Wu2021-12-222-0/+9
| |
| * virt: add detection for LoongArch 64bitXiaotian Wu2021-12-221-3/+3
| |
| * dmi: add LoongArch 64bit supportXiaotian Wu2021-12-221-1/+1
| |
* | test,static-destruct: Use retain attribute to prevent linker garbage collectionJan Janssen2021-12-224-2/+8
|/ | | | Fixes: #21847
* test: tweak TriggerLimitIntervalSec= if we're running w/o KVM as wellFrantisek Sumsal2021-12-221-5/+6
| | | | | | | | | since in that case we might be also slow enough to miss the rate-limit window. However, let's not set the trigger limit unconditionally to still have coverage for the unaltered path unit (but without sacrificing CI stability). See: https://github.com/systemd/systemd/pull/21808#issuecomment-998927401
* boot: Fix armhf build failureJan Janssen2021-12-211-0/+14
| | | | Fixes: #21842
* meson: fix cross compilingYu Watanabe2021-12-211-1/+1
|
* shared: Remove remaining usages of GPT_ROOT_NATIVE, GPT_USR_NATIVE from ↵Daan De Meyer2021-12-211-10/+0
| | | | | | | | dissect-image.c Follow-up for 49ae9d91f9ba68bf3f1a6928152a5969d329bbc2 Fixes #21843
* timedatectl: Uniform commas in NTPMessage outputScott Worley2021-12-211-1/+1
|
* test: tweak the path trigger limit a bit when collecting coverageFrantisek Sumsal2021-12-201-0/+12
| | | | | | | Basically the same thing as in e70103e, but for TEST-63. Uses directives introduced by 47dba9f. Follow-up to aaae822.
* NEWS: add missing nounv250-rc3Zbigniew Jędrzejewski-Szmek2021-12-201-4/+5
|
* Merge pull request #21839 from yuwata/repart-issue-reproducer-21817Yu Watanabe2021-12-205-3/+20
|\ | | | | test: add test case for #21817
| * test: add a test case for issue #21817Yu Watanabe2021-12-201-0/+19
| |
| * test: install losetup by defaultYu Watanabe2021-12-204-3/+1
| | | | | | | | Preparation for the next commit.
* | journal: Handle partially read HashItem's when punching holesDaan De Meyer2021-12-201-2/+5
| |
* | nss-resolve: expose various source-disablement settings as variablesZbigniew Jędrzejewski-Szmek2021-12-203-11/+73
|/ | | | | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2006761: > systemd-resolved always (reverse)-resolves the host's IP addresses and FQDN. > This can be harmful when an application (for instance, a DNS zone manager) is > installed on the same server instance. That application would expect > NXDOMAIN to be returned if the current server's IP does not belong in an > already managed reverse zone. This allows clients of nss-resolve to use the same config options that are available through the dbus api and as command-line options to resolvectl. The man page text is is mostly copied directly from c6f20515ab600098b5c2871bae2e9ecab3b41555.
* NEWS: add note about path unit's TriggerLimitBurst= and TriggerLimitIntervalSec=Luca Boccassi2021-12-201-0/+6
|
* repart: use real disk start/end for bar productionTom Yan2021-12-201-8/+6
| | | | | | | Partitions are not always within our aligned scope. Bar printing involves foreign partitions as well. Fixes #21817.
* hwdb: update for -rc3Zbigniew Jędrzejewski-Szmek2021-12-209-681/+1456
| | | | Just a small bunch of additions and a naming updates.
* journal-remote: use MHD_HTTP_CONTENT_TOO_LARGE as MHD_HTTP_PAYLOAD_TOO_LARGE ↵Yu Watanabe2021-12-202-4/+8
| | | | is deprecated since 0.9.74
* Merge pull request #21831 from keszybz/man-dnssec-fixletsLuca Boccassi2021-12-205-27/+87
|\ | | | | Fixlets for DNSSEC-related documentation
| * man: correctly document default for DNSSEC= and DNSoverTLS=Zbigniew Jędrzejewski-Szmek2021-12-202-3/+8
| | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1926323
| * man: describe flags for record resolvingZbigniew Jędrzejewski-Szmek2021-12-202-23/+63
| |
| * man: describe $SYSTEMD_NSS_RESOLVE_VALIDATEZbigniew Jędrzejewski-Szmek2021-12-201-1/+16
| | | | | | | | | | This variable has a pretty important effect, but we didn't mention it anywhere in the docs. It was added in aee9d18c8d909eb7aca2838e4bce5da018b6a112.
* | NEWS: add the boot loader stuffZbigniew Jędrzejewski-Szmek2021-12-201-0/+43
| |
* | build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1dependabot[bot]2021-12-201-1/+1
|/ | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/da838ae9595ac94171fa2d4de5a2f117b3e7ac32...82c141cc518b40d92cc801eee768e7aafc9c2fa2) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #21807 from keszybz/bootcls-no-autodetectDaan De Meyer2021-12-203-40/+170
|\ | | | | Use KERNEL_INSTALL_MACHINE_ID and KERNEL_INSTALL_LAYOUT with bootctl install
| * bootctl: deprecate --make-machine-id-directory=autoZbigniew Jędrzejewski-Szmek2021-12-172-8/+5
| | | | | | | | | | | | | | | | | | | | Now that kernel-install creates the machine-id directory, we don't need to do this is 'bootctl install', and in fact it's better not to do this since it might never be necessary. So let's change the default behaviour to 'no'. I kept support for 'auto' to maintain backwards compatibility, even though the default was changed. Previous behaviour can be requested by specifying --make-machine-id-directory=auto.
| * bootctl: write KERNEL_INSTALL_LAYOUT=bls and KERNEL_INSTALL_MACHINE_ID=…Zbigniew Jędrzejewski-Szmek2021-12-172-32/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a natural extension of d6bce6e224: if we are installing sd-boot, we want to use the sd-boot layout, so let's write the appropriate KERNEL_INSTALL_LAYOUT setting. Effectively, if we do 'booctl install', kernel-install will not autodetect the layout anymore. And 357376d0bb added support for KERNEL_INSTALL_MACHINE_ID. We need to support it here too. We both read it, so that we create the right directories, and also write it if it wasn't written yet and we created some directories using it, so that kernel-install that is executed later knows the machine-id that matches the directories we crated. The code is changed in some places to fail if we can't figure out the current status. When installing the boot loader it's probably better not to guess.
* | basic: add a size check to format timex members properlyMike Gilbert2021-12-202-2/+5
| | | | | | | | | | | | | | As of glibc-2.34, the size of members in struct timex varies depending on the _TIME_BITS macro. Fixes: https://github.com/systemd/systemd/issues/21826
* | sd-radv: do not use goto for non-error-handling casesYu Watanabe2021-12-191-45/+61
| | | | | | | | | | | | | | | | Follow-up for 059d7b6eae827e73c73633bcc40fe74f3696f3f6. The comment https://github.com/systemd/systemd/pull/21814#discussion_r771842132 suggests to introduce new helper, but it is used only one place. Let's not add such, but simply replace the goto with a flag.