| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Officially we default to a "enable *", even though pretty much everybody
overrides this with "disable *". We have a bunch of targets and services which
should not be enabled by default. In case the default policy is not overriden,
our passive units would be enabled by presets, which is generally not useful at
all. So let's explicitly mark them as disabled.
Note that this effectively changes very little. E.g. on Fedora, all the units
listed in this patch were "disabled" already.
Fixes #14648.
|
|\
| |
| | |
sysctl: add glob patterns to set network settings more flexibly
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #6282.
This solution is a bit busy, but we close the race without setting *.all.*, so
it is still possible to set a different setting for particular interfaces.
Setting just "default" is not very useful because any interfaces present before
systemd-sysctl is invoked are not affected. Setting "all" is too harsh, because
the kernel takes the stronger of the device-specific setting and the "all" value,
so effectively having a weaker setting for specific interfaces is not possible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is intended for net.*.conf.*.foo files. Setting just "default" is not very
useful because any interfaces present before systemd-sysctl is invoked are not
affected. Setting "all" is too harsh, because the kernel takes the stronger of
the device-specific setting and the "all" value, so effectively having a weaker
setting for specific interfaces is not possible. Let's add a way in which can
set "default" first and then all the others without "all".
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
net.ipv4.conf.default.xyz="
This reverts commits 1836bf9e1d70240c8079e4db4312309f4f1f91fd
and 9fefb9e3cdebcefa681672423d23ccc72ae6c165.
The race is reintroduced, and will be fixed later.
|
| |
| |
| |
| | |
Fixup for 32458cc968.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We use those strings as hash keys. While writing "a...b" looks strange,
"a///b" does not look so strange. Both syntaxes would actually result in the
value being correctly written to the file, but they would confuse our
de-deplication over keys. So let's normalize. Output also becomes nicer.
Add test.
|
| |
| |
| |
| | |
one_zero() is used later in the header...
|
| | |
|
|\ \
| | |
| | | |
core: call dynamic_user_acquire() only when 'group' is non-null
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When unit is reloaded, and the reloaded unit has bad-setting, then
unit_patch_contexts() is not called and exec_context::user and group
may not be configured.
A minimum reproducer for the case is:
- step 1.
$ sudo systemctl edit --full hoge.service
[Service]
oneshot
ExecStart=sleep 1h
- step 2.
$ sudo systemctl start hoge.service
- step 3.
$ sudo systemctl edit --full hoge.service
[Service]
Type=oneshot
ExecStart=@bindir@/sleep 1h
DynamicUser=yes
Then pid1 crashed.
Fixes #14733.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes #14661.
|
| |
| |
| | |
Closes #14724.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
sd_bus_message_dump
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes #14640.
|
| | | |
|
|\ \ \
| | | |
| | | | |
dhcp6: do not use T1 and T2 longer than one provided by the lease
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes #12623.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We already have assert_cc(sizeof(uid_t) == sizeof(uint32_t)) or friends
at various places.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
sd-boot: fix warnings
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This extends the "uid:gid" syntax for "u" lines so that a group
name can be given instead of a GID. This requires that the group
is either queued for creation by sysusers, or it is already defined
on the system.
Closes #14340
|
|\ \ \ \ \
| | | | | |
| | | | | | |
network: support UID based routing policy
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Closes #14666.
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #14725.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Having /etc/securetty in test containers prevents root from logging into
them:
```
Jan 31 10:15:11 systemd-testsuite login[69]: pam_securetty(login:auth): access denied: tty 'pts/0' is not secure !
Jan 31 10:15:11 systemd-testsuite login[69]: FAILED LOGIN 1 FROM pts/0 FOR root, Authentication failure
```
|
|\ \ \ \ \
| | | | | |
| | | | | | |
journal: add concept of "journal namespaces"
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It doesn't get us much, but makes the differences between the templated
and non-templated versions a bit smaller.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We already apply them to the directory in /var. Let's do the same in
/run too. That's because due to the log namespace logic we nowadays can
gain additional subdirs there during regular operation.
|