| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This just allows including .profile sections, but doesn't try to be
smart about it. This alone won't help you much to create valid
multi-profile UKIs.
|
|
|
|
|
|
|
|
|
|
| |
Let's make clearer what we are going to use /dev/kmsg for: read/write or just
writing. This hopefully should avoid confusion, such as the one #33975
is result of.
(Also while we are at it, add one extra debug message).
Fixes: #33975
|
| |
|
|\
| |
| | |
tree-wide: complete the switch to utmpx
|
| |
| |
| |
| |
| |
| | |
Apparently _PATH_UTMPX is a glibc'ism. UTMPX_FILE is the same thing and
what everyone else uses. Since they are otherwise equivalent, let's just
switch.
|
| |
| |
| |
| | |
utmpx doesn't know these defines, hence fix them.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We generally use utmpx instead of utmp (both are actually identical on
Linux, but utmpx is POSIX, while utmp is not). Let's fix one left-over
case.
UT_NAMESIZE does not exist in utmpx world, it has no direct counterpart,
hence let's just sizeof_field() to determine the size of the actual
field. (which comes to the same result of course: 32).
|
|/
|
|
|
|
| |
as NULL
Fixes: #34163
|
|
|
|
|
|
|
|
|
|
|
|
| |
In https://github.com/systemd/systemd/pull/5283/commits/924453c22599cc246746a0233b2f52a27ade0819
ProtectHome was set to true for systemd-coredump in order to reduce risk, since an attacker could craft a malicious binary in order to compromise systemd-coredump.
At that point the object analysis was done in the main systemd-coredump process.
Because of this systemd-coredump is unable to product symbolicated call-stacks for binaries running under /home ("n/a" is shown instead of function names).
However, later in https://github.com/systemd/systemd/commit/61aea456c12c54f49c4a76259af130e576130ce9 systemd-coredump was changed to do the object analysis in a forked process,
covering those security concerns.
Let's set ProtectHome to read-only so that systemd-coredump produces symbolicated call-stacks for processes running under /home.
|
|\
| |
| | |
ask-password: refuse empty password strv
|
| | |
|
| |
| |
| |
| | |
Fixes #34270.
|
|\ \
| | |
| | | |
measure: introduce support for a new ".profile" section
|
| | |
| | |
| | |
| | |
| | | |
This introduces the concept, and makes sure systemd-measure covers it.
See a later commit for details on the new section.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the most basic preparatory work for supporting multi-profile
UKIs.
(This temporarily drops an assert_cc() check which we'll address in the
next commit)
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (253 of 253 strings)
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main
|
| |
| |
| |
| |
| |
| |
| | |
detached
Follow-ups for db8dc7c1dd7f4620e14fbc4c1560a68a1fc9b85b.
Fixes #34275.
|
|\ \
| | |
| | | |
timesync: downgrade log level for several messages
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These message may be unnecessarily shown multiple times when e.g.
networkd is restarted, system is wakeup from suspend, and so on.
Closes #34262.
|
|\ \ \
| | | |
| | | | |
tree-wide: trivial cleanups
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes #34273.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
specified
Also do not chown if a device node is bind-mounted.
Fixes #34243.
|
|\ \ \
| |_|/
|/| | |
network: several cleanups for conf parser
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also
- rename variable n -> address,
- use log_syntax_parse_error() where applicable,
- add one more assertion for lvalue in config_parse_address().
|
| | |
| | |
| | |
| | | |
Then, use generic conf parsers defined in conf-parser.[ch].
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- use log_syntax_parse_error(),
- return 1 on success,
- drop unnecessary or redundant assertions,
- add missing log_oom().
|
| | |
| | |
| | |
| | |
| | | |
It is similar to config_parse_uint32_flag(), but drops the specified flag
when true.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
section
This also
- renames n -> label,
- use log_syntax_parse_error().
No functional change, just refactoring.
|
| | |
| | |
| | |
| | | |
It will be used later.
|
|\ \ \
| |/ /
|/| | |
mkosi: Install util-linux-script on Rawhide
|
| | |
| | |
| | |
| | | |
rpm 4.19.93 (4.20 rc) is in rawhide so let's drop the workaround.
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's now subpackaged so we can build images without pulling in
libutempter but we use script in the testsuite so let's install the
subpackage.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
Mark those Apple Wireless keyboards as not having a NumLock key:
https://en.wikipedia.org/wiki/Apple_Wireless_Keyboard
You can see that they don't have a NumLock LED because they didn't even
have a NumLock in the first place:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fea6fe7d5ef1b5fa5f78048d4729f85181c04ca
|
|\ \
| | |
| | | |
handle gmtime_r() errors more robustly
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We typically want to deal in usec_t, hence let's change the prototype
accordingly, and do proper range checks. Also, make sure are not
confused by negative times.
Do something similar for mktime_or_timegm().
This is a more comprehensive alternative to #34065
Replaces: #34065
|
| | |
| | |
| | |
| | | |
also an input parameter
|
| | |
| | |
| | |
| | |
| | | |
This is needed to ensure LOCK_{EX,SH} are defined in certain
environments, including uclibc-ng and musl libc.
|
|\ \ \
| | | |
| | | | |
repart: initialize seed earlier
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
For issue #34257.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As the seed is used by context_load_partition_table() -> derive_uuid().
Fixes #34257.
|