summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | test: Fix typing errors in integration-test-wrapper.pyDaan De Meyer5 days1-2/+3
| | | | | |
| * | | | | test: Format integration-test-wrapper.pyDaan De Meyer5 days1-63/+77
| | | | | |
| * | | | | ukify: Fix typing errorDaan De Meyer5 days1-1/+1
| | | | | |
| * | | | | Move mypy.ini and ruff.toml to top levelDaan De Meyer5 days2-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | This allows reusing them for integration-test-wrapper.py as well.
| * | | | | integration-test-wrapper: Remove unneeded format stringsDaan De Meyer5 days1-2/+2
| | | | | |
| * | | | | mkosi: Add github CLI to toolsDaan De Meyer5 days4-0/+4
| | | | | |
| * | | | | mkosi: Add dnf and dnf5 to sanitizer workaround listDaan De Meyer5 days1-0/+2
| | | | | |
| * | | | | mkosi: Install clangd everywhereDaan De Meyer5 days3-0/+3
| | | | | |
| * | | | | mkosi: Use bash to execute command -vDaan De Meyer5 days1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command is only an executable on Fedora due to a downstream patch, on Arch for example it's only a builtin so we have to use bash to execute command -v to get proper results on Arch.
| * | | | | mkosi: Add shellcheck to toolsDaan De Meyer5 days4-0/+4
| | | | | |
| * | | | | mkosi: update to latestDaan De Meyer5 days1-1/+1
|/ / / / /
* | | | | NEWS: add blurb thanking Nick OwensVito Caputo5 days1-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Nick's largely responsible for nerd-sniping me into fixing #34516 and did most of the testing.
* | | | | hwdb: add entry for Chuwi Hi10 X1 (#35331)白一百5 days1-0/+4
| | | | | | | | | | | | | | | | | | | | https://www.chuwi.com/product/items/chuwi-hi10-x1.html Rotated -90 degrees in the Z axis.
* | | | | curl-util: do not configure new io event source when the event loop is ↵Yu Watanabe6 days1-0/+4
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | already dead Similar to c5ecf0949460dd0bf3211db128a385ce6375252e, but for io event source. Fixes #35322.
* | | | measure: add 'dtbauto' option in help messageAni Sinha6 days1-12/+13
| | | | | | | | | | | | | | | | 'dtbauto' command line was missing from the help string. Add it.
* | | | po: Translated using Weblate (French)Léane GRASSER6 days1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Léane GRASSER <leane.grasser@proton.me> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/ Translation: systemd/main
* | | | networkd-test.py: fix interface state checkerYu Watanabe6 days1-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After 259125d53d98541623b69e83000b5543f2352f5e, network interfaces declared by .netdev files are created after systemd-networkd sends READY notification. So, even when networkd is started, the netdevs may not be created yet, and 'ip' command may fail. Let's also check the return code of the command. This also - drops never worked stdout checks, - makes the test fail if the interface is not created within the timeout.
* | | | nspawn: improve log message on bad incoming sd_notify() messageLennart Poettering6 days1-1/+1
| | | | | | | | | | | | | | | | It's the PID that is wrong, not the UID/GID, be precise.
* | | | nspawn: fix userns_mkdir() invocationLennart Poettering6 days1-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrong error code was logged. But actually given that userns_mkdir() is fine with existing dirs, let's drop the redundant conditionalization. Follow-up for: a1fcaa1549d86098d0ba75254b6afc96c786b3b6
* | | | shutdown: propagate one more error from sync_making_progress()Yu Watanabe6 days1-4/+2
| | | | | | | | | | | | | | | | | | | | No functional change, just refactoring, as anyway all errors will be ignored by the caller.
* | | | namespace-util: handle -ENOSPC by userns_acquire() gracefully in ↵Yu Watanabe6 days1-4/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | is_idmapping_supported() (#35313) Follow-up for edae62120f13b24d51812d1d7c0ab24acb420305. Fixes #35311.
| * | | | namespace-util: update log messagesYu Watanabe7 days1-4/+4
| | | | |
| * | | | namespace-util: handle -ENOSPC by userns_acquire() gracefully in ↵Yu Watanabe7 days1-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | is_idmapping_supported() Follow-up for edae62120f13b24d51812d1d7c0ab24acb420305. Fixes #35311.
* | | | shutdown: close DM block device before issuing DM_DEV_REMOVE ioctlYu Watanabe6 days1-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, the ioctl() may fail with EBUSY. Follow-up for b4b66b26620bfaf5818c95d5cffafd85207694e7. Hopefully fixes #35243.
* | | | basic/linux: update kernel headers from v6.12Yu Watanabe6 days10-57/+75
| | | |
* | | | Undeprecate commandline params forcequotacheck, fastboot, and forcefsckZbigniew Jędrzejewski-Szmek6 days2-13/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Those are historical names, but there is nothing wrong with them. The files on / (/fastboot, /forcefsck, and /forcequotacheck) are problematic because they require a modification of the root file system. But the commandline params work fine. They have the obvious advantage compared to our "modern" option that they are much easier to type without looking up the spelling in the docs. Undeprecate them to avoid unnecessary churn.
* | | link README.logs from tmpfiles.d/legacy.conf only if availableChristian Hesse7 days1-1/+2
| | | | | | | | | | | | | | | The file README.logs is installed only if SysVInit support is enabled. Thus the link should depend on it as well.
* | | varlink: apparently on old kernels SO_PEERPIDFD returns EINVALLennart Poettering7 days1-1/+1
| | |
* | | hwdb: add support for PineTab2 to 60-sensor.hwdb (#35304)Marco Tomaschett7 days1-0/+9
| | | | | | | | | Add accelerometer support for PineTab2
* | | userdbctl: two trivial fixlets (#35296)Lennart Poettering7 days1-4/+25
|\ \ \ | | | | | | | | Fixes: #35294
| * | | userdbctl: respect selected disposition also when showing gid boundariesLennart Poettering7 days1-0/+3
| | | | | | | | | | | | | | | | Follow-up for: ad5de3222f7
| * | | userdbctl: fix countingLennart Poettering7 days1-4/+8
| | | | | | | | | | | | | | | | Fixes: #35294
| * | | userbdctl: show 'mapped' user range only inside of usernsLennart Poettering7 days1-0/+14
| | | | | | | | | | | | | | | | | | | | Outside of userns the concept makes no sense, there cannot be users mapped from further outside.
* | | | tpm2-util: fix parameter nameAntonio Alvarez Feijoo7 days1-1/+1
| | | |
* | | | man: split cryptenroll man page into sections (#35297)Luca Boccassi7 days2-24/+65
|\ \ \ \ | |/ / / |/| | |
| * | | cryptenroll: it's called PKCS#11, not PKCS11Lennart Poettering7 days1-1/+1
| | | | | | | | | | | | | | | | | | | | In the --help text we really should use the official spelling, just like in the man page.
| * | | man: add enrollment type sections to cryptenroll man pageLennart Poettering7 days1-23/+64
| | | | | | | | | | | | | | | | | | | | We have the same sections in the --help text, hence we even more so should have them in the man page.
* | | | bash-completion: add --list-devices to systemd-cryptenrollAntonio Alvarez Feijoo7 days1-9/+2
| | | | | | | | | | | | | | | | And also use it to list suitable block devices.
* | | | core/service: service_add_fd_store() consumes passed fdYu Watanabe8 days1-3/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Without this change, the fd is closed twice on failure. Fixes a bug introduced by dff9808a628c31b7ecb1f1aba8fdc3be06ce8372. Fixes #35288.
* | | hwdb: Add quirk for Logitech MX Keys for MacTobias Zimmermann8 days1-0/+5
| | | | | | | | | | | | | | | The KEY_102ND and KEY_GRAVE keys are switched on the Logitech MX Keys for Mac, so switch them back
* | | Keep tmpfiles/legacy.conf even if SysVInit support is dropped (#35278)Zbigniew Jędrzejewski-Szmek8 days20-24/+25
|\ \ \
| * | | tmpfiles: add period at end of the sentenceZbigniew Jędrzejewski-Szmek8 days19-19/+19
| | | | | | | | | | | | | | | | | | | | The license that is immediately above is properly punctuated and it looks sloppy when our line below isn't.
| * | | tmpfiles: narrow scope of HAVE_SYSV_COMPAT condition for legacy.confZbigniew Jędrzejewski-Szmek8 days2-5/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That file contains a bunch of entries of which only some are related to SysV. The rest are just "traditional APIs" that need to stay. In particular, /var/lock a.k.a. /run/lock is used by many programs (LVM, iscsi, alsactl). Similarly, the README about /var/log is something that should stay as long as we have people migrating from older systems or using the copiuos documentation that mentions /var/log/messages.txt on the Internet. /var/lock/subsys is only used by sysvinit, and our code to support /forcefsck, /fastboot, and /forcequotacheck is conditionalized on HAVE_SYSV_COMPAT, so conditionalize those here on HAVE_SYSV_COMPAT too.
* | | po: Translated using Weblate (Ukrainian)Yuri Chornoivan8 days1-5/+5
| |/ |/| | | | | | | | | | | | | Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Yuri Chornoivan <yurchor@ukr.net> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/ Translation: systemd/main
* | cgroup-util: fix memory leak on errorLuca Boccassi8 days1-2/+2
| | | | | | | | | | | | CID#1565824 Follow-up for f6793bbcf0e3f0a6daa77add96183b88d5ec2117
* | network: update state files before replying bus method (#35255)Luca Boccassi9 days2-2/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up for 2b07a3211ba8b1b81d6cebb9650d5cb24554b08a. Fixes the failure found in https://autopkgtest.ubuntu.com/results/autopkgtest-noble-upstream-systemd-ci-systemd-ci/noble/amd64/s/systemd-upstream/20241115_182040_92382@/log.gz . Relevant logs: ``` Nov 16 02:48:36 systemd-networkd[2706]: veth99: Reconfiguring with /run/systemd/network/25-dhcp-client-ipv6-only.network. Nov 16 02:48:36 systemd-networkd[2706]: veth99: NDISC: Started IPv6 Router Solicitation client Nov 16 02:48:36 systemd-networkd[2706]: veth99: IPv6 Router Discovery is configured and started. Nov 16 02:48:36 systemd-networkd[2706]: veth99: NDISC: Sent Router Solicitation, next solicitation in 3s Nov 16 02:48:36 systemd-networkd[2706]: veth99: NDISC: Received Router Advertisement from fe80::1034:56ff:fe78:9abd: flags=0xc0(managed, other), preference=medium, lifetime=30min Nov 16 02:48:36 systemd-networkd[2706]: veth99: NDISC: Invoking callback for 'router' event. Nov 16 02:48:36 systemd-networkd[2706]: veth99: link_check_ready(): dynamic addressing protocols are enabled but none of them finished yet. Nov 16 02:48:36 systemd-networkd[2706]: veth99: DHCPv6 client: Starting in Solicit mode Nov 16 02:48:36 systemd-networkd[2706]: veth99: DHCPv6 client: State changed: stopped -> solicitation Nov 16 02:48:36 systemd-networkd[2706]: veth99: Acquiring DHCPv6 lease on NDisc request Nov 16 02:48:36 systemd-networkd[2706]: veth99: DHCPv6 client: Sent Solicit Nov 16 02:48:36 systemd-networkd[2706]: veth99: DHCPv6 client: Next retransmission in 1s Nov 16 02:48:37 systemd-networkd[2706]: veth99: DHCPv6 client: Sent Solicit Nov 16 02:48:37 systemd-networkd[2706]: veth99: DHCPv6 client: Next retransmission in 1s Nov 16 02:48:39 systemd-networkd[2706]: veth99: NDISC: Received Neighbor Advertisement from fe80::1034:56ff:fe78:9abd: Router=yes, Solicited=yes, Override=no Nov 16 02:48:39 systemd-networkd[2706]: veth99: NDISC: Invoking callback for 'neighbor' event. Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 client: Processed Reply message Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 client: T1 expires in 50s Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 client: T2 expires in 55s Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 client: Valid lifetime expires in 2min Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 client: State changed: solicitation -> bound Nov 16 02:48:39 systemd-networkd[2706]: veth99: DHCPv6 address 2600::15/128 (valid for 1min 59s, preferred for 1min 59s) Nov 16 02:48:41 systemd-networkd[2706]: veth99: Received updated DHCPv6 address (configured): 2600::15/128 (valid for 1min 58s, preferred for 1min 58s), flags: no-prefixroute, scope: global Nov 16 02:48:41 systemd-networkd[2706]: veth99: DHCPv6 addresses and routes set. Nov 16 02:48:41 systemd-networkd[2706]: veth99: link_check_ready(): IPv4LL:no DHCPv4:no DHCPv6:yes DHCP-PD:no NDisc:no Nov 16 02:48:41 systemd-networkd[2706]: veth99: State changed: configuring -> configured ``` The interface veth99 entered the configured state after 5 seconds, but at the same time, the `wait_online()` in the test script considered the test failed. The function `wait_online()` first invokes `systemd-networkd-wait-online` with `--timeout=20`, then check setup states of interfaces with 5 seconds timeout. So, the failure suggests that `systemd-networkd-wait-online` finishes immediately, as the state file was not updated when it is invoked, and thus it handles the interface veth99 already in the configured state.
| * | test-network: actually check metric and preferenceYu Watanabe9 days1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, nexthop ID may contain e.g. 300, then === AssertionError: '300' unexpectedly found in 'default nhid 3860882700 via fe80::1034:56ff:fe78:9a99 proto ra metric 512 expires 1798sec pref high\n default nhid 2639230080 via fe80::1034:56ff:fe78:9a98 proto ra metric 2048 expires 1798sec pref low' ===
| * | network: update state files before replying bus methodYu Watanabe9 days1-0/+8
| | | | | | | | | | | | Follow-up for 2b07a3211ba8b1b81d6cebb9650d5cb24554b08a.
* | | po: Translated using Weblate (Slovenian)Martin Srebotnjak9 days1-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Martin Srebotnjak <miles@filmsi.net> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sl/ Translation: systemd/main
* | | po: Translated using Weblate (Finnish)Jiri Grönroos9 days1-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fi/ Translation: systemd/main