summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* repart: Fix misleading typo in GPT partition flagThorsten Scherer2024-08-141-1/+1
| | | | Bit 60 is the one corresponding to ReadOnly, not 50. Fix this.
* Merge pull request #32067 from ssahani/bareudp1Yu Watanabe2024-08-146-0/+21
|\ | | | | network: netdev - BareUDP Add support for srcportmin
| * test-network: Add test for BareUDP srcportminSusant Sahani2024-08-142-0/+2
| |
| * network: netdev - BareUDP Add support for srcportminSusant Sahani2024-08-144-0/+19
| | | | | | | | Allows to configure the lowest value of the UDP tunnel source port range.
* | Merge pull request #33991 from DaanDeMeyer/manager-json-splitLuca Boccassi2024-08-1425-222/+243
|\ \ | |/ |/| Various refactorings and fixes
| * core-varlink: Introduce manager_varlink_managed_oom_connect()Daan De Meyer2024-08-141-128/+136
| | | | | | | | | | | | | | In the next commit, we'll introduce a varlink server for the user manager. As preparation for that, let's introduce a new function to initialize only the managed OOM connection whenever we send a managed OOM update.
| * core-varlink: merge two FLAGS_SET() where appropriateMike Yuan2024-08-141-1/+1
| |
| * sd-json: Use goto finish instead of returnDaan De Meyer2024-08-141-1/+1
| | | | | | | | | | sd_json_buildv() uses a "finish" goto label for cleanup so make sure we goto that label on failure instead of returning directly.
| * taint: Add taint_strv() to get taints as an arrayDaan De Meyer2024-08-142-2/+13
| |
| * core: Clean up includes a littleDaan De Meyer2024-08-142-5/+3
| |
| * core: Introduce unit_is_filtered()Daan De Meyer2024-08-143-8/+19
| |
| * core: Use RateLimit struct to store ratelimitsDaan De Meyer2024-08-1413-58/+48
| | | | | | | | | | This makes it easier to serialize these ratelimits with JSON_BUILD_CALLBACK().
| * basic: Various cleanups for ratelimit functionsDaan De Meyer2024-08-142-17/+17
| |
| * test: Use usual setup in integration-test-setup scriptDaan De Meyer2024-08-141-2/+3
| |
| * test: Fix section of StateDirectory=Daan De Meyer2024-08-141-1/+1
| |
| * mkosi: Install llvmDaan De Meyer2024-08-141-0/+1
| | | | | | | | | | For llvm-symbolizer which is required to sanitize address sanitizer reports.
| * mkosi: Disable pagination in gdbDaan De Meyer2024-08-141-0/+1
| |
* | Merge pull request #33990 from yuwata/run-json-follow-upsMike Yuan2024-08-144-3/+15
|\ \ | |/ |/| run: several follow-ups for recent change
| * run: use sd_json_variant_set_field_id128()Yu Watanabe2024-08-141-1/+1
| |
| * sd-json: add sd_json_variant_set_field_id128() and _uuid()Yu Watanabe2024-08-143-0/+12
| |
| * run: drop unnecessary initializationsYu Watanabe2024-08-141-2/+2
| | | | | | | | Follow-up for fe5a6c47af675bc0020c545d86fb103492e1d77c.
* | Merge pull request #33957 from yuwata/network-generator-vlanLuca Boccassi2024-08-144-392/+494
|\ \ | |/ |/| network-generator: fixlets for vlan interfaces
| * network-generator: drop wrong warning for rd.peerdns without valueYu Watanabe2024-08-141-4/+1
| |
| * network-generator: ignore kernel command line without valueYu Watanabe2024-08-141-8/+8
| | | | | | | | And drop duplicated log messages.
| * network-generator: use extract_first_word()Yu Watanabe2024-08-142-251/+214
| | | | | | | | Now, ip= with trailing colon is refused.
| * network-generator: use network_acquire() at more placesYu Watanabe2024-08-091-17/+31
| |
| * network-generator: introduce network_acquire() and netdev_acquire()Yu Watanabe2024-08-091-60/+64
| | | | | | | | No functional change, just refactoring.
| * network-generator: trivial cleanupsYu Watanabe2024-08-091-12/+30
| |
| * network-generator: parse vlan ID from vlan interface nameYu Watanabe2024-08-093-0/+65
| | | | | | | | Fixes #33954.
| * network-generator: allow to create bridge or friends without slave interfacesYu Watanabe2024-08-092-8/+34
| |
| * network-generator: vlan= can be specified multiple timesYu Watanabe2024-08-093-6/+7
| |
| * test: add one more test case without hostnameYu Watanabe2024-08-091-0/+15
| |
| * test: modernize test-network-generatorYu Watanabe2024-08-091-27/+26
| |
* | nspawn: Fix help typoDr. David Alan Gilbert2024-08-141-1/+1
| | | | | | | | 'an an' -> 'an'
* | man/systemd-sysusers, man/systemd-tmpfiles: fix sentence fragmentsJames Muir2024-08-132-18/+18
| | | | | | | | add "are executed" so that those two sentences have a verb.
* | nspawn: Assume unified cgroup hierarchy if there's no systemd in the imageDaan De Meyer2024-08-134-13/+32
| | | | | | | | | | If there's no systemd installation in the image, assume the unified cgroup hierarchy.
* | docs: Mention the new mount API in the container interface docDaan De Meyer2024-08-131-1/+3
| | | | | | | | | | Let's mention that the new mount API may be used to establish new mounts in a container without needing the /run/host/incoming directory.
* | Merge pull request #33979 from YHNdnzj/edit-util-no-duplicate-stripLuca Boccassi2024-08-138-52/+152
|\ \ | | | | | | edit-util: a few cleanups; support networkctl edit --stdin
| * | networkctl: support edit --stdinMike Yuan2024-08-127-8/+45
| | |
| * | edit-util: several cleanups for --stdin handlingMike Yuan2024-08-121-29/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up for 329050c5e2c7e9561699f87b5edb72edd0d54c96 I don't particularly favor the duplicated strstrip() and such, so let's ensure if we get fixed data it's only trimmed once. Subsequently we can benefit more by making all copies reflinks.
| * | edit-util: do not try to recreate temp file if missingMike Yuan2024-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | We initially read from temp file, then strip it, and write back to it. If the file suddenly disappeared during the process, it indicates someone else is touching our temp file behind our back. Let's not silently continue.
| * | edit-util: clean up run_editor() a bitMike Yuan2024-08-121-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add missing assertions - Close all fds before spawning editor - Use FOREACH_STRING() + empty_to_null() where appropriate Note that this slightly changes the behavior, in that empty envvars would be treated as unset and we'd try the next candidate. But the new behavior is better IMO.
* | | systemd-run: add unit and invocation_id JSON outputLukas Nykryn2024-08-125-11/+57
|/ /
* | mkosi: update debian commit referenceLuca Boccassi2024-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 6e0f4f74ba Update changelog for 256.4-3 release * 4b142f9c37 Depend on new linux-bpf-dev package where available * f5fe5ecf4d autopkgtest: use hint-testsuite-triggers to ensure other packages changes trigger our testsuite * 407932845d autopkgtest: run upstream test last * 31458d03c2 Stop installing legaly pkla file in upstream CI too * 484643291a Use d/not-installed instead of manual removals * 752bb4c34c Stop shipping empty /etc/init.d directory * 174603ffc2 Use debian/clean instead of override in d/rules * 9a355e5a51 Drop redundant pot build * 3d249c88cb Update changelog for 256.4-2 release
* | core/exec-invoke: call setpriority() after sched_setattr()Ivan Shapovalov2024-08-101-8/+8
| | | | | | | | | | | | | | | | | | | | The nice value is part of struct sched_attr, and consequently invoking sched_setattr() after setpriority() would clobber the nice value with the default (as we are not setting it in struct sched_attr). It would be best to combine both calls, but for now simply invoke setpriority() after sched_setattr() to make sure Nice= remains effective when used together with CPUSchedulingPolicy=.
* | terminal-util: do not query kernel cmdline for pty sizeMike Yuan2024-08-101-1/+4
| | | | | | | | This is pointless and noisy even for debug level.
* | Merge pull request #33961 from bluca/busctl_exitLuca Boccassi2024-08-095-12/+53
|\ \ | | | | | | busctl: add support for --timeout and --num-matches for monitor verb
| * | busctl: add --num-matches= for monitor verbLuca Boccassi2024-08-095-2/+36
| | | | | | | | | | | | | | | Useful in scripts when one wants to wait for a specific signal before continuing
| * | busctl: add support for --timeout to monitor verbLuca Boccassi2024-08-084-11/+18
| | | | | | | | | | | | Useful in scripts when you want to exit successfully after a certain time
* | | core/unit: do not use unit path cache in unit_need_daemon_reload()Nick Rosbrook2024-08-094-4/+48
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When unit_need_daemon_reload() calls unit_find_dropin_paths() to check for new drop-in configs, the manager's unit path cache is used to limit which directories are considered. If a new drop-in directory is created, it may not be in the unit path cache, and hence unit_need_daemon_reload() may return false, despite a new drop-in being present. However, if a unit path cache is not given to unit_file_find_dropin_paths() at all, then it behaves as if the target path was found in the unit path cache. So, to fix this, adapt unit_find_dropin_paths() to take a boolean argument indicating whether or not to pass along the unit path cache. Set this to false in unit_need_daemon_reload(). Fixes #31752