| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
let's clarify what the order actually means for service units.
Fixes: #6097
|
|
|
|
|
|
| |
Let's make clear what start-up really means in this case.
See: #6097
|
|
|
|
| |
Fixes: #5696
|
|\
| |
| | |
networkctl: display address labels
|
| | |
|
| |
| |
| |
| |
| | |
This adds an example target unit to the man page of systemd targets.
Closes #67.
|
|\ \
| | |
| | | |
support for non-pollable fds in the service fdstore
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This also alters the documentation to recommend memfds rather than /run
for serializing state across reboots. That's because /run doesn't
actually have the same lifecycle as the fd store, as it is cleared out
on restarts.
Fixes: #5606
|
|/
|
|
|
|
|
| |
This makes systemd-umount (or systemd-mount -u) supports multiple arguments
which can be path, device, or fstab style node name, like
`systemd-umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx`.
C.f. https://github.com/systemd/systemd/pull/5235#issuecomment-277731314.
|
|
|
|
|
|
|
|
|
| |
This work allows to configure device port:
tp — An Ethernet interface using Twisted-Pair cable as the medium.
aui — Attachment Unit Interface (AUI). Normally used with hubs.
bnc — An Ethernet interface using BNC connectors and co-axial cable.
mii — An Ethernet interface using a Media Independent Interface (MII).
fibre — An Ethernet interface using Optical Fibre as the medium.
|
|\
| |
| | |
Make logind restartable.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure to only apply the O_NONBLOCK flag to the fds passed via socket
activation.
Previously the flag was also applied to the fds which came from the fd store
but this was incorrect since services, after being restarted, expect that these
passed fds have their flags unchanged and can be reused as before.
The documentation was a bit unclear about this so clarify it.
|
| |
| |
| | |
This allows the nss-systemd module to be disabled on minimal installations.
|
|\ \
| | |
| | | |
Use "dollar-single-quotes" to escape shell-sensitive strings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also called "ANSI-C Quoting" in info:(bash) ANSI-C Quoting.
The escaping rules are a POSIX proposal, and are described in
http://austingroupbugs.net/view.php?id=249. There's a lot of back-and-forth on
the details of escaping of control characters, but we'll be only using a small
subset of the syntax that is common to all proposals and is widely supported.
Unfortunately dash and fish and maybe some other shells do not support it (see
the man page patch for a list).
This allows environment variables to be safely exported using show-environment
and imported into the shell. Shells which do not support this syntax will have
to do something like
export $(systemctl show-environment|grep -v '=\$')
or whatever is appropriate in their case. I think csh and fish do not support
the A=B syntax anyway, so the change is moot for them.
Fixes #5536.
v2:
- also escape newlines (which currently disallowed in shell values, so this
doesn't really matter), and tabs (as $'\t'), and ! (as $'!'). This way quoted
output can be included directly in both interactive and noninteractive bash.
|
|/ /
| |
| |
| | |
Fixes #5509.
|
| |
| |
| | |
Updates the documentation to note use of SNTP (resolves #5735)
|
|\ \
| | |
| | | |
Chrooted test fixes
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The -ENOMEDIUM return value was introduced in v232-1001-g2977724b09,
('core: make hybrid cgroup unified mode keep compat /sys/fs/cgroup/systemd hierarchy'),
and would be returned by cg_pid_get_path_shifted(), but the documented and
expected return value is -ENODATA. Let's just catch ENXIO/ENOMEDIUM and translate
it to ENODATA in all cases.
Complements 171f8f591ff27ebb5ff475b7a9d1f13a846c9331, fixes #6012.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Without going into details, mention that libraries are also covered by the
filters, and that executable stacks are a no no.
Closes #5970.
|
|/ /
| |
| |
| | |
Fixes #6035.
|
| |
| |
| |
| |
| |
| | |
this patch makes it possible to configure a vlan aware bridge without the
PVID. To configure no PVID set DefaultPVID=none in the [BridgeVLAN] section.
fixes #5716
|
|\ \
| | |
| | | |
core: add ConditionUID and ConditionGID
|
| | |
| | |
| | |
| | | |
It allows checking if the user is a system user or a normal user
|
| |/
| |
| |
| |
| |
| |
| | |
This adds two options that are useful for user units. In particular, it
is useful to check ConditionUser=!0 to not start for the root user.
Closes: #5187
|
|\ \
| | |
| | | |
A bunch of sd-login improvements
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
test-login.c is largely rewritten to use _cleanup_ and give more meaningful
messages (function names are used instead of creative terms like "active
session", so that when something unexpected is returned, it's much easier to
see what function is responsible).
The monitoring part is only activated if '-m' is passed on the command line.
It runs against the information from /run/systemd/ in the live system, but that
should be OK: logind/sd-login interface is supposed to be stable and both
backwards and forwards compatible.
If not running in a login session, some tests are skipped.
Those two changes together mean that it's possible to run test-login in the
test suite.
Tests for sd_pid_get_{unit,user_unit,slice} are added.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sd_seat_get_sessions returns two arrays, that in principle should always match:
the session names and corresponding uids. The second array could be shorter only
if parsing or uid conversion fails. But in that case there is no way to tell
*which* uid is wrong, so they are *all* useless. It's better to simplify things and
just return an error if parsing fails.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DHCP responses could include static routes, but unfortunately not an
option to tell what scope to use. So it's important that the client sets
it properly.
This mimics what the `ip route add` command does when adding a static
route without an explicit scope:
* If the destination IP is on the local host, use scope `host`
* Otherwise if the gateway IP is null (direct route), use scope `link`
* If anything else, use the current default `global`.
Fixes #5979.
|
| | |
| | |
| | |
| | |
| | | |
DesignWare ARC Processors are a family of 32-bit CPUs from Synopsys
used extensively in SoCs of different vendors.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Explain briefly how the concept of "sd_bus_slot" works.
This recently came up on the mailing list, hence let's document this for
the next time.
|
|/ / |
|
|/
|
|
|
|
|
|
|
|
|
| |
The example for LD_LIBRARY_PATH in the environment.d man page is wrong.
When setting LD_LIBRARY_PATH, the new directory usually needs to be at
the front so it overrides old directories.
In the example, the colon delimiter is correctly prepended to the front, but
the actual new path is erroneously appended to the end.
This commit moves it to the front where it belongs.
|
| |
|
| |
|
|\
| |
| | |
man page link fixes
|
| | |
|
| |
| |
| |
| | |
linkchecker ftw!
|
| |
| |
| |
| |
| | |
With the move to sphinx-generated docs, the old URL seems to have stopped
working and returns 404.
|
| |
| |
| |
| | |
This allows enabling proxy_ndp even if no addresses are configured in
networkd, as well as disabling proxy_ndp from a drop-in.
|
| |
| |
| | |
Closes: #5889
|
| | |
|
| |
| |
| |
| | |
This adds a short-iso-precise option for journalctl output. It is similar to
short-iso, but includes microseconds.
|
|/
|
|
| |
It's helpful to know you can provide this more than once, rather than try
to make a more complicated / less clear single expression.
|
|
|
|
|
|
|
|
| |
Also updates the documentation and adds a mention of ppc64 support
which was enabled by #5325.
Tested on Debian mipsel and mips64el. The other 4 mips architectures
should have an identical user <-> kernel ABI to one of the 2 tested
systems.
|
|\
| |
| | |
Meson status and conditional simplification
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using conf.set() with a boolean argument does the right thing:
either #ifdef or #undef. This means that conf.set can be used unconditionally.
Previously I used '1' as the placeholder value, and that needs to be changed to
'true' for consistency (under meson 1 cannot be used in boolean context). All
checks need to be adjusted.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The symlinks should be created in the build directory in two cases: when
configuration specifies -Dhtml=true, or when ninja html target is built.
Normally install : {true,false} is used to decide if a target should be built,
but in this case, we cannot use install : true, because, as described in
488477d101, that results in the target file being copied into the
installation directory instead of a symlink. So we need a work-around. To
achieve the first end, the commands to create the symlinks are added as
dependencies of the command to create the html page. To the second end, they
are added as dependencies of the html target.
Follow-up for 488477d101 and 064d9ef0d7.
|