Mike Yuan
3d1759299f
man/systemd-debug-generator: be consistent on '=' for boolean options
2024-03-05 02:19:58 +08:00
Lennart Poettering
023bf8999f
update TODO
2024-03-04 17:30:15 +01:00
Mike Yuan
82cf92e1f6
Merge pull request #31600 from YHNdnzj/fd-poll
...
core/service: several trivial cleanups for fdstore
2024-03-04 22:28:00 +08:00
Luca Boccassi
b12ec739a9
Merge pull request #31615 from poettering/hostname-method-missing
...
hostnamectl: deal gracefully when talking to old hostnamed
2024-03-04 14:09:40 +00:00
Lennart Poettering
d8b4a2463f
hostnamectl: gracefully handle old hostnamed replies to GetHardwareSerial()
...
Old versions of hostnamed used to propagate ENODEV/ENOENT as-is. Bad
idea. This was fixed in 171ddae1a1 , but
let's handle this gracefully in hostnamectl.
2024-03-04 13:05:39 +01:00
Lennart Poettering
67648678b0
hostnamectl: properly initialize the two timestamp fields before doing bus call
...
Otherwise if talking to an old hostnamed (which doesn't have these
fields) we'd assume the timestamp is valid even though it isn't and show
garbage.
2024-03-04 13:05:31 +01:00
Weblate
ca904495de
po: Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Co-authored-by: Weblate <noreply@weblate.org >
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/
Translation: systemd/main
2024-03-04 11:38:46 +00:00
Luca Boccassi
462db4bc0a
Merge pull request #31607 from mrc0mmand/update-translation-strings
...
po: update translation strings
2024-03-04 11:35:53 +00:00
Frantisek Sumsal
b99a26e136
docs: update translation-related instructions
...
Just making them consistent with the rest of the doc.
2024-03-04 10:12:20 +01:00
Frantisek Sumsal
ffc3240e99
po: update translation strings
...
Resolves : #31603
2024-03-04 10:12:11 +01:00
Frantisek Sumsal
7a63c5e550
test: explicitly set TERM=linux for TEST-69-SHUTDOWN
...
sulogin from the latest util-linux started falling back to vt102 instead
of linux, which makes screen sad (because we install only the linux
terminfo into the test image) and expect trips over the unexpected
warning. Let's just explicitly set TERM=linux before invoking screen to
avoid this.
+ make -C TEST-69-SHUTDOWN setup run
...
INFO:test-shutdown:log in and start screen
root
root
Last login: Sun Mar 3 13:19:31 from 18.191.105.60
-bash-5.2# screen
screen
Cannot find terminfo entry for 'vt102'.
-bash-5.2# ERROR:test-shutdown:Timeout exceeded.
2024-03-03 21:12:43 +01:00
Guilhem Lettron
85b774de49
kernel-install: Add kernel version to title ( #31581 )
...
When using uki, kernel installations always have the same name in
systemd-boot menu.
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io >
2024-03-03 12:36:57 +00:00
Mike Yuan
6e890fe86f
man/sd_notify: be explicit that FDPOLL= is not a global setting
...
"submitted" is already used in the description of FDNAME=.
Let's use that instead of "stored" for FDPOLL= too, to make
it more clear that it's a per-submission/per-fdset setting.
2024-03-03 19:01:01 +08:00
Mike Yuan
9b85bf02a0
core/service: use extract_many_words at one more place
2024-03-03 19:01:01 +08:00
Mike Yuan
4f49512695
extract-word: modernize extract_many_words
2024-03-03 19:01:00 +08:00
Mike Yuan
0578371f53
core/service: minor cleanup for service_add_fd_store
2024-03-03 18:53:05 +08:00
Luca Boccassi
81b49b3c73
Merge pull request #31594 from YHNdnzj/logind-seat-basename
...
logind: several coding style cleanups
2024-03-02 22:07:22 +00:00
Lennart Poettering
26d1c5b983
hostnamed: use sd_bus_reply_method_return() to shorten code a bit
2024-03-02 22:03:25 +00:00
Zbigniew Jędrzejewski-Szmek
f9fd41d023
docs/UEFI_SECURITY: minor tweaks to the text
...
Oxford comma, some mistakes in counts, and splitting of long sentences.
2024-03-02 22:02:20 +00:00
Lennart Poettering
7addc530ac
resolved: explicitly disconnect all left-over TCP connections when coming back from suspend
...
Fixes: #13730 (original reporter's log shows the TCP connection needed
to time out first)
2024-03-02 18:05:01 +00:00
Piotr Drąg
4c3cffff7a
po: add false positives to POTFILES.skip
...
Scripts used to detect files that should be in POTFILES.in, like
intltool-update -m used on https://l10n.gnome.org/module/systemd/ ,
falsely detect these files as containing translations. Avoid this
behavior by putting the files in POTFILES.skip.
2024-03-02 17:28:54 +01:00
Mike Yuan
c1f04b83c1
logind-{session,seat}: get rid of basename() in _new()
2024-03-03 00:00:28 +08:00
Mike Yuan
7f9c0c29d0
logind-device: remove unneeded 'struct'
2024-03-02 23:50:26 +08:00
Mike Yuan
2454cee32e
logind: place 'ret' param at last
2024-03-02 23:50:26 +08:00
Luca Boccassi
e440426221
Merge pull request #31587 from yuwata/udev-rps-follow-ups
...
udev: follow-ups for RPS setting
2024-03-02 11:47:44 +00:00
Yu Watanabe
1f901c2453
Merge pull request #31586 from YHNdnzj/progress-bar-minor-followup
...
shared/pretty-print: minor follow-up for progress bar
2024-03-02 15:31:29 +09:00
Yu Watanabe
aa384c6430
Merge pull request #31583 from yuwata/sd-lldp-json-follow-up
...
sd-lldp: fix assignment of capabilities in JSON output
2024-03-02 15:31:00 +09:00
Yu Watanabe
4b35dab86a
test-network: wait for the interface being processed by udevd
...
Otherwise, even if the interface is available, the requested config may
not be applied to the interface yet.
This also merges multiple tests for RPS setting. Hopefully the
performance of the test is improved.
2024-03-02 14:50:40 +09:00
Yu Watanabe
a39a2a8121
test-network: introduce udevadm() and friends
2024-03-02 14:50:40 +09:00
Yu Watanabe
7e66e053d4
udev/net: fix ReceivePacketSteeringCPUMask=disable assignment
...
Follow-up for 0f30bf5886 .
If 'mask' is newly allocated, previously the value was ignored.
2024-03-02 14:50:39 +09:00
Yu Watanabe
eca7a4886d
fuzz-lldp-rx: fuzz lldp_rx_build_neighbors_json()
...
Addresses https://github.com/systemd/systemd/pull/31583#discussion_r1509882453 .
2024-03-02 13:52:28 +09:00
Yu Watanabe
0f805b4661
test-network: check enabled capabilities in LLDP neighbors
...
Addresses https://github.com/systemd/systemd/pull/31583#discussion_r1509880349 .
2024-03-02 13:52:28 +09:00
Yu Watanabe
e2290a7775
sd-lldp: fix assignment of capabilities in JSON output
...
Follow-up for 329146a9ac .
2024-03-02 13:52:28 +09:00
Mike Yuan
c66da2d9ef
shared/pretty-print: use strrepa where appropriate
2024-03-02 11:50:34 +08:00
Mike Yuan
6283f873fb
shared/pretty-print: print color sequence only when needed
...
Follow-up for 71cb203a6e
2024-03-02 11:50:34 +08:00
Yu Watanabe
5bafe8d1e7
man: fix typo
...
Follow-up for 419b25ddca .
2024-03-02 11:57:39 +09:00
Lennart Poettering
e28b70a527
hashmap: reorder fields to pack structure better
...
When building with ENABLE_DEBUG_HASHMAP we can pack the hashmap iterator
structure a bit better.
Fixes : #31558
2024-03-02 11:47:34 +09:00
Lennart Poettering
0068131bf5
Merge pull request #31507 from poettering/import-modernize
...
importd: various modernizations
2024-03-01 23:42:32 +01:00
Lennart Poettering
28c47e927d
Merge pull request #31571 from poettering/hostnamed-show-more
...
hostnamectl: show product uuid/hardware serial in regular output, plus various fixes
2024-03-01 23:42:10 +01:00
Lennart Poettering
5db99d6651
Merge pull request #31274 from bluca/measure_engine
...
repart/measure/ukify: add support for OpenSSL engines/providers
2024-03-01 23:41:25 +01:00
Ronan Pigott
51d056858e
resolve: skip IP_UNICAST_IF for local sockets
...
SO_BINDTODEVICE was used during connect() to fix an issue where
IP_UNICAST_IF was improperly ignored for route lookups made by connect
in linux. This has since been resolved upstream [1][2], but as a result
we must apply the local socket excpetion to IP_UNICAST_IF as well.
The SO_BINDTODEVICE is no longer necessary, but left in place for 5.x
kernels.
[1] https://lore.kernel.org/all/20220829111554.GA1771@debian/
[2] https://lore.kernel.org/all/20221208145437.GA75680@debian/
2024-03-01 22:56:09 +01:00
Lennart Poettering
38ff8b07e3
Merge pull request #31567 from YHNdnzj/service-unused-param
...
core/service: remove unused function param and minor cleanup
2024-03-01 22:39:27 +01:00
Lennart Poettering
06cce5d40c
Merge pull request #31565 from YHNdnzj/safe_dlclose
...
dlfcn-util: use safe_dlclose for dlclosep
2024-03-01 22:39:11 +01:00
Lennart Poettering
75c7df05fb
hostnamectl: display product uuid + hardware serial in regular status output
...
hostnamed provides this, hence hostnamectl should show it
2024-03-01 22:37:38 +01:00
Lennart Poettering
171ddae1a1
hostnamed: add explicit BUS_ERROR_NO_HARDWARE_SERIAL error
...
For the very similar case of the product UUID we have its own error
BUS_ERROR_NO_PRODUCT_UUID if we have no UUID. Let's mirror this for the
hardware serial, and expose the same, to keep things nicely symmteric.
2024-03-01 22:37:38 +01:00
Lennart Poettering
64724e0579
hostnamed: do some validation of the hw serial before we return it
...
Let's make sure the serial contains not control chars, and is UTF-8
clean. In particular the latter matters as D-Bus shouldn't kick us
from the bus.
2024-03-01 22:37:38 +01:00
Lennart Poettering
cb0734d53f
hostnamed: in get_hardware_firmware_data() don't dup a string if we shan't return it
2024-03-01 22:37:38 +01:00
Lennart Poettering
f3525b78af
hostnamed: our base indentation is 8 spaces, not 9 spaces
...
No idea what was going on here...
2024-03-01 22:37:38 +01:00
Lennart Poettering
8157cc0e3e
bus-util: add generic parser for extracting id128 values from bus messages
2024-03-01 22:37:38 +01:00
Lennart Poettering
7e9cdafad3
update TODO
2024-03-01 22:29:08 +01:00