summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* coredump: allow only empty messages after first "sentinel"Michal Sekletar2024-10-301-2/+8
|
* network/tunnel: reuse existing 6rd sit tunnel (#34938)Yu Watanabe2024-10-304-84/+60
|\ | | | | split-out of #34909.
| * test-network: add test case for reuse of existing 6rd SIT tunnelYu Watanabe2024-10-301-9/+15
| |
| * network/tunnel: reuse existing 6rd SIT tunnelYu Watanabe2024-10-293-31/+19
| | | | | | | | | | The 6rd SIT tunnel configuration can be updated without recreating the interface. Let's reuse existing tunnel.
| * network/tunnel: merge dhcp4_pd_create_6rd_tunnel_message() into ↵Yu Watanabe2024-10-292-47/+29
| | | | | | | | | | | | | | dhcp4_pd_create_6rd_tunnel() No functional change, just refactoring and preparation for later commits.
* | network/netdev: do not try to update several parameters if the interface ↵Yu Watanabe2024-10-305-36/+98
|\ \ | | | | | | | | | | | | already exists (#34937) split-out of #34909.
| * | network/ipvlan: do not try to update MAC addressYu Watanabe2024-10-301-0/+9
| | |
| * | network/macsec: IFLA_MACSEC_PORT attribute cannot be changedYu Watanabe2024-10-301-6/+14
| | | | | | | | | | | | | | | | | | Also, though currently not supported by networkd, IFLA_MACSEC_CIPHER_SUITE, IFLA_MACSEC_ICV_LEN, IFLA_MACSEC_SCI cannot be updated.
| * | network/vxlan: do not try to update several parametersYu Watanabe2024-10-301-28/+42
| | | | | | | | | | | | | | | Currently, netdev->ifindex is always zero when this function is called. So, this does not change any behavior. Preparation for later commits.
| * | network/netdev: introduce netdev_can_set_mac/mtu() helper functionsYu Watanabe2024-10-302-2/+33
| | | | | | | | | | | | | | | | | | Several netdevs cannot set IFLA_ADDRESS or IFLA_MTU attribute on update. Currently, the vtable field is unused, as we do not support updating existing netdevs. Preparation for later commits.
* | | network: several cleanups for reloading .network files (#34933)Yu Watanabe2024-10-306-24/+61
|\ \ \ | | | | | | | | split-out of #34909.
| * | | network: use newly loaded Network object if a referenced NetDev object is ↵Yu Watanabe2024-10-301-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | updated Even if .network file is not updated, referenced NetDev object may be different. In that case, let's use the newly loaded Network object.
| * | | network: drop no-op cleanupYu Watanabe2024-10-305-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - network_load() is always called with an empty OrderedHashmap, renamed the output parameter to 'ret'. - When netdev_load() is called on startup, the hashmap is NULL. When it is called on reloading, the hashmap is not cleaned up. Hence, then these cleanups are always no-op. Let's drop them.
| * | | network/netdev: update state file when NetDev object assignment is changedYu Watanabe2024-10-301-6/+17
| | | |
| * | | network: swap asterisk and spaceYu Watanabe2024-10-302-4/+4
| |/ /
* | | network: process queued remove requests on stop (#34871)Yu Watanabe2024-10-306-30/+93
|\ \ \ | | | | | | | | | | | | | | | | Fixes a regression caused by 85a6f300c14d75d161cbfdb3eaf5af9594400ecd and its later commits. Fixes #34837.
| * | | github: drop workaround and use distro moldYu Watanabe2024-10-301-9/+1
| | | | | | | | | | | | | | | | | | | | Now, ubuntu-24.04 has mold-2.30.0+dfsg-1build1 . See https://packages.ubuntu.com/noble/mold .
| * | | test-network: add test for DHCPv4 address removal on stopYu Watanabe2024-10-301-0/+19
| | | | | | | | | | | | | | | | For issue #34837.
| * | | network: process queued remove requests before networkd is stoppedYu Watanabe2024-10-304-21/+73
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes networkd process all queued remove requests when a terminating or restarting signal is received. Otherwise, e.g. DHCPv4 address will not be removed on stop, especially when KeepConfiguration=no. Fixes a bug introduced by 85a6f300c14d75d161cbfdb3eaf5af9594400ecd and its subsequent commits. Fixes #34837. Co-authored-by: Will Fancher <elvishjerricco@gmail.com>
* | | mkosi: Update packaging specs to latest (#34951)Yu Watanabe2024-10-302-2/+2
|\ \ \
| * | | mkosi: update debian commit referenceDaan De Meyer2024-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | * 2f288667e0 Install sysupdate.feature manpage * 384393a955 d/systemd.postrm: delete more internal state directories on purge
| * | | mkosi: update arch commit referenceDaan De Meyer2024-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 62c224b60c Specify --no-rebuild when calling meson install * b5c20dc6b0 fix redirection for dash * 7fef8e4cdd upgpkg: 256.7-1: new upstream release
* | | | Fix display of qrcodes by bsod and other related cleanups (#34914)Lennart Poettering2024-10-309-34/+65
|\ \ \ \
| * | | | cryptenroll,homectl,journalctl: adjust messages before qrcodesZbigniew Jędrzejewski-Szmek2024-10-303-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users will generally know what a qrcode is, so let's not treat them as dumb and explain that it can be scanned. OTOH, we should say what the qrcode contains and it is useful to give a hint why the users would want to scan it. Reword messages accordingly. (Also, don't say "to your phone", when somebody might be using a stolen phone, or something else then a phone.)
| * | | | bsod: make message for qrcode more usefulZbigniew Jędrzejewski-Szmek2024-10-302-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | People know what a qrcode is. We don't need to tell them to scan it. Instead, we should say what the code contains. While at it, rename "stream" to "f" in line with the usual style.
| * | | | qrcode-util: avoid memleak in error pathZbigniew Jędrzejewski-Szmek2024-10-291-3/+4
| | | | |
| * | | | test-terminal-util: print value of colors_enabled()Zbigniew Jędrzejewski-Szmek2024-10-291-0/+4
| | | | | | | | | | | | | | | | | | | | This makes it easier to diagnose why colors are disabled.
| * | | | bsod: do not check for color supportZbigniew Jędrzejewski-Szmek2024-10-293-11/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When invoked on a running system, bsod would not print the qrcode. The check for "color support" on stdout is pointless, since we're not printing to stdout but to a terminal fd that is opened separately.
| * | | | qrcode-util: add debug message to show why a qrcode wasn't printedZbigniew Jędrzejewski-Szmek2024-10-281-8/+9
| | | | |
| * | | | sysv-generator: break long message into linesZbigniew Jędrzejewski-Szmek2024-10-281-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The journal handles multi-line messages nicely, and they are easier to read. Drop the recycling symbol, there is no circular process here, we go from a to b and never back to a again.
* | | | | ask-password: Allow configuring the keyring timeout via an environment variableDaan De Meyer2024-10-302-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In mkosi, we want an easy way to set the keyring timeout for every tool we invoke that might use systemd-ask-password to query for a password which is then stored in the kernel keyring. Let's make this possible via a new $SYSTEMD_ASK_PASSWORD_KEYRING_TIMEOUT_SEC environment variable. Using an environment variable means we don't have to modify every separate tool to add a CLI option allowing to specify the timeout. In mkosi specifically, we'll set up a new session keyring for the mkosi process linked to the user keyring so that any pins in the user keyring are used if available, and otherwise we'll query for and store password in mkosi's session keyring with a zero timeout so that they stay in the keyring until the mkosi process exits at which point they're removed from the keyring.
* | | | | logind: add BlockWeakInhibited propertyLuca Boccassi2024-10-304-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/systemd/systemd/issues/34091 Follow-up for 804874d26ac73e0af07c4c5d7165c95372f03f6d
* | | | | core: make mount(8) and swapon(8) inherit SMACK label from systemdŁukasz Stelmach2024-10-302-0/+6
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default mount(8), umount(8), swapon(8) and swapoff(8) should run with with the SMACK label inherited from systemd rather than the default one meant for services. Fixes: aa5ae9711ef3cd0c69b7fcfbd65bca05fb704a8a Follow-up-for: 20bbf5ee4c6c80599a91e7a4b7474e931a27db4a
* | | | coredump: AccessContainer= bunch of followups (#34333)Luca Boccassi2024-10-306-85/+150
|\ \ \ \ | | | | | | | | | | Fixes #34130
| * | | | test: add test coverage for EnterNamespace=Michal Sekletar2024-10-302-1/+33
| | | | |
| * | | | coredump: return correct error variableMichal Sekletár2024-10-301-1/+1
| | | | |
| * | | | coredump: rename AccessContainer= to EnterNamespace=Michal Sekletar2024-10-303-9/+11
| | | | |
| * | | | coredump: rework gather_pid_mount_tree_fd()Michal Sekletar2024-10-301-17/+29
| | | | |
| * | | | coredump: use FORK_WAITMichal Sekletar2024-10-301-8/+2
| | | | |
| * | | | coredump: store actual fd in appropriate variableMichal Sekletar2024-10-301-3/+3
| | | | |
| * | | | coredump: use FORK_LOG to get more precise loggingMichal Sekletar2024-10-301-2/+2
| | | | |
| * | | | coredump: fix coding styleMichal Sekletar2024-10-301-1/+11
| | | | |
| * | | | coredump: get rid of redundant double spaceMichal Sekletar2024-10-301-1/+1
| | | | |
| * | | | coredump: use more appropriate return codeMichal Sekletar2024-10-301-3/+3
| | | | |
| * | | | coredump: check for and close unexpected FDsMichal Sekletar2024-10-301-13/+38
| | | | |
| * | | | coredump: fix line spacingMichal Sekletar2024-10-301-0/+1
| | | | |
| * | | | coredump: merge variable definitionsMichal Sekletar2024-10-301-2/+1
| | | | |
| * | | | coredump: rework attaching container mount treesMichal Sekletar2024-10-301-19/+18
| | | | |
| * | | | analyze: don't use Yoda conditionsMichal Sekletar2024-10-291-1/+1
| | | | |
| * | | | analyze: modernize opening ELF binary a bitMichal Sekletar2024-10-291-13/+4
| | | | |