Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-07-25 | basic/log: do not treat all negative errnos as synthetic | Mike Yuan | 2 | -8/+11 | |
Currently, IS_SYNTHETIC_ERRNO() evaluates to true for all negative errnos, because of the two's-complement negative value representation. Subsequently, ERRNO= is not logged for most of our own code. Let's fix this, by formatting all synthetic errnos as positive. Then, treat all negative values as non-synthetic. While at it, mark the evaluation order explicitly, and remove unneeded comment. Fixes #33800 | |||||
2024-07-24 | analyze: capability: add support for decoding capability masks | Ivan Shapovalov | 5 | -13/+109 | |
This adds support in `systemd-analyze capability` for decoding capability masks (sets), e.g.: ```console $ systemd-analyze capability --mask 0000000000003c00 NAME NUMBER cap_net_bind_service 10 cap_net_broadcast 11 cap_net_admin 12 cap_net_raw 13 ``` This is intended as a convenience tool for pretty-printing capability values as found in e.g. `/proc/$PID/status`. | |||||
2024-07-24 | mkosi: update debian commit reference | Luca Boccassi | 1 | -1/+1 | |
* c7138e0b87 Configure default DNS servers for upstream CI builds * bc5d1afe1e Drop out-of-tree localed patch and use D-Bus policy instead * b5f8ababde autopkgtest: set Release= in mkosi.local.conf to distinguish testing vs unstable * 323afafd80 autopkgtest: add allow-stderr to timedated test * 0291f361e3 Install valrinkctl zsh completion file * f40b9eba02 d/t/control: add Depends: lib{systemd,udev}-dev for upstream * 3def595de3 d/t/upstream: ensure correct ubuntu codename is used * 531bb6817e d/t/boot-and-services: fix a couple python sytax warnings * 963ac13b7d d/t/boot-and-services: skip test_tmp_cleanup if tmp.mount is overridden | |||||
2024-07-24 | hwdb: add axis range corrections for the Lenovo Thinkpad E16 | MkKvcs | 1 | -0/+7 | |
2024-07-24 | add udev rules for trezor hw wallet devices | vdovhanych | 4 | -0/+30 | |
2024-07-24 | resolved: report svc params as a json object | Ronan Pigott | 2 | -16/+13 | |
This representation is significantly more useful. The previous array format omitted the svc param key, which is not very useful. | |||||
2024-07-23 | core-varlink: switch to PidRef + manager_get_unit_by_pidref() | Mike Yuan | 1 | -4/+6 | |
2024-07-23 | core-varlink: do not log about ENOENT if oomd isn't available | Mike Yuan | 1 | -6/+7 | |
This is simply too noisy, since every invocation of manager_varlink_send_managed_oom_update() would try to connect to oomd if not already. | |||||
2024-07-23 | core-varlink: add missing runtime_scope check for manager_varlink_init_user() | Mike Yuan | 1 | -0/+3 | |
2024-07-23 | core: reliably check if varlink socket has been deserialized | Mike Yuan | 3 | -23/+31 | |
Follow-up for 6906c028e83b77b35eaaf87b27d0fe5c6e1984b7 The mentioned commit uses access() to check if varlink socket already exists in the filesystem, but that isn't sufficient. > Varlink sockets are not serialized until v252, so upgrading from > v251 or older means we will not listen anymore on the varlink sockets. > > See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074789 > for more details as this was found when updating from Debian Bullseye to a new version. After this commit, the set up of varlink_server is effectively split into two steps. manager_varlink_init_system(), which is called after deserialization, would no longer skip listening even if Manager.varlink_server is in place, but actually check if we're listening on desired sockets. Then, manager_deserialize() can be switched back to using manager_setup_varlink_server(). Alternative to #33817 Co-authored-by: Luca Boccassi <bluca@debian.org> | |||||
2024-07-23 | mount-util: reorder params for mount_in_userspace, clean up logging | Mike Yuan | 2 | -33/+66 | |
2024-07-23 | mount-util: do not unnecessarily acquire mountns fd twice | Mike Yuan | 1 | -7/+3 | |
This also enables us to use pidref_namespace_open(). | |||||
2024-07-23 | mount-util: clean up mount_exchange_graceful a bit, don't duplicate ↵ | Mike Yuan | 1 | -16/+8 | |
move_mount when fallback | |||||
2024-07-23 | machine-dbus: use pidref_namespace_open() where appropriate | Mike Yuan | 1 | -18/+18 | |
2024-07-23 | namespace-util: introduce pidref_namespace_open() | Mike Yuan | 2 | -8/+38 | |
2024-07-23 | namespace-util: explicitly specify namespace_info[]'s size | Mike Yuan | 1 | -1/+1 | |
We do this already in all string lookup tables. This way it's guaranteed that iterators which ends with _NAMESPACE_TYPE_MAX wouldn't overrun the array. | |||||
2024-07-23 | path-util: simplify final path for find_executable() | Mike Yuan | 1 | -0/+2 | |
Currently, systemd-run ./test.sh would set Description= to $PWD/./test.sh. This is quite ugly. | |||||
2024-07-23 | path-util: trivial cleanup for find_executable_full() | Mike Yuan | 2 | -28/+33 | |
2024-07-23 | core: clean up Set/LoadCredential= parsers | Mike Yuan | 6 | -158/+145 | |
Make logging consistent, plus introduce helper function for adding creds to ExecContext.set_credential too. | |||||
2024-07-23 | mkosi: Bump device timeout even more | Daan De Meyer | 1 | -1/+1 | |
I still manage to hit it in some cases so let's bump again. | |||||
2024-07-23 | resolved: tests for dns_synthesize_family() and dns_synthesize_protocol() | James Coglan | 1 | -0/+20 | |
2024-07-23 | resolved: tests for dns_synthesize_answer() | James Coglan | 2 | -0/+296 | |
2024-07-23 | sd-dhcp-server: persist hardware addresses in leases | Mary Strodl | 1 | -1/+27 | |
2024-07-23 | resolved: tests for dns_query_string() | James Coglan | 1 | -0/+71 | |
2024-07-23 | resolved: tests for dns_query_go(); multiple search domains for ↵ | James Coglan | 1 | -14/+16 | |
dns_query_candidate_notify() | |||||
2024-07-23 | resolved: refactor environment management in dns_query_go() tests | James Coglan | 1 | -47/+79 | |
2024-07-23 | resolved: tests for dns_query_go() when configured with search domains | James Coglan | 1 | -2/+21 | |
2024-07-23 | resolved: tests for dns_query_go() when no scopes are available | James Coglan | 1 | -10/+28 | |
2024-07-23 | resolved: tests for dns_query_go() using a bypass query | James Coglan | 1 | -8/+30 | |
2024-07-23 | resolved: tests for dns_query_go() -- with and without network link | James Coglan | 1 | -0/+102 | |
2024-07-23 | resolved: tests for dns_query_process_cname_one(); no match, DNAME, utf-8 ↵ | James Coglan | 1 | -0/+183 | |
handling | |||||
2024-07-23 | resolved: tests for dns_query_process_cname_many() | James Coglan | 1 | -6/+97 | |
2024-07-23 | resolved: tests for common usage of dns_query_process_cname_one() | James Coglan | 1 | -0/+139 | |
2024-07-23 | resolved: tests for dns_query_make_auxiliary() | James Coglan | 1 | -0/+35 | |
2024-07-23 | resolved: tests for dns_query_new() | James Coglan | 2 | -0/+180 | |
2024-07-23 | resolved: tests for dns_cache_lookup() clamping the TTL | James Coglan | 1 | -0/+37 | |
2024-07-23 | resolved: tests for dns_cache_put() for NXDOMAIN with no SOA | James Coglan | 1 | -0/+12 | |
2024-07-23 | resolved: test that pseudo classes and types are not cached | James Coglan | 1 | -0/+88 | |
2024-07-23 | resolves: tests for dns_cache_prune() | James Coglan | 1 | -0/+38 | |
2024-07-23 | resolved: tests for dns_cache_check_conflicts() | James Coglan | 1 | -0/+55 | |
2024-07-23 | resolved: tests for dns_cache_export_shared_to_packet() | James Coglan | 1 | -0/+136 | |
2024-07-23 | resolved: tests for dns_cache_lookup(); mDNS and multiple matching entries | James Coglan | 1 | -0/+204 | |
2024-07-23 | resolved: tests for dns_cache_lookup() returning the most recent input | James Coglan | 1 | -0/+95 | |
2024-07-23 | resolved: tests for dns_cache_dump() | James Coglan | 1 | -0/+90 | |
2024-07-23 | resolved: test cache misses | James Coglan | 1 | -0/+53 | |
2024-07-23 | resolved: tests for dns_cache_lookup() for NXDOMAIN | James Coglan | 1 | -3/+51 | |
2024-07-23 | resolved: first test for dns_cache_lookup() | James Coglan | 1 | -0/+41 | |
2024-07-23 | resolved: tests for dns_cache_dump_to_json() | James Coglan | 1 | -0/+60 | |
2024-07-23 | resolved: check that adding an expired response removes cache entry | James Coglan | 1 | -0/+21 | |
2024-07-23 | resolved: tests for dns_cache_put(); CNAME success and name error | James Coglan | 1 | -0/+45 | |