summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicated wordJochen Sprickerhof2022-10-291-1/+1
|
* test: remove brittle iszero_safe() testDavid Seifert2022-10-291-10/+0
| | | | | | | The test relies on finite -> infinite conversion happening when increasing DBL_MAX. Fixes #25044.
* man: document reboot --poweroff exceptionNick Rosbrook2022-10-281-2/+3
| | | | | When reboot is invoked, the -p/--poweroff option is intentionally ignored. Update the man page to reflect this exception.
* tmpfiles: downgrade missing creds/source path log to debugLuca Boccassi2022-10-281-2/+2
| | | | | | | | | | | | | | | | | When installing systemd 252 in debian: Setting up systemd (252~rc3-2) ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... /usr/lib/tmpfiles.d/provision.conf:13: Credential 'login.motd' not specified, skipping line. /usr/lib/tmpfiles.d/provision.conf:14: Credential 'login.issue' not specified, skipping line. /usr/lib/tmpfiles.d/provision.conf:17: Credential 'network.hosts' not specified, skipping line. /usr/lib/tmpfiles.d/provision.conf:22: Credential 'ssh.authorized_keys.root' not specified, skipping line. /usr/lib/tmpfiles.d/systemd.conf:43: Copy source path '/.extra/tpm2-pcr-signature.json' does not exist, skipping line. /usr/lib/tmpfiles.d/systemd.conf:44: Copy source path '/.extra/tpm2-pcr-public-key.pem' does not exist, skipping line. Downgrade to debug level
* install: process all Wants= symlinks even if some of them failYu Watanabe2022-10-281-5/+11
| | | | | | Follow-up for 94e7298d309fef7710174def820e9d38e512a086. Fixes CID#1499992.
* test-network: rewrite wait-online address family testsYu Watanabe2022-10-285-72/+32
| | | | Fixes #25154.
* Merge pull request #25164 from yuwata/network-route-table-0Luca Boccassi2022-10-286-36/+43
|\ | | | | network: fix handling of route table 0
| * test-network: show only IPv4 routesYu Watanabe2022-10-281-24/+24
| |
| * network: make RouteTable= also accept route table nameYu Watanabe2022-10-282-8/+15
| |
| * network: allow 0 for table numberYu Watanabe2022-10-281-2/+2
| | | | | | | | Fixes #25089.
| * network: Table= also accepts table nameYu Watanabe2022-10-282-2/+2
| |
* | network: drop duplicated period in log messageYu Watanabe2022-10-281-1/+1
| |
* | Merge pull request #25163 from weblate/weblate-systemd-masterYu Watanabe2022-10-282-21/+17
|\ \ | |/ |/| Translations update from Fedora Weblate
| * po: Translated using Weblate (Swedish)Anders Jonsson2022-10-281-11/+9
| | | | | | | | | | | | | | | | Currently translated at 100.0% (193 of 193 strings) Co-authored-by: Anders Jonsson <anders.jonsson@norsjovallen.se> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/sv/ Translation: systemd/main
| * po: Translated using Weblate (Russian)Olga Smirnova2022-10-281-10/+8
|/ | | | | | | | Currently translated at 100.0% (193 of 193 strings) Co-authored-by: Olga Smirnova <mistresssilvara@hotmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ru/ Translation: systemd/main
* wait-online: ignore -ENODATA from sd_network_link_get_required_for_online()Yu Watanabe2022-10-271-6/+7
| | | | | | | Follow-up for 778e3da95ef16302956087e6f10ccf7d42499aec. These settings are saved only when a .network file is assigned to the interface. Let's silence noisy logs for unmanaged interfaces.
* Merge pull request #25146 from keszybz/relicese-to-mit-0Zbigniew Jędrzejewski-Szmek2022-10-2740-50/+58
|\ | | | | Change license of code examples in docs to MIT-0
| * network: change license of examples to MIT-0Zbigniew Jędrzejewski-Szmek2022-10-2612-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Arguably, CC0 is just fine for examples since they are not code. But it's easier to be consistent and just use MIT-0 for all "documentation". Thus, the license is changed similarly code examples under man/. Based on 'git shortlog -ns network/*' and 'git log -p', the following folks should ack this: Zbigniew Jędrzejewski-Szmek Lennart Poettering Tom Gundersen Yu Watanabe Daan De Meyer Marc-André Lureau
| * systemd-sysv-install: change license to MIT-0Zbigniew Jędrzejewski-Szmek2022-10-262-2/+2
| | | | | | | | | | | | | | | | | | | | See parent commit for explanation. git blame shows Martin Pitt is the author of the code. (I was considering whether we should instead drop this file, but it's still useful for *distributions*. Eveen if we discourage people from using sysv scripts, distributions will have to deal with them for a while yet.)
| * man: change license of examples to MIT-0Zbigniew Jędrzejewski-Szmek2022-10-2627-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting Richard Fontana in [1]: CC0 has been listed by Fedora as a 'good' license for code and content (corresponding to allowed and allowed-content under the new system). We plan to classify CC0 as allowed-content only, so that CC0 would no longer be allowed for code. Over a long period of time a consensus has been building in FOSS that licenses that preclude any form of patent licensing or patent forbearance cannot be considered FOSS. CC0 has a clause that says: "No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document." (The trademark side of that clause is nonproblematic from a FOSS licensing norms standpoint.) The regular Creative Commons licenses have similar clauses. For the case of our documentation snippets, patent issues do not matter much. But it is always nicer to have a license that is considerred acceptable without any further considerations. So let's change the license to the (now recommended replacement) MIT-0. [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NO7KGDNL5GX3KCB7T3XTGFA3QPSUJA6R/ Using 'git blame -b' and 'git log -p --follow', I identified the following folks as having made non-trivial changes to those snippets: Lennart Poettering Tom Gundersen Luca Bocassi Zbigniew Jędrzejewski-Szmek Thomas Mühlbacher Daan De Meyer I'll ask for confirmation in the pull request.
| * licenses: add a copy of MIT-0Zbigniew Jędrzejewski-Szmek2022-10-261-0/+7
| | | | | | | | Taken from https://spdx.org/licenses/MIT-0.html.
* | Merge pull request #25137 from yuwata/sd-device-drop-device-copy-propertiesZbigniew Jędrzejewski-Szmek2022-10-273-39/+1
|\ \ | | | | | | sd-device: drop unused device_copy_properties()
| * | sd-device: make device_shallow_clone() staticYu Watanabe2022-10-252-2/+1
| | |
| * | sd-device: drop unused device_copy_properties()Yu Watanabe2022-10-253-37/+0
| | |
* | | update TODOLennart Poettering2022-10-261-0/+6
| | |
* | | unit: also prioritize input devices when triggering devicesYu Watanabe2022-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As in most cases, tty device without input devices is meaningless. This also swaps the priority of tty and net: - input devices are often connected under USB bus, hence may take slightly much time to be initialized. As, described in the above, in most cases it is allowed that tty devices are initialized just before input devices, - network configuration usually requires much time, e.g. DHCP or RA, hence it is better that network interfaces initialized. Then, network services can start DHCP client or friends earlier. Fixes #24026.
* | | Merge pull request #25120 from bluca/test_machineidZbigniew Jędrzejewski-Szmek2022-10-2612-26/+54
|\ \ \ | | | | | | | | unit tests: do not fail when machine-id is missing
| * | | gh actions: run a unit test iteration without machine-idLuca Boccassi2022-10-251-0/+8
| | | |
| * | | udev-test: use passwd instead of machine-id for checksLuca Boccassi2022-10-251-2/+2
| | | | | | | | | | | | | | | | Much more likely to be present
| * | | test/test-systemd-tmpfiles.py: do not fail if machine-id is missingLuca Boccassi2022-10-251-1/+1
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-load-fragment: do not fail if machine-id is missingLuca Boccassi2022-10-251-2/+4
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-execute: do not fail if machine-id is missingLuca Boccassi2022-10-252-2/+0
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-unit-name: do not fail if machine-id is missingLuca Boccassi2022-10-251-8/+14
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-specifier: do not fail if machine-id is missingLuca Boccassi2022-10-251-2/+7
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-id128: do not fail if machine-id is missingLuca Boccassi2022-10-251-6/+11
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-fs-util: do not fail if machine-id is missingLuca Boccassi2022-10-251-1/+1
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-condition: skip test if machine-id is missingLuca Boccassi2022-10-251-1/+5
| | | | | | | | | | | | | | | | When building in a chroot there might not be any machine-id
| * | | test-sd-device: check if /run/udev/ existsLuca Boccassi2022-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When running the tests in a chroot /sys/ might be writable, but it doesn't mean udev will be running Assertion 'sd_event_add_inotify(event, NULL, "/run/udev" , IN_DELETE, on_inotify, NULL) >= 0' failed at src/libsystemd/sd-device/test-sd-device.c:352, function test_sd_device_enumerator_filter_subsystem(). Aborting.
* | | | hwdb: drop model specifier from general entriesYu Watanabe2022-10-261-6/+6
| | | | | | | | | | | | | | | | Fixes #25029.
* | | | po: Translated using Weblate (Georgian)Temuri Doghonadze2022-10-261-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (193 of 193 strings) Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ka/ Translation: systemd/main
* | | | Merge pull request #25133 from poettering/ddi-dissectYu Watanabe2022-10-252-3/+3
|\ \ \ \ | |_|/ / |/| | | mention "DDIs" in systemd-dissect tool --help text/man page
| * | | man: also use DDIs in systemd-dissect man pageLennart Poettering2022-10-251-2/+2
| | | |
| * | | dissect: mention DDI moniker in --help textLennart Poettering2022-10-251-1/+1
| | | |
* | | | tree-wide: fix typoYu Watanabe2022-10-252-2/+2
| | | |
* | | | Merge pull request #25131 from poettering/image-root-help-text-fixYu Watanabe2022-10-252-0/+4
|\ \ \ \ | | | | | | | | | | analyze/coredumpctl: add --image=/--root= to --help texts
| * | | | coredumpctl: add --root= + --image= to --help textLennart Poettering2022-10-251-0/+2
| | | | |
| * | | | analyze: add --image= + --root= to --help textLennart Poettering2022-10-251-0/+2
| |/ / /
* | | | Revert "core: drop non-default value for DefaultLimitMEMLOCK=" (#25058)xiaoyang2022-10-251-1/+1
| | | | | | | | | | | | This reverts commit 606104bcdbf9d2fe1f39594cc6379db9209569d9.
* | | | test: rewrite tests for renaming network interfaceYu Watanabe2022-10-251-39/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - use `udevadm wait` instead of `udevadm info --wait-initialized`, - use `timeout` command instead of the fixed time sleep, - add basic tests for #25106, - add brief comment about #25115.
* | | | core: give a nicer error message on invalid aliasesJacek Migacz2022-10-251-0/+25
|/ / /