Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | ukify: Drop unused size() method | Daan De Meyer | 2024-09-30 | 1 | -3/+0 | |
| |/ / | ||||||
* | | | Merge pull request #34564 from YHNdnzj/systemctl-status-job-id | Mike Yuan | 2024-09-30 | 4 | -15/+20 | |
|\ \ \ | | | | | | | | | systemctl: also show job id in status output | |||||
| * | | | systemctl: also show job id in status output | Mike Yuan | 2024-09-26 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | Prompted by one ASG talk ;) | |||||
| * | | | shared/bus-map-properties: move bus_map_job_id() from wait-for-units | Mike Yuan | 2024-09-26 | 3 | -15/+14 | |
| |/ / | ||||||
* | | | Merge pull request #34508 from intelfx/work/fix-io-reporting | Mike Yuan | 2024-09-30 | 4 | -10/+18 | |
|\ \ \ | | | | | | | | | core/cgroup: cache IO accounting data when pruning a cgroup | |||||
| * | | | core/cgroup: cache IO accounting data when pruning a cgroup | Ivan Shapovalov | 2024-09-23 | 1 | -3/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When removing a cgroup in unit_prune_cgroup(), read IO metrics to cache them similar to the existing treatment of the CPU and memory usage data. Note that we do not do this for the IP metrics as the firewall objects are only destroyed in unit_free() and thus stay alive long enough to be read out directly by all interested parties. Fixes #26988. | |||||
| * | | | core/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()` | Ivan Shapovalov | 2024-09-21 | 4 | -7/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The name of the parameter is misleading and it does not save us much work because it is not used during regular unit property queries. It is only used during unit_log_resources(), and the cgroup is already dead by that point so it won't be read anyway. | |||||
* | | | | tpm2-util: show loaded libraries in 'systemd-analyze has-tpm2' | Yu Watanabe | 2024-09-30 | 2 | -21/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After 3b16e9f41983f697bc38c40bb8e7119c1bb4f7c8, even the libraries are documented in the man page, it is useful to mention which libraries are checked in the command output. Of course, the dependencies are kind of implementation detail, and may be changed in the future version, but that's especially why I think showing the library deps in the output is useful. systemd-analyze is a debugging tool, and already shows many internal states. I think there is nothing to prevent from showing the deps. Prompted by #34477. | |||||
* | | | | logind-dbus: really cancel scheduled shutdown | David Tardon | 2024-09-30 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | Fixes #34554 | |||||
* | | | | Merge pull request #34572 from keszybz/fix-printing-of-RootImageOptions | Zbigniew Jędrzejewski-Szmek | 2024-09-28 | 3 | -7/+35 | |
|\ \ \ \ | | | | | | | | | | | Fix printing of RootImageOptions | |||||
| * | | | | shared: adjust whitespace and formatting | Zbigniew Jędrzejewski-Szmek | 2024-09-27 | 3 | -7/+12 | |
| | | | | | ||||||
| * | | | | systemctl: fix printing of RootImageOptions | Zbigniew Jędrzejewski-Szmek | 2024-09-27 | 1 | -0/+23 | |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | The type is a(ss), so a custom printer is required. Fixes https://github.com/systemd/systemd/issues/33967. | |||||
* | | | | Merge pull request #34548 from SimonPilkington/fix-creds-cat | Mike Yuan | 2024-09-27 | 1 | -1/+5 | |
|\ \ \ \ | |_|_|/ |/| | | | creds: fix cat with encrypted credentials | |||||
| * | | | creds: fix cat with encrypted credentials | Simon Pilkington | 2024-09-25 | 1 | -1/+5 | |
| |/ / | | | | | | | | | | Fixes: https://github.com/systemd/systemd/issues/34547 | |||||
* / / | seccomp-util: include @sandbox in @default | Mickaël Salaün | 2024-09-27 | 2 | -1/+1 | |
|/ / | | | | | | | | | | | | | | | | | | | Every services and containers should be able to protect their users and limit the impact of security bugs thanks to the security syscalls provided by seccomp and Landlock. The goal of these syscalls is to improve security with additional restrictions. They are designed to be safely used by unprivileged (and then potentially malicious) users. Remove the now-redundant "seccomp" entry for nspawn. | |||||
* | | repart: Determine verity sig size based on partition designator | Daan De Meyer | 2024-09-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | Verity= is an image build concept, not a first boot concept, whereas a partition designator is always available, so let's do the size stuff based on that. | |||||
* | | repart: Use swap format for swap partition even if encrypted | Daan De Meyer | 2024-09-23 | 1 | -3/+3 | |
| | | ||||||
* | | repart: Add a log message when we're about to fsync(). | Daan De Meyer | 2024-09-23 | 1 | -0/+2 | |
| | | ||||||
* | | Preset user units on first boot as well | Daan De Meyer | 2024-09-21 | 1 | -6/+10 | |
| | | | | | | | | | | | | We need to make sure the presets from /usr/lib/systemd/user-preset are applied as well. Currently only the ones from /usr/lib/systemd/system-preset are applied. | |||||
* | | Merge pull request #34511 from YHNdnzj/strv-extend-strv-consume | Yu Watanabe | 2024-09-21 | 29 | -187/+236 | |
|\ \ | | | | | | | basic/strv: introduce strv_extend_strv_consume() | |||||
| * | | tree-wide: use strv_extend_strv_consume() where appropriate | Mike Yuan | 2024-09-21 | 20 | -111/+52 | |
| | | | ||||||
| * | | basic/strv: introduce strv_extend_strv_consume() | Mike Yuan | 2024-09-21 | 3 | -5/+104 | |
| | | | ||||||
| * | | basic/strv: make string_strv_hash_ops static, add missing assertions | Mike Yuan | 2024-09-20 | 2 | -3/+15 | |
| | | | ||||||
| * | | shared/bus-map-properties: modernize map_basic() and bus_map_strv_sort() | Mike Yuan | 2024-09-20 | 1 | -29/+23 | |
| | | | ||||||
| * | | basic/memory-util: make mempcpy_typesafe() take number of obj rather than ↵ | Mike Yuan | 2024-09-20 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | raw size Follow-up for eda6223942a172fa6777901cf5fbd47438f285ce | |||||
| * | | basic: replace size_multiply_overflow() with MUL_ASSIGN_SAFE where applicable | Mike Yuan | 2024-09-20 | 3 | -25/+23 | |
| | | | ||||||
| * | | basic/macro: move DECIMAL_STR_FMT to shared/tests | Mike Yuan | 2024-09-20 | 2 | -13/+13 | |
| | | | | | | | | | | | | This shall never be used outside of test functions. | |||||
* | | | Merge pull request #34502 from yuwata/strv_find_closest | Yu Watanabe | 2024-09-21 | 6 | -84/+109 | |
|\ \ \ | | | | | | | | | strv: introduce strv_find_closest() | |||||
| * | | | verbs: use strv_find_closest() | Yu Watanabe | 2024-09-20 | 2 | -74/+43 | |
| | | | | | | | | | | | | | | | | This also makes the list of verbs is always shown on failure. | |||||
| * | | | strv: introduce strv_find_closest() | Yu Watanabe | 2024-09-20 | 4 | -10/+66 | |
| | |/ | |/| | | | | | | | Follow-up for 1e1ac5d53b0f126b6c4419506c7c42b67c07537f. | |||||
* | | | machined-dbus: move manager_add_machine() and _get_machine_by_pid() to -core | Mike Yuan | 2024-09-21 | 2 | -51/+53 | |
| | | | ||||||
* | | | machined: rename machine_{units,leaders} to machines_by_* | Mike Yuan | 2024-09-21 | 4 | -25/+33 | |
| | | | | | | | | | | | | Also port machines_by_leader to store PidRef-s. | |||||
* | | | machined: fix bogus error check for machine_link() | Mike Yuan | 2024-09-21 | 3 | -8/+9 | |
| |/ |/| | ||||||
* | | Add an extra debug log to dissect_image() | Daan De Meyer | 2024-09-20 | 1 | -0/+3 | |
| | | ||||||
* | | machine: fix bus method argument name: who -> whom | Yu Watanabe | 2024-09-20 | 1 | -1/+1 | |
|/ | | | | Follow-up for cd2fb04960b8aa0b353d12005b8cfc3b9d2bcfee. | |||||
* | sd-ipv4acd: fix assertion triggered when an ARP received in STARTED state | Yu Watanabe | 2024-09-20 | 1 | -0/+1 | |
| | | | | | | | When a network is busy, an ARP may be received before the timer event source triggered first time. Fixes #34489. | |||||
* | Merge pull request #34499 from YHNdnzj/sd-path-trivial-cleanup | Yu Watanabe | 2024-09-20 | 2 | -109/+63 | |
|\ | | | | | sd-path: trivial cleanups | |||||
| * | sd-path: trivial cleanups for sd_path_lookup{,_strv}() | Mike Yuan | 2024-09-20 | 2 | -43/+33 | |
| | | ||||||
| * | sd-path: modernize from_user_dir() | Mike Yuan | 2024-09-20 | 1 | -66/+30 | |
| | | | | | | | | | | | | Deduplicate logic through sd_path_lookup() and from_home_dir(). Besides, rename to from_xdg_user_dir() to indicate it's a XDG thing. | |||||
* | | Merge pull request #34496 from YHNdnzj/tmpfiles-neg-errno | Yu Watanabe | 2024-09-20 | 1 | -23/+17 | |
|\ \ | | | | | | | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks | |||||
| * | | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks | Mike Yuan | 2024-09-20 | 1 | -12/+12 | |
| | | | ||||||
| * | | tmpfiles: use RET_GATHER more | Mike Yuan | 2024-09-20 | 1 | -11/+5 | |
| |/ | ||||||
* | | firstboot: add similar input suggestion | Michael Ferrari | 2024-09-20 | 3 | -5/+42 | |
| | | | | | | | | | | | | This uses the same logic as similar verb suggestion for command line utilities. Try to be helpful when the user entered something invalid instead of just showing the prompt again. | |||||
* | | basic/memory-util: introduce mempcpy_typesafe | Mike Yuan | 2024-09-20 | 7 | -14/+16 | |
| | | ||||||
* | | boot: use INC_SAFE where appropriate | Mike Yuan | 2024-09-20 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #34480 from yuwata/test-seccomp-suppress-sync | Yu Watanabe | 2024-09-20 | 2 | -7/+72 | |
|\ \ | | | | | | | seccomp-util: pass negative fds as is to fsync() and friends | |||||
| * | | test: add tests for seccomp_suppress_sync() | Yu Watanabe | 2024-09-19 | 1 | -0/+52 | |
| | | | ||||||
| * | | seccomp-util: pass negative fds as is to fsync() and friends | Yu Watanabe | 2024-09-19 | 1 | -7/+20 | |
| |/ | | | | | | | | | | | Closes #34478. Co-authored-by: Mike Yuan <me@yhndnzj.com> | |||||
* / | kernel-install: add uki.conf example | cvlc12 | 2024-09-20 | 2 | -0/+37 | |
|/ | ||||||
* | Merge pull request #34486 from DaanDeMeyer/test-process-util | Yu Watanabe | 2024-09-19 | 3 | -207/+284 | |
|\ | | | | | test-process-util: Migrate to new assertion macros |