Max Gautier
7360be92ad
Fixing bad link to Debian packages tests
2024-03-05 11:22:13 +01:00
Zbigniew Jędrzejewski-Szmek
27faf24a48
Merge pull request #31597 from keszybz/option-P-for-machinectl-and-timedatectl
...
Option -P for machinectl and timedatectl
2024-03-05 10:11:40 +04:00
Evgeny Vereshchagin
1500b656cd
fuzz: dump LLDP neighbors JSON too
...
to make sure all the fields are in more or less good shape.
It's a follow-up to https://github.com/systemd/systemd/pull/31583
2024-03-05 12:40:28 +09:00
Luca Boccassi
e0270bab43
Merge pull request #31582 from bluca/fix_hostnamed_ci
...
test: fix test-loopback and test-resolved-stream on Ubuntu 24.04
2024-03-04 20:37:52 +00:00
Mike Yuan
2560dcbfe6
stat-util: generalize is_* and verify_* handling
2024-03-04 19:53:51 +00:00
Lennart Poettering
2492c89af0
resolved,pcrlock: make a bunch of varlink introspection structures static
...
Not sure why gcc doesn't warn that these have no "extern" definition,
but also aren't static...
2024-03-04 19:50:54 +00:00
Lennart Poettering
af8a03ccf8
resolved: mention the Varlink interface of resolved
...
This is ready from prime-time, hence mention it.
2024-03-04 19:50:01 +00:00
Lennart Poettering
fbcfa943cd
resolvectl: output nice error message if we can't JSONify RR
...
Some RR types we don't have a mapping to JSON for. Handle this
reasonably.
2024-03-04 19:49:21 +00:00
Lennart Poettering
217f63c9b8
varlink: allow strings for integer varlink IDL fields
...
This is a follow-up for 67a3028555
: also
allow strings as integer during IDL validation of JSON records.
2024-03-04 19:47:26 +00:00
Frantisek Sumsal
a7839bff68
Merge pull request #31619 from weblate/weblate-systemd-main
...
Translations update from Fedora Weblate
2024-03-04 20:29:34 +01:00
Mike Yuan
3d1759299f
man/systemd-debug-generator: be consistent on '=' for boolean options
2024-03-05 02:19:58 +08:00
Oğuz Ersen
ebc226d69b
po: Translated using Weblate (Turkish)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2024-03-04 19:12:57 +01:00
Piotr Drąg
374248ebe7
po: Translated using Weblate (Polish)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/
Translation: systemd/main
2024-03-04 19:12:57 +01:00
김인수
2471670994
po: Translated using Weblate (Korean)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main
2024-03-04 19:12:57 +01:00
Lennart Poettering
023bf8999f
update TODO
2024-03-04 17:30:15 +01:00
Luca Boccassi
1e61de81f2
test: fix test-resolved-stream unit test failure
...
On Noble setting this ioctl fails:
1570s 819/1330 systemd:resolve / test-resolved-stream FAIL 0.14s killed by signal 6 SIGABRT
1570s Successfully forked off '(usernstest)' as PID 27737.
1570s Skipping PR_SET_MM, as we don't have privileges.
1570s (usernstest) succeeded.
1570s Assertion 'ioctl(socket_fd, SIOCSIFFLAGS, &req) >= 0' failed at src/resolve/test-resolved-stream.c:372, function try_isolate_network(). Aborting.
Ignore the result.
2024-03-04 16:28:10 +00:00
Luca Boccassi
ba3c8e685a
test: fix test-loopback failure when lacking privileges
...
Setting up the loopback might fail due to lack of privileges, as it
happens when running unit tests in the Noble CI environment. Skip
the test when it happens.
1584s 862/1330 systemd:test / test-loopback FAIL 0.01s exit status 1
1584s /* test_loopback_setup */
1584s Failed to configure loopback network device, ignoring: Operation not permitted
1584s loopback: Operation not permitted
2024-03-04 16:28:10 +00: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
Zbigniew Jędrzejewski-Szmek
c5c619502b
machinectl: add -P
2024-03-04 16:12:23 +04:00
Zbigniew Jędrzejewski-Szmek
31e70e88cd
timedatectl: add -P
2024-03-04 16:12:21 +04: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