summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* resolved: Don't omit AD bit in reply if DO is set in the queryJack Dähn2021-08-101-2/+2
| | | | | | Set the AD bit in the response if the data is authenticated and AD or DO is set in the query, as suggested by section 5.8 of RFC6840. Fixes #20332
* test: fix TEST-10-ISSUE-2467Michael Biebl2021-08-101-1/+10
| | | | | | | | | | | | | | | | | | | | | Depending on the timing, socat will either get ECONNREFUSED oder EPIPE from systemd. The latter will cause it to exit(1) and subsequently the test to fail. We are not actually interested in the return code of socat though. The test is supposed to check, whether rate limiting of a socket unit works properly. So ignore any failures from the socat invocation and instead check, if test10.socket is in state "failed" with result "trigger-limit-hit" after it has been triggered. TriggerLimitIntervalSec= by default is set to 2s. A "sleep 10" should give systemd enough time even on slower machines, to reach the trigger limit. For better readability, break the test into separate ExecStart lines. Fixes #19154.
* update TODOLennart Poettering2021-08-101-0/+9
|
* fstab-generator: put What= before Where=Zbigniew Jędrzejewski-Szmek2021-08-101-4/+4
| | | | | | | | All units in units/ follow this pattern, as do all other generators that we provide. The question of the order was raised in https://github.com/systemd/zram-generator/pull/90#discussion_r684965984, and I think it's nice to make it consistent everywhere (What= before Where= matches mount(8) and fstab(5)).
* Merge pull request #19959 from yuwata/udev-reduce-loopLennart Poettering2021-08-1010-358/+402
|\ | | | | udev: reduce number of times checking event dependency
| * udev: skip event when its dependency cannot be checkedYu Watanabe2021-08-101-4/+18
| |
| * udev: do not try to find blocker again when no blocker found previouslyYu Watanabe2021-08-101-10/+35
| |
| * list: introduce LIST_FOREACH_BACKWARDS() macro and drop ↵Yu Watanabe2021-08-104-12/+9
| | | | | | | | LIST_FOREACH_AFTER/BEFORE()
| * udev: rename is_device_busy() -> event_is_blocked()Yu Watanabe2021-08-101-17/+17
| | | | | | | | Also this rename delaying_seqnum -> blocker_seqnum.
| * udev: do not try to process events if there is no free workerYu Watanabe2021-08-101-1/+1
| |
| * udev: propagate error on spawning a workerYu Watanabe2021-08-101-8/+15
| |
| * udev: add usec_add() at one more placeYu Watanabe2021-08-101-1/+1
| |
| * udev: make event_queue_start() return negative errno on errorYu Watanabe2021-08-101-6/+6
| |
| * udev: make event_free() return NULLYu Watanabe2021-08-101-3/+3
| |
| * udev: update log message to clarify that the error is ignoredYu Watanabe2021-08-101-3/+3
| |
| * udev: move several functionsYu Watanabe2021-08-101-217/+215
| | | | | | | | No functional chage.
| * udev: also rename struct udev_ctrl -> UdevCtrlYu Watanabe2021-08-106-58/+58
| |
| * udev: rename type name e.g. struct worker -> WorkerYu Watanabe2021-08-101-47/+50
| |
* | Merge pull request #20410 from yuwata/network-ndisc-cleanupsYu Watanabe2021-08-102-29/+25
|\ \ | | | | | | network: several NDisc cleanups
| * | network: use usec_add() at several more placesYu Watanabe2021-08-101-4/+4
| | |
| * | network: make IPv6Token private, and ipv6token_new() staticYu Watanabe2021-08-102-20/+16
| | |
| * | network: ndisc: update a log messageYu Watanabe2021-08-101-5/+5
| | | | | | | | | | | | Also slightly rename functions.
* | | Merge pull request #19939 from yuwata/network-dhcp-client-use-request-queueYu Watanabe2021-08-1012-185/+263
|\ \ \ | | | | | | | | network: use request queue to configure DHCP clients
| * | | network: adjust log messagesYu Watanabe2021-08-101-2/+2
| | | | | | | | | | | | | | | | Follow-up for #19944.
| * | | network: DHCP[46] -> DHCPv[46] in log messagesYu Watanabe2021-08-104-65/+65
| | | |
| * | | network: use request queue to configure DHCP{4,6} clientsYu Watanabe2021-08-1011-119/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when UUID is requested for DUID, then the clients are configured in callback of bus methods. But now, 'request queue' was implemented, so we can use it to wait until the product UUID is obtained.
| * | | network: do not request UUID frequently on failureYu Watanabe2021-08-101-0/+2
| | | | | | | | | | | | | | | | | | | | If many interfaces request UUID, and networkd cannot get it for some reasons, then previously we call the DBus method so frequently.
| * | | network: downgrade log level in dhcp6_configure()Yu Watanabe2021-08-103-21/+21
| | | | | | | | | | | | | | | | And make the callers warn about failures.
| * | | network: downgrade log level in dhcp4_configure()Yu Watanabe2021-08-103-34/+34
| | |/ | |/| | | | | | | And make the callers warn about failures.
* | | Merge pull request #19901 from yuwata/network-reconfigure-after-sleepYu Watanabe2021-08-106-100/+131
|\ \ \ | |/ / |/| | network: reconfigure interface after coming back from sleep
| * | test-network: add a testcase to enter unmanaged state on reconfiguringYu Watanabe2021-08-101-6/+27
| | |
| * | network: drop configurations in the previous .network file when entering ↵Yu Watanabe2021-08-101-7/+11
| | | | | | | | | | | | | | | | | | | | | unmanaged state When reconfiguring an interface and it will enter unmanaged state, let's drop configurations from the previously assigned .network file.
| * | network: do not drop foreign configs for loopback and critical interfaces on ↵Yu Watanabe2021-08-101-16/+14
| | | | | | | | | | | | carrier lost
| * | network: do not drop foreign configs based on the previous .network fileYu Watanabe2021-08-101-7/+0
| | | | | | | | | | | | `link_drop_foreign_config()` will be called later in link_configure().
| * | network: start/stop LLDP client on carrier gained/lostYu Watanabe2021-08-103-34/+6
| | | | | | | | | | | | | | | | | | Then, link_acquire_dynamic_conf() matches link_stop_engines(). Previously, LLDP client is started on interface is up, and stopped on both down and carrier loss.
| * | network: reconfigure link after coming back from sleepYu Watanabe2021-08-103-30/+73
|/ / | | | | | | | | | | | | | | | | Previously, link was reconfigured with `link_carrier_reset()`, but it just re-request to configure static addresses, routes, etc, and restart engines (e.g. DHCP client). However, after coming back from sleep, several link information may be changed, especially the wifi access point may be different. So, we may need to reconfigure the interface.
* | Update traditional Chinese TranslationTianlu Shao2021-08-101-64/+26
|/ | | | Fix the wrong translation and fill in the new translation.
* hwdb: Add Lenovo Thinkpad P14s Gen1/2 rulesvonohr2021-08-101-1/+3
|
* test: use a correct kernel binary on ppc64le machinesFrantisek Sumsal2021-08-091-5/+7
| | | | | | | Ubuntu calls the kernel binary as `vmlinux-*`, but RHEL/CentOS uses the "standard" `vmlinuz-` prefix. Follow-up to eaa602cb14217f2623c9c8c44b6f3012dc4d0b24.
* timesync: add option to periodically save timeDimitry Ishenko2021-08-097-13/+104
|
* pid1: add support for cgroup.killAlbert Brox2021-08-092-23/+74
|
* Fix the "Failed to open random seed ..." message.longpanda2021-08-091-1/+1
| | | | | When boot ArchLinux from Ventoy, it always print `Failed to open random seed file: write protected.` As Ventoy emulate the ISO file as a read-only CDROM, I didn't test with a real physical CDROM drive, but maybe it also has such problem. As we use `EFI_FILE_MODE_WRITE` to open the `loader\random-seed` file, so I think it's better to check the result with both `EFI_WRITE_PROTECTED` and `EFI_NOT_FOUND`.
* network: use monotonic instead of boot time to handle address ↵Yu Watanabe2021-08-091-1/+3
| | | | | | | | creation/update timestamp Follow-up for 25db3aeaf32ba95bad5e765720ebc23c8ef77a99 and 899034ba8167bd16e802cfbea29a9ee85dee5be5. Fixes another issue in #20244.
* Update 60-autosuspend-fingerprint-reader.hwdb to libfprint-1.92.1StefanBruens2021-08-091-1/+10
|
* man systemd-sysusers: fix password to passwdGnunuX2021-08-091-1/+1
|
* Merge pull request #20395 from takaswie/topic/correct-ieee1394-hwdb-entriesZbigniew Jędrzejewski-Szmek2021-08-091-12/+47
|\ | | | | hwdb: ieee1394-unit-function: correct entries for some models
| * hwdb: ieee1394-unit-function: correct entries for eAR Master One and ↵Takashi Sakamoto2021-08-081-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Terratec Aureon 7.1 FireWire The configuration ROM of Acoustic Reality eAR Master One, Eroica, Figaro, and Ciaccona has OUI for TerraTec Electronic GmbH in its vendor ID field. As a result, modalias for the unit is the same as Terratec Electronic Aureon 7.1 FireWire. Linux FireWire subsystem adds the same modalias for units of the models. ALSA bebob driver had duplicated entries for them and was changed at Linux kernel v5.14 to remove the duplicated entries. It's better to improve corresponding entries in systemd hwdb, while it's impossible to distinguish the models by modalias and force to use the same entry for them. As last resort, this commit selects more popular model, Aureon 7.1 FireWire for ID_VENDOR_FROM_DATABASE and ID_MODEL_FROM_DATABASE. Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a07ebc7e050ccdfec508449b2ef8f2b2aa90927b Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
| * hwdb: ieee1394-unit-function: correct comment for Mackie d.2 and d.2 ProTakashi Sakamoto2021-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I had misunderstanding that BridgeCo ASIC would be used for extension option for Mackie d.2 and OXFW971 would be used for Mackie d.2 Pro like Mackie d.4 Pro. However, it's clear that the latter is model with pre-installed option. This commit fixes commit to entry for Mackie d.2. I note that the modalias of unit of Mackie d.4 Pro is still unidentified. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
| * hwdb: ieee1394-unit-function: correct comment for Mackie Onyx-i seriesTakashi Sakamoto2021-08-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | Some Mackie Onyx-i models are known to have two revisions at least, which use different ASICS; Oxford Semiconductor FW971 and TC Applied Technologies TCD2210. I misunderstand that Onyx 1640i had not such revisions. This commit fixes comment to entry for the model. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
| * hwdb: ieee1394-unit-function: correct entries for Phonic productsTakashi Sakamoto2021-08-081-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of Phonic Firefly series and Helix Board series have the same combination of vendor ID, model ID, specifier ID, and software version in their configuration ROM. On the other hand, the other models have unique combination. ALSA bebob driver in Linux kernel v5.14 was changed in its modalias table for the models. This commit fixes systemd hwdb for the models. Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1586d461f641b60040438275e14c7dbcec5907d6 Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>