Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
703 commits
Select commit Hold shift + click to select a range
e655a7a
man: drop misplaced ','
poettering Jul 14, 2022
7e7a6d6
man: explain why various resource limits don't make sense and should …
poettering Jul 14, 2022
3e1224d
coredump: Connect stdout/stderr to /dev/null before doing anything
daandemeyer Jul 14, 2022
d846430
cgroups-agent: connect stdin/stdout/stderr to /dev/null
poettering Jul 15, 2022
217b3e0
core: drop ambient capabilities in user manager
Jul 12, 2022
c93fb9a
man: fix typo in systemd.network documentation in IPv6RoutePrefix sec…
lastkrick Jul 15, 2022
c4c647f
man: fix formatting of "BARRIER=1"
keszybz Jul 13, 2022
32848f4
core: drop a stray %m specifier from a warning message
mrc0mmand Jul 15, 2022
919b10b
man: fix grammatical error in --cursor-file description
vcaputo Jul 16, 2022
1dbe819
systemctl: include upheld units in dependencies
dtardon Jul 16, 2022
44725ec
Update sleep.conf HibernateDelaySec default to match implementation
aeolyus Jul 18, 2022
aa97e01
manager: limit access to private dbus socket
keszybz Jul 22, 2022
0e7214c
unit-file: avoid (null) in debugging logs
yuwata Jul 23, 2022
998b08e
glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount…
heitbaum Jul 23, 2022
8ead3d8
udev: downgrade error level and mention that the error is ignored
yuwata Jul 13, 2022
81bc16a
localed: don't fail if we cannot copy an xattr
poettering Jul 25, 2022
ed66376
homed: fix dbus node enumerator
yuwata Jul 26, 2022
f0f5e74
home: drop conflicted headers
yuwata Jul 26, 2022
f26f995
Revert "core/mount: fail early if directory cannot be created"
yuwata Jul 26, 2022
40cdad3
core/mount: downgrade log level about several mkdir failures
yuwata Jul 26, 2022
74c33f6
portable: set PrivateTmp=yes in trusted profile too
bluca Jul 26, 2022
dc3faee
resolve: mdns: fix use-after-free
yuwata Jul 1, 2022
324bacf
resolve: drop unnecessary else, and add short comment
yuwata Jul 3, 2022
23d0a99
resolve: fix misuse of accuracy parameter in sd_event_add_time()
yuwata Jul 3, 2022
30d24c8
resolve: mdns_packet_extract_matching_rrs() may return 0
yuwata Jul 4, 2022
d935dd7
resolve: do not trigger assertions on invalid query
yuwata Jul 4, 2022
fb48f60
RFC 6762 section 7.1: a Multicast DNS querier SHOULD NOT include reco…
vchillara Jun 15, 2022
62ea150
virt: detect OpenStack Nova instance
Apr 19, 2022
427995b
virt: detect KubeVirt instance
ShirleyFei Jun 17, 2022
97c82a3
gcrypt: prefer the OS RNG
Jul 26, 2022
9359dd6
meson: fix broken boolean kwarg
eli-schwartz Jul 27, 2022
427d189
docs: Correct StandartOutput documentation
VannTen Jul 30, 2022
c57e95e
gcrypt: switch to system rng before gcry_check_version (#24162)
Aug 1, 2022
a2fc304
resolved: fix single-label resolution over DNS
jacekmigacz Jul 27, 2022
8e6ba03
repart: when keeping ref to backing inode/devnode, use fd_reopen() ra…
poettering Aug 2, 2022
618b8d5
systemctl: clarify that "status" is about the most recent invocation …
poettering Aug 2, 2022
12b0415
Fix 24172: __STDC_VERSION__ may be defined in C++
ctxnop Aug 3, 2022
4fa81b6
bpf: fix is_allow_list section
jameshilliard Aug 1, 2022
3367e1b
man: fix docbook
poettering Aug 3, 2022
215b6ce
man: Clarify that tools should prefer mount units over editing fstab
daandemeyer Aug 3, 2022
c454d5f
integritysetup: do not use crypt_init_data_device after crypt_init
bluca Aug 3, 2022
8625211
pull: fix PullFlags numbering
lnussel Jul 19, 2022
b921694
boot: Build with at least -O1 as workaround
medhefgo Aug 6, 2022
89a5b77
network: dhcp4: disable DHCPv4 client on interfaces with non-supporte…
yuwata Jul 13, 2022
d1166a9
shared/generator: Ensure growfs unit runs after repart
Aug 6, 2022
647c44c
udev-util: assume system is running on AC power when no battery found
yuwata Aug 5, 2022
887837a
dhcp: fix potential buffer overflow
yuwata Aug 6, 2022
6ab3184
sysusers: only check whether the requested GID is available
Aug 8, 2022
3733943
sysusers: properly process user entries with an explicit GID
Aug 8, 2022
658013a
meson: Test correct efi linker for supported args
medhefgo Aug 9, 2022
2aeff0f
oom: drop invalid %m in the log message
yuwata Aug 10, 2022
45e46fb
resolvctl: only remove protocol after last dot when mangling ifname f…
exploide Aug 10, 2022
02a5c22
sd-device-monitor: fix inversed condition
yuwata Aug 11, 2022
b48a17f
sd-device-monitor: actually refuse to send invalid devices
yuwata Aug 11, 2022
462b20c
cryptenroll: fix memory leak
poettering Aug 12, 2022
da1589d
firstboot: fix can't overwrite timezone
bin456789 Aug 13, 2022
c3fcff5
udev/cdrom_id: check last track info
yuwata Aug 13, 2022
7ca021b
sysusers: add fsync for passwd (#24324)
avylove Aug 16, 2022
ef7b17b
bash-completion: autocomplete cgroup names in systemd-cgtop
bluca Aug 16, 2022
503ebc8
booctl: do not say uuids differ if one of the uuids is unset
keszybz Jul 15, 2022
bff3edb
sysext: add missing COMMAND to the help output and man synopsis
aafeijoo-suse Aug 22, 2022
683980d
bash-completion: add systemd-sysext support
aafeijoo-suse Aug 22, 2022
5fe4b66
gpt: fix native uuids for s390x
yuwata Aug 20, 2022
eb53ee4
Allow uneven length BootXXXX variables
kreijack Aug 22, 2022
d59171e
core/mount: adjust deserialized state based on /proc/self/mountinfo
yuwata Jul 6, 2022
7cb0c3b
check-os-release.py compatible with Python < 3.8
djasa Aug 23, 2022
85ec334
virt: align tables
yuwata Jul 11, 2022
86e121d
virt: Support detection of Apple Virtualization.framework guests
zhaofengli Aug 22, 2022
3ce09d9
shared/udev-util: say "ignoring device", not "ignoring"
keszybz Aug 23, 2022
9e62e7f
on-ac-power: rework logic
keszybz Aug 23, 2022
1f5ccc9
on-ac-power: ignore devices with scope==Device
keszybz Aug 23, 2022
deb03fe
shell-completion: drop unused $mode
yuwata Aug 27, 2022
e22632a
udev-util: minor cleanups for on_ac_power()
yuwata Aug 27, 2022
ba29bb3
condition: fix device-tree firmware path
d4nuu8 Aug 28, 2022
40ceddd
log: don't attempt to duplicate closed fd
poettering Sep 2, 2022
559e851
man: fix static bridge example
Fumon Sep 3, 2022
7c2a025
homed: don't wait indefinitely for workers on exit
poettering Sep 5, 2022
7831972
units: prolong the stop timeout for homed
poettering Sep 5, 2022
6fd508a
busctl: Fix warning about invaild introspection data
AsamK May 22, 2020
bb2d46f
journalctl: respect --quiet flag during file concistency verification
d4nuu8 Sep 16, 2022
259a84d
mkdir: chase_symlinks_and_stat() does not return 0
yuwata Aug 25, 2022
0ae11d2
test: add more test cases for mkdir_p_safe() and mkdir_p_root()
yuwata Aug 25, 2022
40766f6
kbd-model-map: add a mapping for switched czech qwerty/us
AdamWill Sep 22, 2022
3f074e4
run: make --working-directory= work for --scope too
poettering Sep 22, 2022
d24b858
udev: support by-path devlink for multipath nvme block devices
yuwata Sep 20, 2022
5670a04
resolve: persist DNSOverTLS configuration in state file
msizanoen1 Sep 27, 2022
d44dbdb
kbd-model-map: correct variants for cz-qwerty to include comma
AdamWill Sep 29, 2022
165b8f8
resolve: do not cache mDNS goodbye packet
yuwata Sep 29, 2022
d4b9c04
man: document the Dump() calls of the PID 1 D-Bus interface, and what…
poettering Sep 27, 2022
787034e
manager: make clear internal Dump() logic is debugging only.
poettering Sep 27, 2022
eb06b4c
systemctl: color ignored exit status in yellow, not red
eworm-de Sep 30, 2022
a9b264e
bus: use inline trace argument for ANONYMOUS auth
dvdhrm Jun 29, 2022
b2082bb
stub: Use EfiLoaderCode for kernel memory
medhefgo Aug 8, 2022
260633c
mount-util: fix error code
yuwata Sep 4, 2022
99a6304
base-filesystem.c: add trailing zero byte for s390x entry
aburch Sep 12, 2022
01ea6ba
xdg-autostart-service: Use common boolean parser
davidedmundson Sep 13, 2022
87d6e6a
meson: add libatomic dependency
xypron Sep 12, 2022
5a18b43
fix typo in log
jcg190701 Sep 15, 2022
2009eca
nspawn: fix two error strings
poettering Sep 16, 2022
f3869ed
generator: skip fsck if fsck command is missing
genosse-einhorn Sep 29, 2022
6d6e6a6
resolve: unsupported DNSSEC algorithms are considered INSECURE; not B…
jacekmigacz Sep 21, 2022
b1881b4
repart: always honour `--discard=no`
Oct 4, 2022
f7d1325
man/shutdown: document how to switch to single-user mode
anarcat Oct 6, 2022
6475b89
udev: drop assertion which is always false
yuwata Oct 10, 2022
fa93c57
logind: do not emit beep in wall messages
keszybz Oct 11, 2022
c54086d
basic/log: include the log syntax callback in the errno protection block
keszybz Oct 6, 2022
1316666
analyze: add forgotten return statement
keszybz Oct 7, 2022
950aa1d
sd-ndisc: ignore failure in sending solicitation
yuwata Oct 11, 2022
bfe7236
core: make exec_directory_add() extends existing symlinks
yuwata Sep 22, 2022
ef3ef05
core: do not create symlink to private directory if parent already ex…
yuwata Sep 22, 2022
5a9738b
test: add more tests for StateDirectory= with DynamicUser=
yuwata Sep 22, 2022
4ddeea9
shared/condition: avoid nss lookup in PID1
keszybz Oct 7, 2022
c622de4
logind: fix getting property OnExternalPower via D-Bus
mbiebl Oct 12, 2022
b81d161
seccomp: add riscv_flush_icache to allow list
CoelacanthusHex Oct 16, 2022
bad202a
qrcode-util: Add support for libqrencode 3.0
daandemeyer Oct 14, 2022
e797ec7
man: document restrictions on naming interfaces
poettering Oct 19, 2022
1c40f07
shared/json: allow json_variant_dump() to return an error
keszybz Oct 18, 2022
aab707b
shared/json: use different return code for empty input
keszybz Oct 19, 2022
6cd8cc6
coredump: avoid deadlock when passing processed backtrace data
keszybz Oct 18, 2022
ddceb9d
dissect: add missing --umount to the help output
aafeijoo-suse Oct 19, 2022
c7861e3
bash-completion: add systemd-dissect support
aafeijoo-suse Oct 19, 2022
2220f8d
meson: always use libatomic if found
keszybz Oct 19, 2022
a8675fa
homed: properly initialize all return params
poettering Oct 24, 2022
33fb3a9
network/bridge: fix UseBPDU= and AllowPortToBeRoot=
yuwata Aug 12, 2022
5ede338
manager: reformat boolean expression in unit_is_pristine()
keszybz Oct 14, 2022
1a09fb9
manager: allow transient units to have drop-ins
keszybz Oct 14, 2022
ec35091
meson: Fix build with --optimization=plain
medhefgo Oct 9, 2022
80bbb1c
analyze: add --image= + --root= to --help text
poettering Oct 25, 2022
bd3a197
network: Table= also accepts table name
yuwata Oct 28, 2022
1ac92e2
network: allow 0 for table number
yuwata Oct 28, 2022
fd95ed0
man: document reboot --poweroff exception
enr0n Oct 28, 2022
7bc34e7
man: Add documentation for AssertCredential= (#25178)
SJrX Oct 29, 2022
49d7fee
udev: always create device symlinks for USB disks
yuwata Oct 30, 2022
bc3e925
resolved: fix copypasta in resolved varlink API
poettering Oct 31, 2022
d14ba58
resolved: fix typo in feature level table
zhangyoufu Nov 1, 2022
a256d9f
network: forcibly reconfigure all interfaces after sleep
yuwata Nov 1, 2022
de21825
man: use the correct 'Markers' property name for marking units
mrc0mmand Nov 2, 2022
be8d4df
sd-device-monitor: dynamically allocate receive buffer
yuwata Oct 13, 2022
45d323f
coredump: adjust whitespace
keszybz Nov 29, 2022
1d5e0e9
coredump: do not allow user to access coredumps with changed uid/gid/…
keszybz Nov 28, 2022
c5d344e
coredump: cescape invalid json data before logging
keszybz Dec 13, 2022
96a958b
generator: Rename password arg
medhefgo Feb 18, 2022
95088ad
cryptsetup: support keyfile-timeout for using a device as the key file
yan12125 Aug 4, 2022
f6d9f2d
Revert "cryptsetup: support keyfile-timeout for using a device as the…
keszybz Dec 22, 2022
3a51b2a
Revert "generator: Rename password arg"
keszybz Dec 22, 2022
e7e6327
basic/missing: move BLKGETDISKSEQ to missing_fs.h
yuwata Mar 30, 2022
2ced916
basic/missing_loop.h: fix missing lo_flags LO_FLAGS_DIRECT_IO
gwbres Sep 8, 2022
1d9065d
journal-remote: code is of type enum MHD_RequestTerminationCode
Nov 11, 2022
7b9fb27
resolve: dns_server_feature_level_*_string type is DnsServerFeatureLevel
Nov 11, 2022
08cf315
Use dummy allocator to make accesses defined as per standard
siddhesh Dec 13, 2022
050a356
alloc-util: Disallow inlining of expand_to_usable
siddhesh Jan 8, 2023
a62fc7d
core/slice: skip member units without realized cgroup during freeze o…
msizanoen1 Dec 7, 2022
0e96d07
mount-setup: don't need to mount /sys/fs/pstore if there is no ENABLE…
jcg190701 Dec 9, 2022
f820127
swap: tell swapon to reinitialize swap if needed
dtardon Dec 12, 2022
0accce1
sd-event: never pass negative errnos as signalfd to signalfd
keszybz Dec 19, 2022
d9960eb
units: allow systemd-userdbd to change process name
msekletar Dec 19, 2022
f5edfc7
resolve: fix enumerator name for DNS search domain
jacekmigacz Dec 20, 2022
4dc2810
sysroot: Order systemd-fsck-root after systemd-makefs
ElvishJerricco Dec 17, 2022
560f05d
basic: fix hosed return value in skip_session()
Jan 1, 2023
1825219
basic: Fix incompatible type for arguments errors in C2X
Jan 2, 2023
e4ebc60
libsystemd-network: FTBS in c2x mode
Jan 2, 2023
582e5b7
resolved: downgrade inability to send varlink reply error message
poettering Jan 3, 2023
486f3f5
resolvectl: remove duplicate ':' from output
poettering Jan 5, 2023
652c605
kernel-install: run depmod only if writeable
lnussel Dec 21, 2022
079bfa7
resolved: disable SO_BINDTOIFINDEX hack for localhost IP addresses
poettering Jan 5, 2023
33036c4
sd-event: don't mistake USEC_INFINITY passed in for overflow
poettering Jan 6, 2023
0e711b7
tmpfiles: avoid null free() for acl attributes
thesamesam Jan 6, 2023
3a9fe8e
nspawn: guard acl_free() with a NULL check
poettering Jan 6, 2023
f38e229
import: use CURLINFO_SCHEME instead of CURLINFO_PROTOCOL
mrc0mmand Jan 9, 2023
46d1581
import: use CURLOPT_PROTOCOLS_STR with libcurl >= 7.85.0
mrc0mmand Jan 9, 2023
4a0aec6
busctl: fix introspecting DBus properties
yuwata Jan 13, 2023
af18fc2
gpt-auto: harden ESP/XBOOTLDR mounts with "noexec,nosuid,nodev"
YHNdnzj Jan 16, 2023
f960fa4
creds-util: check for CAP_DAC_READ_SEARCH
aplanas Jan 13, 2023
a6aa2a2
mount: handle bind mount of file with non-existing target
dtardon Jan 13, 2023
fb16404
sd-dhcp-client: gracefully handle invalid ether type client ID
yuwata Jan 16, 2023
f7ed5ee
test: bump D-Bus service start timeout if we run without accel
mrc0mmand Jan 17, 2023
ff542dc
core: mount namespaces: Remove auxiliary bind mounts directory after …
Werkov Jan 18, 2023
e014c02
test: bump the client-side timeout in sd-bus as well
mrc0mmand Jan 23, 2023
0233275
core: ensure init.scope is realized after drop-ins have been loaded
bluca Jan 20, 2023
24a8928
test: make sure mount point exists in testsuite-64.sh
enr0n Nov 22, 2022
442ee8c
basic/linux: update linux uapi headers
mrc0mmand Jan 25, 2023
077aeaf
partition: fix build with newer linux/btrfs.h uapi header
mrc0mmand Jan 25, 2023
18b7b6a
test-execute: Skip when /sys is read-only
daandemeyer Jan 25, 2023
96be234
semaphore: remove the Semaphore repositories recursively
mrc0mmand Nov 7, 2022
e4fccaf
mkosi: pull in libbpf1 instead of legacy libbpf0 on debian
poettering Nov 18, 2022
54743ff
shell-completion: Add completion for oomctl
nishalkulkarni Mar 18, 2022
9a2d8e4
units: change modprobe@dm-mod.service → modprobe@dm_mod.service
poettering Dec 23, 2022
230ade8
units: pull in loop.ko and dm-mod.ko before repart
poettering Dec 23, 2022
0d315ca
docs: remove /dev/tty* confusion
poettering Dec 23, 2022
1c36c0b
udev: match device tags in rules using current device tags
msizanoen1 Dec 27, 2022
2e6d400
resolvectl: fix type of ifindex D-Bus field, and make sure to initial…
poettering Jan 4, 2023
18440f9
resolvectl: don't filter loopback DNS server from global DNS server list
poettering Jan 4, 2023
1568716
network/dhcp4: accept local subnet routes from DHCP
Tuetuopay Jan 27, 2023
3dd120c
network: dhcp-server: do not create DHCPServer object when the DHCP s…
yuwata Jan 30, 2023
d8d3106
bpf: fix restrict_fs on s390x
iii-i Jan 30, 2023
71f9e1f
unit: always return 1 in log_kill
msizanoen1 Feb 7, 2023
d57acef
udev/net: allow new link name as an altname before renaming happens
enr0n Nov 2, 2022
be8b55d
sd-netlink: do not swap old name and alternative name
enr0n Dec 2, 2022
00cdc7b
sd-netlink: restore altname on error in rtnl_set_link_name
enr0n Nov 2, 2022
70dcc16
sd-netlink: add a test for rtnl_set_link_name()
enr0n Nov 22, 2022
92bed29
nspawn: Drop CAP_NET_BIND_SERVICE when in userns but not in netns
daandemeyer Jan 26, 2023
b5ab57b
resolve: Skip creating stubs if missing CAP_NET_BIND_SERVICE
daandemeyer Jan 26, 2023
37d4bf1
sd-dhcp-server: allow to send header only message
yuwata Jan 28, 2023
5d8283f
importd: Always specify file unpacked by tar
ArsenArsen Jan 28, 2023
1adad5d
sysusers: insist that root group is 0
keszybz Jan 31, 2023
078ce64
glibc: Conditionally #include <linux/fs.h> to resolve fsconfig_comman…
heitbaum Jan 31, 2023
9c23253
meson: Install all catalogs
medhefgo Jan 27, 2023
0691c16
meson: Install missing network file
medhefgo Jan 27, 2023
8523187
meson: Install missing bash-completions
medhefgo Jan 27, 2023
a2dc9e3
pid1: fix segv triggered by status query (#26279)
plaguedbypenguins Feb 1, 2023
53be27c
repart: fix invalid errno in log
keszybz Feb 6, 2023
9fbbd7b
argv-util: also update program_invocation_short_name
yuwata Feb 3, 2023
125655d
journal: print a useful error message if we hit the journal file open…
poettering Feb 7, 2023
4d447fb
udevd: configure a child process name for worker processes
yuwata Feb 7, 2023
0a3a54c
core: imply DeviceAllow=/dev/tpmrm0 with LoadCredentialEncrypted
bluca Feb 8, 2023
c203880
core/service: constify ExecCommand* in two functions
keszybz Feb 8, 2023
eeb9299
test-parse-util: add tests with explicit plus character
keszybz Feb 8, 2023
4502e79
manager: "downgrade" message about command vanishing from the unit file
keszybz Feb 8, 2023
1734d96
man: fix section number
keszybz Feb 9, 2023
3271bc9
README: explicitly note that util-linux's mount/swap are required
bluca Feb 10, 2023
dde473e
userdb: Use json_dispatch_user_group_name() to parse GetMembership fi…
scabrero Feb 10, 2023
54b580e
core: when isolating to a unit, also keep units running that are trig…
poettering Feb 10, 2023
b98d71f
nspawn: fix directory in logged error
ml- Feb 11, 2023
1b7b67d
man: fix directory for user home bind mounts
ml- Feb 11, 2023
2b068e2
test-boot-timestamp: Handle ERANGE error
daandemeyer Feb 13, 2023
85771e8
sysusers: also add root group
yuwata Feb 15, 2023
74d5f34
resolved: Fall back to TCP if UDP is blocked
joanbm Feb 12, 2023
4cba8e3
core/mount: fix default target for /sysusr/usr and its child
yuwata Feb 15, 2023
8e8c7d5
pid1: generate compat warning for SystemCallArchitectures= if seccomp…
poettering Feb 16, 2023
8a9b918
boot: Fix assertion failure
medhefgo Feb 16, 2023
37b20aa
journalctl: fix output when --lines is used with --grep
YHNdnzj Feb 18, 2023
9587156
process-util: show requested process name in the log
yuwata Feb 18, 2023
f74a15e
man/tmpfiles.d: adjust the table in synopsis, improve spelling
keszybz Feb 20, 2023
f61016a
homectl: add missing break
poettering Feb 17, 2023
81bcca4
efi: drop executable-stack bit from .elf file
keszybz Feb 21, 2023
7cafc74
tmpfiles.d: drop misleading comment
keszybz Feb 20, 2023
92f8a86
systemctl: show "Until:" field only for service and scope units
yuwata Feb 22, 2023
f1a8b69
sd-event: always initialize sd_event.perturb
yuwata Feb 22, 2023
056fbe8
sd-event: fix error handling
yuwata Feb 22, 2023
0d386bb
core/dbus-socket: check the socket path is absolute
yuwata Feb 23, 2023
6d5014e
man: add two missing commands to synopsys
poettering Feb 24, 2023
5d0fb94
systemctl: print better message if default target is masked
dtardon Mar 2, 2022
fadf3c4
psi-util: fix error handling
poettering Feb 27, 2023
654e805
virt: correctly detect QEMU emulated pSeries guests
mrc0mmand Mar 1, 2023
fb016a1
escape: Ensure that output is always valid UTF-8
msizanoen1 Mar 1, 2023
53353de
test-escape: Add tests for escaping bogus UTF-8 sequences
msizanoen1 Mar 1, 2023
65fe9f3
boot: skip loading DTBs in type 1 when secure boot is enabled
bluca Sep 16, 2023
4ada129
resolved: actually check authenticated flag of SOA transaction
msekletar Dec 20, 2023
b19b7c6
core: fix build when seccomp is off
KanjiMonster Sep 12, 2024
2c4c434
Remove symbolic links for un-used partitions
Devender-117 Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ColumnLimit: 109
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
ContinuationIndentWidth: 16
Cpp11BracedListStyle: false
ForEachMacros:
- BITMAP_FOREACH
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ if [[ "$COMPILER" == clang ]]; then
# ATTOW llvm-11 got into focal-updates, which conflicts with llvm-11
# provided by the apt.llvm.org repositories. Let's use the system
# llvm package if available in such cases to avoid that.
if ! apt show --quiet "llvm-$COMPILER_VERSION" &>/dev/null; then
if ! apt install --dry-run "llvm-$COMPILER_VERSION" >/dev/null; then
# Latest LLVM stack deb packages provided by https://apt.llvm.org/
# Following snippet was borrowed from https://apt.llvm.org/llvm.sh
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository -y "deb http://apt.llvm.org/$RELEASE/ llvm-toolchain-$RELEASE-$COMPILER_VERSION main"
# Following snippet was partly borrowed from https://apt.llvm.org/llvm.sh
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --yes --dearmor --output /usr/share/keyrings/apt-llvm-org.gpg
printf "deb [signed-by=/usr/share/keyrings/apt-llvm-org.gpg] http://apt.llvm.org/%s/ llvm-toolchain-%s-%s main\n" \
"$RELEASE" "$RELEASE" "$COMPILER_VERSION" >/etc/apt/sources.list.d/llvm-toolchain.list
PACKAGES+=("clang-$COMPILER_VERSION" "lldb-$COMPILER_VERSION" "lld-$COMPILER_VERSION" "clangd-$COMPILER_VERSION")
fi
elif [[ "$COMPILER" == gcc ]]; then
Expand Down Expand Up @@ -131,6 +132,12 @@ for args in "${ARGS[@]}"; do
fatal "'meson compile' failed with $args"
fi

for loader in build/src/boot/efi/*.efi; do
if sbverify --list "$loader" |& grep -q "gap in section table"; then
fatal "$loader: Gaps found in section table"
fi
done

git clean -dxf

success "Build with $args passed in $SECONDS seconds"
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@ jobs:
- name: Configure
run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" >mkosi.default

# Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is
# required, since current Arch's glibc implements faccessat() via faccessat2().
- name: Update systemd-nspawn
if: ${{ matrix.distro == 'arch' }}
run: |
echo "deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt build-dep systemd
meson build
ninja -C build
sudo ln -svf $PWD/build/systemd-nspawn `which systemd-nspawn`
systemd-nspawn --version

- name: Build ${{ matrix.distro }}
run: ./.github/workflows/run_mkosi.sh --build-environment=CI_BUILD=1 --kernel-command-line "${{ env.KERNEL_CMDLINE }}" build

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/run_mkosi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ set -o pipefail

EC=0
TEMPFILE="$(mktemp)"
trap "rm -f '$TEMPFILE'" EXIT
TEMP_EXTRA_TREE="$(mktemp --directory)"
trap "rm -rf '$TEMPFILE' '$TEMP_EXTRA_TREE'" EXIT

# We need isc-dhcp-server to be installed for the networkd unit tests, but we don't want to
# run it by default. mktemp creates the directory as 700, so change it, otherwise it will
# affect the image's root folder permissions.
chmod 755 "$TEMP_EXTRA_TREE"
mkdir -p "$TEMP_EXTRA_TREE/etc/systemd/system/"
ln -s /dev/null "$TEMP_EXTRA_TREE/etc/systemd/system/isc-dhcp-server.service"
ln -s /dev/null "$TEMP_EXTRA_TREE/etc/systemd/system/isc-dhcp-server6.service"

for ((i = 0; i < 5; i++)); do
EC=0
(sudo python3 -m mkosi "$@") |& tee "$TEMPFILE" || EC=$?
(sudo python3 -m mkosi --extra-tree="$TEMP_EXTRA_TREE" "$@") |& tee "$TEMPFILE" || EC=$?
if [[ $EC -eq 0 ]]; then
# The command passed - let's return immediatelly
break
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ __pycache__/
# Ignore any mkosi config files with "local" in the name
/mkosi.default.d/**/*local*.conf
/tags
.dir-locals-2.el
19 changes: 11 additions & 8 deletions .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ downstream_package_name: systemd
# `git describe` returns in systemd's case 'v245-xxx' which breaks RPM version
# detection (that expects 245-xxxx'). Let's tweak the version string accordingly
upstream_tag_template: "v{version}"
srpm_build_deps: []

actions:
post-upstream-clone:
# Use the Fedora Rawhide specfile
- "git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1"
# Use the Fedora 36 specfile
- "git clone --branch f36 https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1"
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
- "rm -fv .packit_rpm/sources"
# Drop backported patches from the specfile, but keep the downstream-only ones
# - Patch0000-0499: backported patches from upstream
# - Patch(0000-0499): backported patches from upstream
# - Patch0500-9999: downstream-only patches
- "sed -ri '/^Patch0[0-4]?[0-9]{0,2}\\:.+\\.patch/d' .packit_rpm/systemd.spec"
- "sed -ri '/^Patch(0[0-4]?[0-9]{0,2})?\\:.+\\.patch/d' .packit_rpm/systemd.spec"
# Also drop the bfq scheduler patch, does not apply on v250-stable
- "sed -ri '/^Patch0500\\:.+\\.patch/d' .packit_rpm/systemd.spec"
# Build the RPM with --werror. Even though --werror doesn't work in all
# cases (see [0]), we can't use -Dc_args=/-Dcpp_args= here because of the
# RPM hardening macros, that use $CFLAGS/$CPPFLAGS (see [1]).
Expand All @@ -37,7 +40,7 @@ jobs:
trigger: pull_request
metadata:
targets:
- fedora-rawhide-aarch64
- fedora-rawhide-i386
- fedora-rawhide-ppc64le
- fedora-rawhide-x86_64
- fedora-36-aarch64
- fedora-36-i386
- fedora-36-ppc64le
- fedora-36-x86_64
16 changes: 12 additions & 4 deletions .semaphore/semaphore-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ UBUNTU_RELEASE="$(lsb_release -cs)"
create_container() {
# Create autopkgtest LXC image; this sometimes fails with "Unable to fetch
# GPG key from keyserver", so retry a few times with different keyservers.
for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"; do
for keyserver in "keys.openpgp.org" "" "keyserver.ubuntu.com" "keys.gnupg.net"; do
for retry in {1..5}; do
sudo lxc-create -n "$CONTAINER" -t download -- -d "$DISTRO" -r "$RELEASE" -a "$ARCH" ${keyserver:+--keyserver "$keyserver"} && break 2
sleep $((retry*retry))
Expand All @@ -36,8 +36,16 @@ create_container() {
# enable source repositories so that apt-get build-dep works
sudo lxc-attach -n "$CONTAINER" -- sh -ex <<EOF
sed 's/^deb/deb-src/' /etc/apt/sources.list >> /etc/apt/sources.list.d/sources.list
# wait until online
while [ -z "\$(ip route list 0/0)" ]; do sleep 1; done
# We might attach the console too soon
while ! systemctl --quiet --wait is-system-running; do sleep 1; done
# Manpages database trigger takes a lot of time and is not useful in a CI
echo 'man-db man-db/auto-update boolean false' | debconf-set-selections
# Speed up dpkg, image is thrown away after the test
mkdir -p /etc/dpkg/dpkg.cfg.d/
echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/unsafe_io
# For some reason, it is necessary to run this manually or the interface won't be configured
# Note that we avoid networkd, as some of the tests will break it later on
dhclient
apt-get -q --allow-releaseinfo-change update
apt-get -y dist-upgrade
apt-get install -y eatmydata
Expand All @@ -54,7 +62,7 @@ for phase in "${PHASES[@]}"; do
case "$phase" in
SETUP)
# remove semaphore repos, some of them don't work and cause error messages
sudo rm -f /etc/apt/sources.list.d/*
sudo rm -rf /etc/apt/sources.list.d/*

# enable backports for latest LXC
echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list
Expand Down
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Debian autopkgtest (LXC)
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
os_image: ubuntu2004

# Cancel any running or queued job for the same ref
auto_cancel:
Expand Down
12 changes: 6 additions & 6 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -10698,7 +10698,7 @@ CHANGES WITH 211:
also supports LUKS-encrypted partitions now. With this in
place, automatic discovery of partitions to mount following
the Discoverable Partitions Specification
(https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec)
(https://systemd.io/DISCOVERABLE_PARTITIONS/)
is now a lot more complete. This allows booting without
/etc/fstab and without root= on the kernel command line on
systems prepared appropriately.
Expand Down Expand Up @@ -12203,7 +12203,7 @@ CHANGES WITH 198:
only in conjunction with Gummiboot, but could be supported
by other boot loaders too. For details see:

https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
https://systemd.io/BOOT_LOADER_INTERFACE

* A new generator has been added that automatically mounts the
EFI System Partition (ESP) to /boot, if that directory
Expand Down Expand Up @@ -12279,7 +12279,7 @@ CHANGES WITH 198:
* A new tool kernel-install has been added that can install
kernel images according to the Boot Loader Specification:

https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
https://systemd.io/BOOT_LOADER_SPECIFICATION

* Boot time console output has been improved to provide
animated boot time output for hanging jobs.
Expand Down Expand Up @@ -12369,7 +12369,7 @@ CHANGES WITH 197:
of these policies is now the default. Please see this wiki
document for details:

https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html

* Auke Kok's bootchart implementation has been added to the
systemd tree. It is an optional component that can graph the
Expand Down Expand Up @@ -13368,7 +13368,7 @@ CHANGES WITH 183:

* A framework for implementing offline system updates is now
integrated, for details see:
https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates
https://www.freedesktop.org/software/systemd/man/systemd.offline-updates.html

* A new service type Type=idle is available now which helps us
avoiding ugly interleaving of getty output and boot status
Expand Down Expand Up @@ -13736,7 +13736,7 @@ CHANGES WITH 38:
* Processes with '@' in argv[0][0] are now excluded from the
final shut-down killing spree, following the logic explained
in:
https://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons
https://systemd.io/ROOT_STORAGE_DAEMONS/

* All processes remaining in a service cgroup when we enter
the START or START_PRE states are now killed with
Expand Down
16 changes: 10 additions & 6 deletions README
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
systemd System and Service Manager

DETAILS:
http://0pointer.de/blog/projects/systemd.html

WEB SITE:
https://www.freedesktop.org/wiki/Software/systemd
https://systemd.io

GIT:
git@github.com:systemd/systemd.git
Expand All @@ -19,6 +16,11 @@ IRC:
BUG REPORTS:
https://github.com/systemd/systemd/issues

OLDER DOCUMENTATION:

http://0pointer.de/blog/projects/systemd.html
https://www.freedesktop.org/wiki/Software/systemd

AUTHOR:
Lennart Poettering
Kay Sievers
Expand Down Expand Up @@ -175,7 +177,7 @@ REQUIREMENTS:
libaudit (optional)
libacl (optional)
libbpf >= 0.2.0 (optional)
libfdisk >= 2.33 (from util-linux) (optional)
libfdisk >= 2.32 (from util-linux) (optional)
libselinux (optional)
liblzma (optional)
liblz4 >= 1.3.0 / 130 (optional)
Expand Down Expand Up @@ -207,7 +209,9 @@ REQUIREMENTS:
During runtime, you need the following additional
dependencies:

util-linux >= v2.27.1 required
util-linux >= v2.27.1 required (including but not limited to: mount,
umount, swapon, swapoff, sulogin,
agetty, fsck)
dbus >= 1.4.0 (strictly speaking optional, but recommended)
NOTE: If using dbus < 1.9.18, you should override the default
policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d).
Expand Down
5 changes: 1 addition & 4 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ Bugfixes:
manager or system manager can be always set. It would be better to reject
them when parsing config.

* userdbctl: "Password OK: yes" is shown even when there are no passwords
or the password is locked.

* Jun 01 09:43:02 krowka systemd[1]: Unit user@1000.service has alias user@.service.
Jun 01 09:43:02 krowka systemd[1]: Unit user@6.service has alias user@.service.
Jun 01 09:43:02 krowka systemd[1]: Unit user-runtime-dir@6.service has alias user-runtime-dir@.service.
Expand Down Expand Up @@ -819,7 +816,7 @@ Features:
Note that we start initrd-fs.target and initrd-cleanup.target there, so a straightforward
ConditionPathExists= is not enough.

* docs: bring http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime up to date
* docs: bring https://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime up to date

* add a job mode that will fail if a transaction would mean stopping
running units. Use this in timedated to manage the NTP service
Expand Down
33 changes: 19 additions & 14 deletions catalog/meson.build
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

in_files = '''
systemd.bg.catalog
systemd.be.catalog
systemd.be@latin.catalog
systemd.de.catalog
systemd.fr.catalog
systemd.it.catalog
systemd.pl.catalog
systemd.pt_BR.catalog
systemd.ru.catalog
systemd.zh_CN.catalog
systemd.zh_TW.catalog
systemd.catalog
'''.split()
in_files = [
'systemd.be.catalog',
'systemd.be@latin.catalog',
'systemd.bg.catalog',
'systemd.catalog',
'systemd.da.catalog',
'systemd.de.catalog',
'systemd.fr.catalog',
'systemd.hr.catalog',
'systemd.hu.catalog',
'systemd.it.catalog',
'systemd.ko.catalog',
'systemd.pl.catalog',
'systemd.pt_BR.catalog',
'systemd.ru.catalog',
'systemd.sr.catalog',
'systemd.zh_CN.catalog',
'systemd.zh_TW.catalog',
]

support_url = get_option('support-url')
support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
Expand Down
8 changes: 4 additions & 4 deletions docs/CONTAINER_INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
# The Container Interface

Also consult [Writing Virtual Machine or Container
Managers](http://www.freedesktop.org/wiki/Software/systemd/writing-vm-managers).
Managers](https://www.freedesktop.org/wiki/Software/systemd/writing-vm-managers).

systemd has a number of interfaces for interacting with container managers,
when systemd is used inside of an OS container. If you work on a container
Expand Down Expand Up @@ -298,9 +298,9 @@ care should be taken to avoid naming conflicts. `systemd` (and in particular
you cannot link them to each other.

4. Do not pretend that the real VTs are available in the container. The VT
subsystem consists of all the devices `/dev/tty*`, `/dev/vcs*`, `/dev/vcsa*`
plus their `sysfs` counterparts. They speak specific `ioctl()`s and
understand specific escape sequences, that other ptys don't understand.
subsystem consists of all the devices `/dev/tty[0-9]*`, `/dev/vcs*`,
`/dev/vcsa*` plus their `sysfs` counterparts. They speak specific `ioctl()`s
and understand specific escape sequences, that other ptys don't understand.
Hence, it is explicitly not OK to mount a pty to `/dev/tty1`, `/dev/tty2`,
`/dev/tty3`. This is explicitly not supported.

Expand Down
10 changes: 5 additions & 5 deletions docs/DISCOVERABLE_PARTITIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ for specific uses. This has many benefits:
descriptive information about partitions tables.

Note that the OS side of this specification is currently implemented in
[systemd](http://systemd.io/) 211 and newer in the
[systemd-gpt-auto-generator(8)](http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html)
[systemd](https://systemd.io/) 211 and newer in the
[systemd-gpt-auto-generator(8)](https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html)
generator tool. Note that automatic discovery of the root only works if the
boot loader communicates this information to the OS, by implementing the [Boot
Loader
Interface](https://systemd.io/BOOT_LOADER_INTERFACE).

## Defined Partition Type UUIDs

| Partition Type UUID | Name | Allowed File Systems | Explanation |
|---------------------|------|----------------------|-------------|
| Name | Partition Type UUID | Allowed File Systems | Explanation |
|------|---------------------|----------------------|-------------|
| _Root Partition (Alpha)_ | `6523f8ae-3eb1-4e2a-a05a-18b695ae656f` | Any native, optionally in LUKS | On systems with matching architecture, the first partition with this type UUID on the disk containing the active EFI ESP is automatically mounted to the root directory <tt>/</tt>. If the partition is encrypted with LUKS or has dm-verity integrity data (see below), the device mapper file will be named `/dev/mapper/root`. |
| _Root Partition (ARC)_ | `d27f46ed-2919-4cb8-bd25-9531f3c16534` | ditto | ditto |
| _Root Partition (32-bit ARM)_ | `69dad710-2ce4-4e3c-b16c-21a1d49abed3` | ditto | ditto |
Expand Down Expand Up @@ -164,7 +164,7 @@ Other GPT type IDs might be used on Linux, for example to mark software RAID or
LVM partitions. The definitions of those GPT types is outside of the scope of
this specification.

[systemd-id128(1)](http://www.freedesktop.org/software/systemd/man/systemd-id128.html)'s
[systemd-id128(1)](https://www.freedesktop.org/software/systemd/man/systemd-id128.html)'s
`show` command may be used to list those GPT partition type UUIDs.

## Partition Names
Expand Down
4 changes: 0 additions & 4 deletions docs/ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ All tools:
user/group records for dynamically registered service users (i.e. users
registered through `DynamicUser=1`).

* `$SYSTEMD_NSS_BYPASS_BUS=1` — if set, `nss-systemd` won't use D-Bus to do
dynamic user lookups. This is primarily useful to make `nss-systemd` work
safely from within `dbus-daemon`.

`systemd-timedated`:

* `$SYSTEMD_TIMEDATED_NTP_SERVICES=…` — colon-separated list of unit names of
Expand Down
Loading