Frantisek Sumsal
d5a6ff8c18
test: cover --bind-user=
2023-05-18 16:50:24 +02:00
Frantisek Sumsal
74696ba5ef
test: add a couple of sanity tests for --port=
2023-05-18 16:50:24 +02:00
Frantisek Sumsal
cf260f799f
test: drop "check" from test case names
2023-05-18 16:50:24 +02:00
Frantisek Sumsal
f0193b4b63
test: exercise a couple of error paths in nspawn's OCI code as well
2023-05-18 16:50:24 +02:00
Frantisek Sumsal
7244c6db42
nspawn: clean up & unify cleanup handlers
...
Also, make them follow our naming conventions.
2023-05-18 16:50:24 +02:00
Frantisek Sumsal
797424245e
nspawn: use ASSERT_PTR() more
2023-05-18 11:08:56 +02:00
Mateusz Poliwczak
cb4e5d5155
nss-resolve: report EAI_NODATA
2023-05-18 17:57:06 +09:00
Matt Johnston
bf422cf900
busctl: Add space before "tree" paths for copying
...
This allows a double-click on the path in a terminal to select the
whole path. Otherwise the leading '-' character is also included in
the copied path.
```
New output:
./busctl tree org.freedesktop.network1
`- /org
`- /org/freedesktop
|- /org/freedesktop/LogControl1
`- /org/freedesktop/network1
|- /org/freedesktop/network1/link
| |- /org/freedesktop/network1/link/_31
| |- /org/freedesktop/network1/link/_32
```
2023-05-18 17:55:03 +09:00
Yu Watanabe
837dfea5ed
Merge pull request #27673 from YHNdnzj/restartsteps-transient
...
core,bus-unit-util: add missing RestartSteps and RestartMaxDelaySec to bus_append_service_property
2023-05-18 17:54:33 +09:00
Yu Watanabe
7aeafa93df
README: drop busybox requirement
...
Follow-up for 5656759d06
.
2023-05-18 10:51:49 +02:00
Yu Watanabe
f0485be000
Merge pull request #27677 from mrc0mmand/test-followups
...
test: get rid of the busybox stuff
2023-05-18 17:47:02 +09:00
Mike Yuan
2200cf47ce
Revert (partially) "man: Clarify when OnFailure= activates after restarts ( #7646 )"
...
This reverts part of commit bd2538b50b
,
specifically changes to the description of service state between auto-restarts.
Fixes #27594
2023-05-18 15:10:26 +09:00
Frantisek Sumsal
a6dac790c8
test: explicitly use bash
...
To avoid unexpected surprised in CIs with different default shell.
2023-05-17 23:22:54 +02:00
Frantisek Sumsal
5656759d06
test: get rid of the busybox stuff
...
It already required a lot of workarounds, since the busybox utilities
often work differently than their "full" counterparts, and putting
the container together using our "tools" is quite simple anyway.
2023-05-17 23:22:54 +02:00
Mike Yuan
a559ea1535
bus-unit-util: add missing RestartSteps and RestartMaxDelaySec to bus_append_service_property
...
Follow-up for be1adc27fc
2023-05-18 00:23:49 +08:00
Mike Yuan
e9f17fa8dd
core: rename RestartSecMax to RestartMaxDelaySec
2023-05-18 00:23:49 +08:00
Frantisek Sumsal
c01f0184b9
test: mangle the machine ID only for the QEMU test part
...
systemd-nspawn doesn't like invalid machine IDs and refuses to boot with one:
TEST-74-AUX-UTILS RUN: Tests for auxiliary utilities
...
Spawning container TEST-74-AUX-UTILS--3 on /var/tmp/systemd-test-TEST-74-AUX-UTILS_3/root.
Press Ctrl-] three times within 1s to kill container.
Failed to read machine ID from container image: Structure needs cleaning
E: nspawn failed with exit code 1
Follow-up to b4d42a82eb
.
2023-05-17 15:10:22 +01:00
Zbigniew Jędrzejewski-Szmek
ffcdd3194d
Merge pull request #27669 from keszybz/man-fixes-254
...
Some simple man page fixes to reduce the list of issues tagged for v254
2023-05-17 14:12:33 +02:00
Zbigniew Jędrzejewski-Szmek
a190e0c301
Merge pull request #27671 from keszybz/manpage-fixes-254-2
...
man: fixes for assorted issues reported by the manpage-l10n project
2023-05-17 14:12:08 +02:00
Zbigniew Jędrzejewski-Szmek
8fb350049b
man: fixes for assorted issues reported by the manpage-l10n project
...
Fixes #26761 .
2023-05-17 12:25:01 +02:00
Zbigniew Jędrzejewski-Szmek
f90360eb74
man/tmpfiles: fix off-by-one in example
...
Reported and diagnosed by gitterman. Fixes #26617 .
2023-05-17 11:18:37 +02:00
Zbigniew Jędrzejewski-Szmek
2f76f1cfae
man: explain allowed values for /sys/power/{disk,state}
...
Also fix the grammar: "neither" can only be used with two values, and
here we have an inderminate number >= 1.
Fixes #26460 .
2023-05-17 11:18:26 +02:00
Zbigniew Jędrzejewski-Szmek
42eccfec6e
man: say that ProtectClock= also affects reads
...
Fixes #26413 : the docs said that the filter prevents writes, but it just a
filter at the system call level, and some of those calls are used for writing
and reading. This is confusing esp. when a higher level library call like
ntp_gettime() is denied.
I don't think it's realistic that we'll make the filter smarter in the near
future, so let's change the docs to describe the implementation.
Also, split out the advice part into a separate paragraph.
2023-05-17 11:17:39 +02:00
Yu Watanabe
89572df859
Merge pull request #27664 from mrc0mmand/test-merge
...
test: let's merge more tests together
2023-05-17 09:53:58 +09:00
Frantisek Sumsal
7c6fa5bf16
test: move runas() to the shared utility library
2023-05-16 23:07:45 +02:00
Frantisek Sumsal
e71bac7222
test: make shellcheck happy again
...
No functional changes.
2023-05-16 23:07:45 +02:00
Frantisek Sumsal
16eb568766
test: merge TEST-48-START-STOP-NO-RELOAD into TEST-23-UNIT-FILE
2023-05-16 23:07:45 +02:00
Frantisek Sumsal
518c3e2722
test: merge TEST-49-RUNTIME-BIND-PATHS into TEST-23-UNIT-FILE
2023-05-16 23:07:45 +02:00
Frantisek Sumsal
ab1b2f22fd
test: clean up test artifacts
...
So we don't run into unexpected fails when two tests use the same paths.
2023-05-16 23:07:45 +02:00
Frantisek Sumsal
23cb7362f1
test: merge TEST-28-PERCENTJ-WANTEDBY into TEST-23-UNIT-FILE
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
fb03fea2a2
test: merge TEST-56-EXIT-TYPE into TEST-19-CGROUP
...
And clean it up a bit.
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
3999ea001a
test: rename TEST-19-DELEGATE to TEST-19-CGROUP
...
And clean it up a bit.
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
5ff1c6fcde
test: introduce get_cgroup_hierarchy()
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
cb153b4fe9
test: rename assert.sh to util.sh
...
So we can extend it with additional utility functions without making it
confusing.
No functional change.
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
1fd24da616
test: merge TEST-33-CLEAN-UNIT into TEST-23-UNIT-FILE
2023-05-16 22:43:52 +02:00
Frantisek Sumsal
9245eb3cbd
test: merge TEST-27-STDOUTFILE into TEST-23-UNIT-FILE
2023-05-16 21:49:09 +02:00
Frantisek Sumsal
b4d42a82eb
test: merge TEST-14-MACHINE-ID into TEST-74-AUX-UTILS
2023-05-16 21:49:09 +02:00
Antonio Alvarez Feijoo
79567763a2
man/systemd-sysext: correct explanation of confexts directories
2023-05-16 18:43:21 +01:00
Lennart Poettering
84b4c78570
switch-root: add a comment regarding the safety limits of rm_rf_children()
2023-05-17 01:42:01 +09:00
Yu Watanabe
871a41f0ef
Merge pull request #27606 from YHNdnzj/loginctl-list-show-state
...
loginctl: list-{users,sessions}: add a column for showing state
2023-05-17 01:41:13 +09:00
Yu Watanabe
8c7dd49ad1
Merge pull request #27655 from yuwata/udev-net-assign-alternative-names-only-on-add-event
...
udev/net: assign alternative names only on add event
2023-05-17 01:39:40 +09:00
Frantisek Sumsal
a5a4d5a18e
Merge pull request #27651 from mrc0mmand/more-nspawn-tests
...
nspawn: OCI related fixes & tests
2023-05-16 17:26:25 +02:00
Mike Yuan
329f4b06f5
Merge pull request #27659 from yuwata/memfd-seal
...
memfd-util: handle F_SEAL_EXEC flag
2023-05-16 22:00:57 +08:00
Mike Yuan
0313c41068
Merge pull request #27638 from YHNdnzj/upheldby-unit-file
...
unit-file: support UpheldBy= in [Install] settings (adding Upholds= deps from .upholds/)
2023-05-16 21:53:24 +08:00
Lennart Poettering
3907b25638
Merge pull request #27573 from poettering/sd-bus-description
...
sd-bus: pass bus description (and comm name) to per via socket address binding on AF_UNIX
2023-05-16 06:46:29 -07:00
Lennart Poettering
93d4a200fb
Merge pull request #27648 from poettering/common-dissect-dir
...
pid1: add common root dir inode to mount disk images to in private namespaces
2023-05-16 05:26:48 -07:00
Lennart Poettering
b10c4acfa3
Merge pull request #27647 from poettering/mount-setup-tweaklets
...
mount-setup: minor tweaks
2023-05-16 05:26:09 -07:00
Lennart Poettering
8a1b590591
Merge pull request #27658 from poettering/base-fs-run
...
base-filesystem: also set up /run/ mount point if missing
2023-05-16 05:25:43 -07:00
Lennart Poettering
7e0aaeb244
man: indicate that the JOB parameter to "systemctl cancel" is optional
...
As per:
https://social.treehouse.systems/@grawity/110376583742207755
2023-05-16 20:18:38 +08:00
Mike Yuan
306ff2e297
test: add test for state in loginctl list-{users,sessions}
2023-05-16 18:09:15 +08:00