| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
unit-file: support UpheldBy= in [Install] settings (adding Upholds= deps from .upholds/)
|
| |
| |
| |
| |
| |
| | |
from .upholds/)
Closes #26896
|
|/
|
|
|
|
| |
As per:
https://social.treehouse.systems/@grawity/110376583742207755
|
|
|
|
|
|
|
|
|
| |
We hardcode the path the initrd uses to prepare the final mount point at
so many places, let's also imply it in "systemctl switch-root" if not
specified.
This adds the fallback both to systemctl and to PID 1 (this is because
both to — different – checks on the path).
|
|
|
|
| |
As reported by Fossies.
|
|
|
|
|
|
| |
Now that we have a potentially pinned fdstore let's add a concept for
cleaning it explicitly on user requested. Let's expose this via
"systemctl clean", i.e. the same way as user directories are cleaned.
|
|
|
|
| |
various components
|
|
|
|
|
|
|
| |
Pass an empty string or "cancel" will cancel the action.
Pass "show" will show the scheduled actions.
Replaces #17258
|
|
|
|
| |
Fixes #18271
|
| |
|
|\
| |
| | |
Add systemctl list-paths
|
| | |
|
|/ |
|
|
|
|
| |
Closes #25975
|
|
|
|
|
|
|
|
|
| |
Follow-up for 0f958c8d4fc13ed1c1af928b2a7d91d31c7576eb.
systemctl is called many times by dnf or so, and missing /proc/ is not
a user's fault, but package manager's issue.
With this commit, we can suppress the warning by updating rpm macros if
necessary.
|
|
|
|
|
|
|
|
|
| |
Previously 'systemctl edit' would only operate on
'override.conf', but users may need more than that.
Thus the new option '--drop-in' is added to allow
users to specify the drop-in file name.
Closes #25767
|
|
|
|
|
|
| |
Follow-up for #25689
We've added a new output ("not-found") in #25689.
|
|\
| |
| |
| |
| | |
YHNdnzj/systemctl-disable-warn-statically-enabled-services
systemctl: warn if trying to disable a unit with no install info
|
| |
| |
| |
| |
| |
| | |
In cases like packaging scripts, it might be desired to use
enable/disable on units without install info. So, adding an
option '--no-warn' to suppress the warning.
|
|/ |
|
|
|
|
| |
Follow-up to c9615f7352 and 70666e28a1.
|
|
|
|
| |
We said "search path" and "search paths" in the same sentence…
|
|
|
|
|
| |
All tools that support --root= should also learn --image=
so that they can operate on disk images directly.
|
|\
| |
| | |
Expose various GPT UUIDs as public contants and link them up in docs
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In many places we spelled out the phrase behind "initrd" in full, but this
isn't terribly useful. In fact, no "RAM disk" is used, so emphasizing this
is just confusing to the reader. Let's just say "initrd" everywhere, people
understand what this refers to, and that it's in fact an initramfs image.
Also, s/i.e./e.g./ where appropriate.
Also, don't say "in RAM", when in fact it's virtual memory, whose pages
may or may not be loaded in page frames in RAM, and we have no control over
this.
Also, add <filename></filename> and other minor cleanups.
|
| | |
|
|/
|
|
|
|
|
|
| |
In the context of a table, both would be generally understood to have the same
meaning. "n/a" is a strange beast. It was useful when tables were produced on
the typewriter with "---------" used to separate rows. It is visually more
pleasing to use "-", and there is no risk of it being mistaken for a row
separator.
|
|
|
|
|
|
|
|
|
|
|
| |
getopt allows non-ambiguous abbreviations, so backwards-compat is maintained, and
people can use --kill-who (or even shorter abbreviations). English is flexible,
so in common speach people would use both forms, even if "whom" is technically
more correct. The advantage of using the longer form in the code is that we
effectively allow both forms, so we stop punishing people who DTGCT¹, but still
allow people to use the spoken form if they prefer.
1. Do the gramatically correct thing
|
| |
|
|
|
|
|
|
|
|
| |
service
And point people to "journalctl --unit=" for information of prior runs.
Inspired by: #24159
|
| |
|
|\
| |
| | |
manager: optionally, do a full preset on first boot
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We have vendor presets, and local admin presets, and runtime presets
(under /usr/lib, /usr/local/lib and /etc, /run, respectively). When we
display preset state, it can be configured in any of those places, so
we shouldn't say anything about the origin.
(Another nice advantage is that it improves alignment:
[root@f36 ~]# systemctl list-unit-files multipathd.service
UNIT FILE STATE VENDOR PRESET
multipathd.service enabled enabled
^ this looks we have a "PRESET" column that is empty.)
|
| |
| |
| |
| |
| |
| |
| | |
it's enabled units, and they might be started by various forms of
activation, not just "at boot".
Fix that.
|
| | |
|
|/
|
|
|
|
|
| |
This makes the interface more flexible, by allowing the same filtering
for show and status as is done for list-units.
Fixes #23207.
|
| |
|
|
|
|
| |
Inspired by https://github.com/systemd/systemd/pull/20156#discussion_r810878846
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The manual incorrectly asserted that the properties in systemctl show
matched the the options in systemd-system.conf, which is not always true.
Add clarification on the equivalence of the properties in systemctl show
and systemd-system.conf
Fixed #21230
|
|
|
|
|
|
| |
list-units" + "systemctl list-unit-files"
Fixes: #21075
|
|
|
|
|
|
|
|
|
| |
The text used "unit's view" to mean mount namespace. But we talk about
mount namespaces in the later part of the paragraph anyway, so trying to
use an "approachable term" only makes the whole thing harder to understand.
Let's use the precise term.
Some paragraph-breaking and re-indentation is done too.
|
|
|
|
|
|
|
| |
Fixes #17484.
This patch affects systemctl(1), as well as all man pages that include
all of common-variables.xml, i.e. most of our command line tools.
|
|
|
|
| |
Some are not about less, e.g. $SYSTEMD_URLIFY.
|
|\
| |
| | |
systemctl: hide legends with --quiet, allow overriding
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--no-legend is replaced by --legend=no.
--quiet now implies --legend=no, but --legend=yes may be used to override that.
--quiet controls hints and warnings and such, and --legend controls just the
legends. I think it makes sense to allow both to controlled independently, in
particular --quiet --legend makes sense when using systemctl in a script to
provide some user-visible output.
Fixes #18560.
|
|\ \
| |/
|/| |
Restart units after the rpm transaction
|
| |
| |
| |
| |
| |
| | |
This is almost equivalent to 'busctl call-method org.freedesktop.systemd1
/org/freedesktop/systemd1 org.freedesktop.systemd1.Manager EnqueueMarkedJobs',
but waits for the jobs to finish.
|
|/
|
|
|
| |
I seems frivolous to yet another two -util.[ch] files, but the helper
should be in shared/ and it doesn't seem to fit anywhere else.
|
|
|
|
|
|
|
|
|
|
| |
The wiki was slightly stale, and almost all the information there
was already present in the man page. I moved the remaing part (discussion)
into the man page and adjusted all links to point to the man page instead.
daemon(7) has a some examples of packaging scriptlets… I don't think it fits
there very well. Most likely they should be moved to systemd.preset(5) or maybe
even removed, but I'm leaving that for later.
|