summaryrefslogtreecommitdiffstats
path: root/test/TEST-09-REBOOT (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-18network/address: acquire address from DHCP server lease fileYu Watanabe4-1/+54
If the DHCP server on an interface is configured with its server address is null, then let's reuse the previous server address if possible. Otherwise, if networkd is restarted or the host is rebooted, then possibly new subnet is picked, and clients that already have addresses in the previous subnet cannot access the server. Prompted by https://github.com/systemd/systemd/pull/30021#discussion_r1518478633.
2024-03-18dnssd: support service subtypesRonan Pigott10-8/+109
A service subtype is used for selective enumeration of services.
2024-03-18shared/install: correctly install alias for units outside search pathNick Rosbrook3-10/+35
Currently, if a unit file is enabled from outside of the search path, and that unit has an alias, then the symlink ends up pointing outside of the search path too. For example: $ cat /tmp/a.service [Service] ExecStart=sleep infinity [Install] Alias=b.service WantedBy=multi-user.target $ systemctl enable /tmp/a.service Created symlink /etc/systemd/system/a.service → /tmp/a.service. Created symlink /etc/systemd/system/b.service → /tmp/a.service. Created symlink /etc/systemd/system/multi-user.target.wants/a.service → /tmp/a.service. This then means the alias is treated as a separate unit: $ systemctl start a.service $ sudo systemctl status a ● a.service Loaded: loaded (/etc/systemd/system/a.service; enabled; preset: enabled) Active: active (running) since Fri 2024-03-15 15:17:49 EDT; 9s ago Main PID: 769593 (sleep) Tasks: 1 (limit: 18898) Memory: 220.0K CPU: 5ms CGroup: /system.slice/a.service └─769593 sleep infinity Mar 15 15:17:49 six systemd[1]: Started a.service. $ sudo systemctl status b ○ b.service Loaded: loaded (/etc/systemd/system/b.service; alias) Active: inactive (dead) To fix this, make sure the alias uses a target that is inside the search path. Since the unit file itself is outside of the search path, a symlink inside the search path will have been created already. Hence, just point the alias symlink to that recently created symlink.
2024-03-18resolved: wait to gc transactions if they might still give an answerRonan Pigott3-1/+34
In some cases when a query completes there are still pending transactions that are no longer useful to answer the query. But if this query is repeated in the future and we don't have the answers cached, we're going to ask and ignore the answer again. Instead of purging these superfluous transactions, let's wait and see if they produce an answer, since we already asked the question, and use it to fill our cache.
2024-03-18Add unittest file for basic:labelAbraham Samuel Adekunle4-0/+162
2024-03-17Update arch/debian packaging source URLsDaan De Meyer1-2/+2
Let's use the actual URL to avoid warnings from git about getting redirected.
2024-03-17Switch opensuse packaging specs source url to src.opensuse.orgDaan De Meyer2-2/+2
opensuse's OBS has two git mirrors, code.opensuse.org uses pagure, src.opensuse.org uses gitea. Let's try src.opensuse.org as pagure doesn't seem to work properly when more advanced git functionality is used.
2024-03-17tpm2-setup: Add --gracefulDaan De Meyer3-2/+15
Currently the associated units fail if full tpm support is not available on the system. Similar to systemd-pcrextend, let's add a --graceful option that exits gracefully if no full TPM support is detected and use it in both units.
2024-03-17units: Accept modules_load and rd.modules_load in systemd-modules-load.serviceDaan De Meyer1-0/+2
The service will use either, so let's make sure either of them starts the service as well.
2024-03-17meson: test with c++26 tooZbigniew Jędrzejewski-Szmek1-0/+1
The docs say that support is experimental, but it's better for us if we know about any problems early. Header tests pass without any issue with gcc-14.0.1-0.8.fc40.x86_64.
2024-03-17meson: gcc docs say that name "c2x" is deprecatedZbigniew Jędrzejewski-Szmek1-1/+1
2024-03-17meson: use loops to unify repeated checksZbigniew Jędrzejewski-Szmek1-19/+17
2024-03-16NEWS: style fixes and a few reformulationsJörg Behrmann1-9/+11
- mention the version format spec for sytsemd-vpick - say what "systemd-creds --user" can be used by unprivileged users as well - say what importctl does - use en dash instead of em dash - add a missing article
2024-03-16Update _udevadmsamuelvw011-1/+1
2024-03-16man: add missing "and" to importctl descriptionJörg Behrmann1-1/+1
2024-03-15units: use relative pathYu Watanabe5-6/+6
2024-03-15mkosi: Do disk space cleanup asynchronouslyDaan De Meyer1-2/+6
This can actually take a rather long time (multiple minutes) so make sure we do it asynchronously.
2024-03-15docs: update footer to 2024Tycho Andersen1-1/+1
2024-03-15meson: Rename add-git-hook.sh to git-setup.sh and configure git in itDaan De Meyer3-4/+9
Let's automatically apply the recommended git config with meson.
2024-03-15docs: Update HACKING guide with recommended git configDaan De Meyer1-0/+8
2024-03-15network/dhcp-server: use the pinned fd of persistent storgeYu Watanabe1-19/+27
2024-03-15network/varlink: return earlier from SetPersistentStorage method if nothing ↵Yu Watanabe1-0/+13
changed
2024-03-15network: pin file descriptor of persistent storageYu Watanabe6-33/+48
This also drop the support of /run/systemd/netif/persistent-storage-ready, as the file is anyway removed when networkd is stopped. Let's use $SYSTEMD_NETWORK_PERSISTENT_STORAGE_READY=1 instead on testing.
2024-03-15NEWS: mention portablectl --copy=mixedLuca Boccassi1-0/+5
2024-03-15shell completion: add --copy=mixed in portablectlLuca Boccassi1-1/+1
Follow-up for 82047a6aa7230031d2a579e81d5f8871c23e0616
2024-03-15test/TEST-46: drop whitespace after redirection operatorsZbigniew Jędrzejewski-Szmek1-7/+7
2024-03-15portablectl: add forgotten value to --helpZbigniew Jędrzejewski-Szmek1-1/+2
Followup for 82047a6aa7230031d2a579e81d5f8871c23e0616.
2024-03-15journal: use empty_to_null() in one more placeZbigniew Jędrzejewski-Szmek1-8/+2
Follow-up for 45bcab66a9c23a74107118d310e09a46f28494fd.
2024-03-15portable: when logging about attaching, include the used profileLuca Boccassi1-2/+7
Useful information to have in the logs. Mar 14 16:45:27 H systemd-portabled[510]: Successfully attached ephemeral '/usr/share/minimal_0.raw' and its extension(s) '/usr/share/app0.raw' using profile 'default'
2024-03-15network/address: acquire address in address_process_request()Yu Watanabe1-64/+81
Previously, if an [Address] section is configured with a null address, e.g. Address=0.0.0.0/24, then we acquired a free address in link_request_address(). With this commit, we queue a request with the null address as is, and acquire a free address later in address_process_request(). Similary, now IPv4ACD daemon is configured in address_process_request(). With this change, we can make the address acquisition depend on other conditions, e.g. if the persistent storage is ready or not.
2024-03-15NEWS: fix typo and reword a couple of entriesLuca Boccassi1-8/+12
2024-03-15NEWS: fix typosJörg Behrmann1-3/+3
2024-03-15NEWS: fix typoMike Yuan1-3/+3
2024-03-15TODO: various things noticed while writing NEWSZbigniew Jędrzejewski-Szmek1-0/+6
2024-03-15NEWS: add initial version of changes in v256Zbigniew Jędrzejewski-Szmek1-18/+432
2024-03-15documentation: fix inconsistencyMax Gautier1-1/+1
Since this sentence is in the same section it refers to, it does not make much sense to mention the "section below".
2024-03-15cifuzz,cflite: set mmap_rnd_bits to 28Evgeny Vereshchagin2-0/+2
to get MSan jobs to work with the latest Ubuntu images. https://github.com/google/sanitizers/issues/1614 https://github.com/actions/runner-images/issues/9491
2024-03-14Added a test file for the dirent-util.cUnique-Usman2-0/+214
2024-03-14sd-dhcp-server: also save the server address and netmask to the leases fileYu Watanabe2-1/+37
And introduce a tiny helper to retrieve these information. The function is not used at this time, but will be used later.
2024-03-14sd-dhcp-server: rearrange the parser of the leases fileYu Watanabe1-26/+35
No functional changes, just refactoring and preparation for later commits.
2024-03-14sd-dhcp-server: make sd_dhcp_server_set_lease_file() optionally take ↵Yu Watanabe6-17/+46
directory fd Currently, though, no valid directory fd is passed to the function call. Preparation for later commits.
2024-03-14docs: fix typoYu Watanabe1-1/+1
Follow-up for 34c6b7d9de64e357071005ec49e88d2354cc4e8a.
2024-03-14kbd-util: allow to override the default keymap directoriesYu Watanabe4-19/+55
This introduces $SYSTEMD_KEYMAP_DIRECTORIES environment variable to override the hardcoded keymap directories. I think it is not necessary to provide the first class configuration option for controlling the keymap directories, but it is not good to hardcode the paths. So, let's introduce an environment variable to override that. Prompted by #31759. Closes #31759.
2024-03-14locale: use O_PATH directory fd and faccessat() in find_converted_keymap()Yu Watanabe1-9/+16
Previously, it is assumed that the paths in KBD_KEYMAP_DIRS are ended with a slash. But, in the next commit, paths will become controllable by users, and each path may not be ended with a slash. This should not change any effective behaviors. Just refactoring and preparation.
2024-03-14update TODOLennart Poettering1-9/+9
2024-03-14network: introduce link_requeue_request()Yu Watanabe3-10/+20
2024-03-14network: use link_start_dhcp4_server() at one more placeYu Watanabe3-6/+5
Otherwise, even if the persistent storage is not ready, the DHCP server may be started e.g. by unplugging and plugging cable. Follow-up for 5582b36c384fc522c23ef1ac032001882d033aff.
2024-03-14man: fix efi var vendor uuid for systemd-bless-boot.serviceAdrian Wannenmacher1-1/+1
The specified vendor UUID is not actually a UUID. This changes it to an actual UUID. The new value matches the ones from the systemd-boot man page and [The Boot Loader Interface](https://systemd.io/BOOT_LOADER_INTERFACE/).
2024-03-14docs: add a new document describing the VM interface of systemdLennart Poettering2-13/+59
This mirrors the existing CONTAINER_INTERFACE.md document, but describes extension points of systemd running in a VM with a machine manager supervising it.
2024-03-14docs: update various linksLennart Poettering2-14/+14