| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This reverts commit 67c972c610de61789d1b6560d28340f70d4b1196.
|
|
|
|
| |
Follow-up for 85cf96e3f567cd51f79d671bbf3559550fdd67b7.
|
|
|
|
|
|
|
|
|
| |
glibc 2.33-3 shipped on 2021-02-06 breaks running Arch containers on
systems with older kernels (like Ubuntu Focal). Until the issue is
resolved, let's pin the Arch repositories to glibc 2.32-5 to mitigate
the annoying CI fails.
See: https://bugs.archlinux.org/task/69563
|
|\
| |
| | |
hostnamectl: try to set transient hostname even if setting static or pretty hostname failed
|
| | |
|
| |
| |
| |
| | |
hostname is already used
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, even when writing e.g. /etc/hostname fails, the static
hostname in Context is not restored. So, the subsequent call of the same
method succeeds:
```
$ sudo chattr +i /etc/hostname
$ sudo hostnamectl --static set-hostname aaa
Could not set static hostname: Access denied
$ echo $?
1
$ sudo hostnamectl --static set-hostname aaa
$ echo $?
0
```
This makes when updating file is failed, the saved stat is cleared. So,
the static hostname or machine information in the context are always
consistent to the corresponding files.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
hostname failed
If no target (--pretty, --static, or --transient) is specified, then
let's try to set transient hostname even if setting static or pretty
hostname failed. This may be useful for read-only filesystem.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #18507.
|
|/
|
|
|
|
|
|
| |
Setting of IPv6 Proxy NDP addresses must be done at the same
time as static addresses, static routes, and other link attributes
that must be configured when the link is up. Doing this ensures
that they are reconfigured on the link if the link goes down
and returns to service.
|
|
|
|
| |
I added an entry for Dell Latitude E5510 TouchPad to set up the true size
of the TouchPad (the size is currently over-estimated)
|
|\
| |
| | |
TEST-06-SELINUX fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since the test suite overhaul, the test units are now under
/usr/lib/systemd/tests/testdata/tetsuite-06.units with
system_u:object_r:lib_t context. This causes an AVC denial, since the
systemd unit files are expected to have the
system_u:object_r:systemd_unit_file_t context. Let's fix this by using a
custom file context definition.
|
| |
| |
| |
| |
| | |
otherwise the module won't compile & load after autorelabel reboot,
since the target is already built.
|
|\ \
| | |
| | | |
tree-wide: make CLI tools also read kernel command line when run as service
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CLI tools may be used in a script. E.g., a script for monitoring a
service may use `systemctl`. Previously, if the kernel command line has
e.g. systemd.log-level=debug, then systemctl in the script produces
debugging logs when the script is invoked by a .service unit, but does
not when the script is running in a terminal. Then,
https://github.com/systemd/systemd/pull/18281#discussion_r561697482,
> I expect users to be (negatively) surprised.
In the previous commit, $SYSTEMD_EXEC_PID= is introduced. Then, we can
now detect whether a command is directly invoked by systemd or through
a script. Let's skip reading the kernel command line when a command is
invoked through a script.
|
| | |
| | |
| | |
| | |
| | | |
The subsequent execv() or execl() always calls tools provided by
systemd. So, it is safe to update the variable.
|
| | | |
|
| | |
| | |
| | |
| | | |
Will be used in later commits.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
It may be useful to detect a command is directly executed by systemd
manager, or indirectly as a child of another process.
|
| | |
| | |
| | |
| | | |
It may be useful when debugging daemons.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This effectively reverts 41d1f469cf10f5f3e9cb4f4853ace9b0cfe5beae.
Before this, e.g., `networkctl reload` invoked by `systemctl reload systemd-networkd.service`
does not produce debugging logs even if systemd.log-level=debug is set. This fixes
the issue.
|
|\ \ \
| | | |
| | | | |
udev: add tests for udev_event_spawn()
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to the buffer size
When epoll_wait() returns number equivalent to the buffer size, there
may exist remaining events which may have higher priority. To make priority
sorting correctly, let's retrieve all events.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As far as I can see, at some point the parser function for MountAPIVFS
was changed from the generic bool parser to a custom implementation, to
allow the context to keep track of whether MountAPIVFS had been set
explicitly. If not, exec_context_get_effective_mount_apivfs would fall
back to a default value. However, the corresponding entry in the big
parser table wasn't updated, meaning that the old bool parser was still
used, meaning that context->mount_apivfs_set remained at its default
value of false, meaning that the default value was always used and the
config option was effectively ignored.
Fix for 5e98086d1629f5c5b73645ba2568de4b09b7d958.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Prettify update-dbus-docs
|
| | | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
When executed in test mode, "OUTDATED" is appropriate. But when executed
to actually update the text, after the tool executes, those pages are the
opposite, not outdated.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixup NameSeviceSwitch -> NameServiceSwitch spelling error in
documentation.
Found through inspection of documentation.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Translated using Weblate (Swedish)
Currently translated at 100.0% (189 of 189 strings)
Translation: systemd/main
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/sv/
Co-authored-by: Göran Uddeborg <goeran@uddeborg.se>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It happens too often that what people ask for already is implemented.
Let's help cut the noise a bit, and make people check things first
hopefully, and at least make it either for us to detect such cases.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we don't have ifindex info, don't set the field for it.
We already do that for parsed IP address replies, let's do it for all
cases: it's a bit nicer to suppress the ifindex prop if it doesn't apply
than to pass it invalid.
This is the other side of #18482, i.e. fixes things so that the parser
doesn't get tripped up by this.
(This too makes a problem go away we should track down properly, i.e.
figure out how the ifindex got lost in
https://github.com/systemd/systemd/pull/17823#issuecomment-742439422 )
|
|\ \ \ \
| | | | |
| | | | | |
nss-resolve: handle zero ifindex reply from server
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Sometimes a reply isn't associated to any specific interface, it might
be a general truth (for example served from /etc/hosts or so). In this
case the server might pass ifindex == 0. Accept that.
https://github.com/systemd/systemd/pull/17823#issuecomment-742439422
|
|\ \ \ \
| | | | |
| | | | | |
network: RouteTable= improvements
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
And rename route_table_from_string_full() to
manager_get_route_table_from_string().
|