| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow-up for 26ded55709947d936634f1de0f43dcf88f594621.
The commit says,
> Note that with this change sysinit.target (and thus early boot) is NOT
systematically delayed until the entropy pool is initialized,
But the dependency was not dropped.
This was found by David Seifert (@SoapGentoo).
|
|
|
|
|
|
|
|
|
| |
We explicitly create /etc/systemd/user and other parts of the basic directory
tree. I think we should create /etc/systemd/system too. (The alternative would
be to not create those other directories too, but I think it's nice to have
the basic directory structure in place after installation.)
https://bugzilla.redhat.com/show_bug.cgi?id=1737362
|
|\
| |
| | |
test: introduce TEST-36-NUMAPOLICY
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
FLAGS_SET() is the wrong operator here, because we want to see if
*any* bits are set. Add test.
https://github.com/systemd/systemd/pull/12884#issuecomment-518238410
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The `coproc` implementation seems to be a little bit different in older
bash versions, so the `strace` is sometimes started AFTER `systemctl
daemon-reload`, which causes unexpected fails. Let's help it a little by
sleeping for a bit.
|
| | |
|
| |
| |
| |
| |
| | |
It may take a few moments for the strace process to properly terminate
and write all logs to the backing storage
|
| |
| |
| |
| |
| |
| | |
The MPOL_LOCAL constant is not recognized in current strace versions.
Let's match at least the numerical value of this constant until the
strace patch is approved & merged.
|
| |
| |
| |
| | |
more reliable
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Revert "logind: remove unused check"
|
| |
| |
| |
| |
| |
| | |
This reverts commit f2330acda408a34451d5e15380fcdd225a672473.
Fixes #13255.
|
| | |
|
| |
| |
| |
| | |
Fixes #13257.
|
|\ \
| |/
|/| |
Minor sd-network cleanup and other coverity-inspired changes
|
| |
| |
| |
| |
| | |
It's nicer. And coverity doesn't need to complain about unchecked return
value (CID#1401780).
|
| |
| |
| |
| | |
Why not? Coverity CID#1402329.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Comparisons are done in the normal order (if (need > available), not if (available < need)),
variables have reduced scope and are renamed for clarity.
The only functional change is that if we return -ENAMETOOLONG, we do that
without modifying the options[] array.
I also added an explanatory comment. The use of one offset to point into three
buffers is not obvious.
Coverity (in CID#1402354) says that sname might be accessed at bad offset, but
I cannot see this happening. We check for available space before writing anything.
|
|
|
|
|
|
|
| |
Fixes the following error:
```
logind[601]: Failed to open file system "/dev/block/259:1": Operation not permitted
```
|
|\
| |
| | |
udev: update log messages
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the following logs:
```
drm_dp_aux2: Handling device node '/dev/drm_dp_aux2', devnum=c238:2, mode=037777777777, uid=4294967295, gid=4294967295
drm_dp_aux2: Preserve permissions of /dev/drm_dp_aux2, 037777777777, uid=4294967295, gid=4294967295
```
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
Instead of checking for the STA_UNSYNC flag in the timex status, check
the maximum error. It is updated by the kernel, increasing at a rate of
500 ppm. The maximum value is 16 seconds, which triggers the STA_UNSYNC
flag.
This follows timedatex and allows timedated to correctly detect a clock
synchronized by chronyd when configured to not synchronize the RTC.
|
|\
| |
| | |
Two cryptsetup quickfixes
|
| |
| |
| |
| |
| |
| |
| | |
https://github.com/systemd/systemd/commit/50d2eba27b9bfc77ef6b40e5721713846815418b#commitcomment-34519739
In add_crypttab_devices() split_keyspec is called on the keyfile argument,
which may be NULL.
|
| |
| |
| |
| |
| | |
Now that "ret_" has been added to the output variables, we can name
the internal variables without artificial abbrevs.
|
|\ \
| | |
| | |
| | |
| | | |
mrc0mmand/networkd-test-replace-adduser-with-useradd
test: use `useradd` instead of `adduser`
|
| | |
| | |
| | |
| | |
| | |
| | | |
If networkctl crashes, like recently with SIGABRT, it returns absolutely
no output, which may be confusing during debugging. Help it a little
with a short informative message.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`adduser` is in certain cases a standalone package which provides a
better user experience. In other cases it's just a symlink to `useradd`.
And some distributions don't have `adduser` at all, like Arch Linux.
Let's use the `useradd` binary instead, which should provide the same
functionality everywhere.
|
| |/
|/| |
|
|\ \
| | |
| | | |
four coverity fixes
|
| | |
| | |
| | |
| | | |
Fixes coverity issue 1403550
|
| | |
| | |
| | |
| | | |
Fixes coverity issue 1403708
|
| | |
| | |
| | |
| | | |
Fixes coverity issue 1403820
|
| | |
| | |
| | |
| | | |
Fixes coverity issue 1403772
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Don't claim we'd use cgroup.deny much. It's just a way to remove stuff
from device lists, which is nothing we allow users to explicitly
configure.
Also, extend documentation when wildcards may be used, and when not.
|
| |
| |
| |
| | |
We already released this in v240 and had a NEWS entry then.
|
| |
| |
| |
| |
| |
| |
| | |
This particular test case keeps intermittently failing due to crashing
LSan when running under clang+ASan. Generally, sanitizers don't
like seccomp filters, so the best option here is to just switch this
test off for this scenario.
|
| |
| |
| |
| |
| | |
Fixes: 76ed04d936f757763c32db5dbaaebd8b13785d7b
Closes: https://github.com/systemd/systemd/issues/13230
|
|/ |
|
| |
|
|\
| |
| | |
Rework unit loading to take into account all aliases
|
| |
| |
| |
| | |
Useful for manual debugging.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
v2:
- do not watch mtime of transient and generated dirs
We'd reload the map after every transient unit we created, which we don't
need to do, since we create those units ourselves and know their fragment
path.
|
| |
| |
| |
| |
| | |
I'm not convinced that this is useful enough to be included... But it is
certainly nice when debugging.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reworks how we load units from disk. Instead of chasing symlinks every
time we are asked to load a unit by name, we slurp all symlinks from disk
and build two hashmaps:
1. from unit name to either alias target, or fragment on disk
(if an alias, we put just the target name in the hashmap, if a fragment
we put an absolute path, so we can distinguish both).
2. from a unit name to all aliases
Reading all this data can be pretty costly (40 ms) on my machine, so we keep it
around for reuse.
The advantage is that we can reliably know what all the aliases of a given unit
are. This means we can reliably load dropins under all names. This fixes #11972.
|