Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v252 batch #333

Merged
merged 10 commits into from
Sep 28, 2023
Merged

v252 batch #333

merged 10 commits into from
Sep 28, 2023

Conversation

bluca
Copy link
Member

@bluca bluca commented Sep 28, 2023

No description provided.

yuwata and others added 10 commits September 28, 2023 14:42
Fixes #27369.

(cherry picked from commit 4b12a8d)
(cherry picked from commit 149ba4f)
(cherry picked from commit a5b4533)
We can't do anything about them anyway, and most importantly this seems
to alleviate systemd/systemd-centos-ci#660, which should make the CIs
a bit less angry (at least until the issue is addressed properly).

(cherry picked from commit 3a89904)
(cherry picked from commit af7d007)
(cherry picked from commit 4dfce10)
On slower/overloaded systems it may take a bit for the swtpm socket
to show up:

I: Started swtpm as PID 189419 with state dir /tmp/tmp.pWqUutuGUj
I: Configured emulated TPM2 device tpm-spapr
+ tee /var/tmp/systemd-test-TEST-70-TPM2_1/console.log
+ timeout --foreground 1200 /bin/qemu-system-ppc64le -smp 4 ...
qemu-system-ppc64le: -chardev socket,id=chrtpm,path=/tmp/tmp.pWqUutuGUj/sock: Failed to connect to '/tmp/tmp.pWqUutuGUj/sock': No such file or directory
E: qemu failed with exit code 1

Spotted regularly in the ppc64le cron job and in some Ubuntu CI/CentOS CI
pr runs [0].

[0] systemd/systemd#29183 (comment)

(cherry picked from commit 18c3ffb)
(cherry picked from commit 2171f68)
(cherry picked from commit bf449d7)
It is defined later in the same file

(cherry picked from commit d511acd)
(cherry picked from commit b283661)
(cherry picked from commit d60ae0b)
This fixes sd_bus_error_add_map and man/sd_uid_get_state

(cherry picked from commit 0ee4239)
(cherry picked from commit 0144678)
(cherry picked from commit 81bb906)
(cherry picked from commit 60e4b42)
(cherry picked from commit c58c69a)
(cherry picked from commit e13981d)
We might need a lot of fds on large systems, hence raise RLIMIT_NOFILE
to what the service manager allows us, which is quite a lot these days.

udev already sets FORK_RLIMIT_NOFILE_SAFE when forking of chilren, thus
ensuring that forked off processes get their RLIMIT_NOFILE soft limit
reset to 1K for compat with crappy old select().

Replaces: #29298
Fixes: #28583
(cherry picked from commit 1617424)
(cherry picked from commit c98a24b)
(cherry picked from commit b60cf1f)
...
uint8_t c;
struct trie_node *child;

for (p = 0; (c = trie->strings->buf[node->prefix_off + p]); p++) {
        _cleanup_free_ struct trie_node *new_child = NULL;
        _cleanup_free_ char *s = NULL;
        ssize_t off;
if (c == search[i + p])
        continue;
...
When '®' is present in search, c is 194, search[i + p] is -62, c is not equal
to search[i + p], but c should be equal to search[i + p].

(cherry picked from commit b53a809)
(cherry picked from commit 3cc2aa3)
(cherry picked from commit a678987)
Once we've flushed the runtime journal to /var, stop trying to open
it since that will just fail with ENOENT all the time.

(cherry picked from commit 418a498)
(cherry picked from commit 0146940)
(cherry picked from commit ce0e97e)
(cherry picked from commit ef6c2da)
(cherry picked from commit f9593ab)
@bluca bluca merged commit b0e57db into systemd:v252-stable Sep 28, 2023
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

8 participants