| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
They are very closely related after all.
|
|
|
|
|
| |
Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH
315-52 laptop. So, add the quirk to correct key mappings.
|
|\
| |
| | |
Show Environment= entries with spaces in systemctl
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the Environment entries more round-trippable: a similar format is
used for input and output. It is certainly more useful for users, because
showing [unprintable] on anything non-trivial makes systemctl show -p Environment
useless in many cases.
Fixes: #14723 and https://bugzilla.redhat.com/show_bug.cgi?id=1525593.
$ systemctl --user show -p Environment run-*.service
Environment=ASDF=asfd "SPACE= "
Environment=ASDF=asfd "SPACE=\n\n\n"
Environment=ASDF=asfd "TAB=\t\\" "FOO=X X"
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Let's make the log msgs a bit longer, to make clearer what is going on
here...
Prompted bymy attempts to debug #15354
|
|\ \
| | |
| | | |
minor terminal ansi color seq fixes
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
non-underlined yellow uses RGB ANSI sequences while the underlined
version uses the paletted ANSI sequences. Let's unify that and use the
RGB sequence for both cases, so that underlined or not doesn't alter the
color.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
at bootup
The commit b3ac5f8cb987 has changed the system mount propagation to
shared by default, and according to the following patch:
https://github.com/opencontainers/runc/pull/208
When starting the container, the pouch daemon will call runc to execute
make-private.
However, if the systemctl daemon-reexec is executed after the container
has been started, the system mount propagation will be changed to share
again by default, and the make-private operation above will have no chance
to execute.
|
|\ \ \
| | | |
| | | | |
bus: introduce some sd-bus convenience helpers
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Many of the convenience functions from sd-bus operate on verbose sets
of discrete strings for destination/path/interface/member.
For most callers, destination/path/interface are uniform, and just the
member is distinct.
This commit introduces a new struct encapsulating the
destination/path/interface pointers called BusAddress, and wrapper
functions which take a BusAddress* instead of three strings, and just
pass the encapsulated strings on to the sd-bus convenience functions.
Future commits will update call sites to use these helpers throwing
out a bunch of repetitious destination/path/interface strings littered
throughout the codebase, replacing them with some appropriately named
static structs passed by pointer to these new helpers.
|
| | | |
| | | |
| | | |
| | | | |
Add a new option to easily place a slice within the systemd-run slice.
|
| | | |
| | | |
| | | |
| | | | |
As suggested in #15362
|
|\ \ \ \
| |_|/ /
|/| | | |
LLDP : Introduce Manufacturer Usage Description (MUD)
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
preset: let's clean up preset list a bit
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
let's make sure we list all singleton units we define in the preset
list, either as disable or as enable. Only four were missing, let's add
them in.
Also, let's group the pstore one with the other ones that are enabled,
right at the top.
|
|\ \ \
| | | |
| | | | |
Canonicalise names in DNS responses per RFC4034 requirements
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Section 6.2 of RFC4034 requires that "all uppercase US-ASCII letters in
the DNS names contained within the RDATA are replaced by the corresponding
lowercase US-ASCII letters" for a long list of RR types.
Fixes #14891
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add `ProtectClock=yes` to systemd units. Since it implies certain
`DeviceAllow=` rules, make sure that the units have `DeviceAllow=` rules so
they are still able to access other devices. Exclude timesyncd and timedated.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A warning is emitted from sd_bus_message_{get,set}_priority. Those functions
are exposed by pystemd, so we have no easy way of checking if anything is
calling them.
Just making the functions always return without doing anything would be an
option, but then we could leave the caller with an undefined variable. So I
think it's better to make the functions emit a warnings and return priority=0
in the get operation.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Right now the kernel will not dump anything that went through setuid or
setgid. But it is routine for daemons to do that, and it makes things hard to
debug.
systemd-coredump saves the coredump readable by the users the process was
running as. This should be enough to avoid information leakage. So let's also
tell the kernel to do the coredump.
For https://bugzilla.redhat.com/show_bug.cgi?id=1790972.
Both patterns are stored in the same file, so they are enabled or disabled
together. (Though suid_dumpable=2 is supposed to be safe even when writing to
plain files.)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a quirk to fix the accelerometer orientation on the MPMAN MPWIN895CL
tablet.
|
|\ \ \ \
| | | | |
| | | | | |
Remove stray file and fix two minor issues in man pages
|
| | | | |
| | | | |
| | | | |
| | | | | |
Apparently this step was forgotten in 935052a8aa11329061cbee234c99b03973163594.
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For whatever reason, this does not get rendered propely in the man
page and results in an invalid code:
W: manual-page-warning /usr/share/man/man7/systemd.special.7.gz 103: warning: macro `AQ' not defined
We say 'user manager' and 'system manager' in most other places, so let's just
use this form here too.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"debian/master" has been broken since
https://salsa.debian.org/systemd-team/systemd/-/commit/d6483013d5779d4d465a1e174e44a754b941d0e6
was merged.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
From https://github.com/microsoft/WSL/issues/423#issuecomment-221627364:
> it's unlikely we'll change it to something that doesn't contain "Microsoft"
> or "WSL".
... but well, it happened. If they change it incompatibly w/o adding an stable
detection mechanism, I think we should not add yet another detection method.
But adding a different casing of "microsoft" is not a very big step, so let's
do that.
Follow-up for #11932.
|
|\ \ \ \
| |_|/ /
|/| | | |
systemctl --property-value as shortcut for --property --value
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Not all places are converted on purpose, to also test the other option
name.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
dbus-execute: show also ProtectClock
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Show also `ProtectClock=` setting. This also lets `systemd-analyze security`
get the correct state for it.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Three unrelated minor tweaks
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Clearly there is some confusion about the intent of this option, let's add
a short note.
https://bugzilla.redhat.com/show_bug.cgi?id=1819313
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We use whatever compression is configured, most often not XZ.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
sd_bus_reply_method_errno already does the same two checks
(sd_bus_error_is_set(error), r < 0) internally. But it did them in opposite
order. The effect is the same, because sd_bus_reply_method_errno falls back to
sd_bus_reply_method_error, but it seems inelegant. So let's simplify
bus_maybe_reply_error() to offload the job fully to sd_bus_reply_method_errno().
No functional change.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
homed: fall back to ftruncate() if fallocate() is not supported on ba…
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This means "discard" mode is enabled implicitly on such simpler backing
fs.
Fixes: #15059
|
|\ \ \ \ \
| | | | | |
| | | | | | |
sd-bus: Deprecate priority functions
|
| | | | | | |
|