Christian Göttsche
a9dfac21ec
core: reload SELinux label cache on daemon-reload
...
Reloading the SELinux label cache here enables a light-wight follow-up of a SELinux policy change, e.g. adding a label for a RuntimeDirectory.
Closes : #13363
2019-12-04 10:29:46 +01:00
Lennart Poettering
97a3e8d582
Merge pull request #14189 from cgzones/selinux_tmpfiles
...
Selinux tmpfiles
2019-12-04 10:29:22 +01:00
Lennart Poettering
68d58f3869
pid1: add new kernel cmdline arg systemd.cpu_affinity=
...
Let's allow configuration of the CPU affinity via the kernel cmdline,
overriding CPUAffinity= in /etc/systemd/system.conf
Prompted by:
https://lists.freedesktop.org/archives/systemd-devel/2019-November/043754.html
2019-12-04 10:28:43 +01:00
Raphael
6355715e5b
Fix DPI for MX Master 2s bluetooth mouse
...
Mouse behaviour is unusably slow disregardless of mouse speed settings.
2019-12-04 09:23:57 +01:00
Jérémy Rosen
a652f050a7
Create parent directories when creating systemd-private subdirs
...
This is needed when systemd is compiled without systemd-tmpfiles
2019-12-04 09:22:52 +01:00
Zbigniew Jędrzejewski-Szmek
206056cf01
Merge pull request #14211 from yuwata/support-nlmsgerr_attr_msg
...
Support NLMSGERR_ATTR_MSG
2019-12-04 09:15:23 +01:00
Yu Watanabe
e813de549b
network: do not return error but return UINT64_MAX if speed meter is disabled
...
Fixes #14222 .
2019-12-04 09:11:34 +01:00
lothrond
cfd54b6a2e
Alienware M17xR3 ejectcd button fix
2019-12-04 09:10:45 +01:00
Topi Miettinen
7477451b69
core: swap priority can be negative
...
Negative priorities are useful for swap targets which should be only used as
last resort.
2019-12-04 08:57:08 +01:00
xduugu
09e4b620e7
hwdb: Set trackball property for Logitech MX Ergo ( #14231 )
2019-12-04 09:32:50 +10:00
Yu Watanabe
33ebda2e81
networkctl: fix to show BSSID
...
This fixes an issue caused by a typo in
78404d22cc
.
2019-12-03 20:00:05 +01:00
Zbigniew Jędrzejewski-Szmek
2fec5854ba
systemctl: enhance message about kexec missing kernel
...
Fixes #7730 .
2019-12-03 17:15:44 +01:00
Zbigniew Jędrzejewski-Szmek
6a2dc6a040
TODO: remove obsolete entries
2019-12-03 17:15:44 +01:00
Slava Kardakov
1e904320aa
Fixup typo in NEWS
2019-12-03 08:02:24 +09:00
Lennart Poettering
cb51560803
Merge pull request #14216 from jwrdegoede/hwdb-teclast-sensors
...
hwdb: sort Teclast sensors entries and add a new quirk for the Teclast X89
2019-12-02 09:58:31 +01:00
Hans de Goede
d0d7f11ca2
hwdb: Add accel orientation quirk for Teclast X89 tablet
...
Add a quirk to fix the accelerometer orientation on the Teclast X89 tablet.
2019-12-01 15:56:26 +01:00
Hans de Goede
3b681ace37
hwdb: Sort 60-sensor.hwdb Teclast entries alphabetically
...
Sort 60-sensor.hwdb Teclast entries alphabetically (by model name),
and add a comment with the model name to the few entries which were
missing this.
2019-12-01 15:56:26 +01:00
Michael Biebl
6d8f06368b
semaphore: switch branch to debian/master
2019-11-30 19:05:53 +01:00
Yu Watanabe
5ecb131d94
network: include NLMSGERR_ATTR_MSG attribute in error message
2019-11-30 16:14:02 +09:00
Yu Watanabe
e4a1e68d7a
sd-netlink: support NLMSGERR_ATTR_MSG
...
From v4.12 the kernel appends some attributes to netlink acks
containing a textual description of the error and other fields.
This makes sd-netlink parse the attributes.
2019-11-30 16:13:51 +09:00
Lennart Poettering
0e7e854471
update TODO
2019-11-29 17:50:12 +01:00
Zbigniew Jędrzejewski-Szmek
db9c5ae73e
Merge pull request #14201 from poettering/v244-final
...
V244 final
2019-11-29 17:32:36 +01:00
afg
c152a2ba54
nspawn: allow Capability=all in systemd.nspawn [EXEC] section
...
Just like --capability=all is allowed in the systemd-nspawn
command line.
2019-11-29 14:42:27 +01:00
Lennart Poettering
78b2bb4eef
hwdb: run another 'hwdb-update'
2019-11-29 14:35:54 +01:00
Lennart Poettering
8bf2a311f3
NEWS: update for final 244
2019-11-29 14:29:03 +01:00
Lennart Poettering
dd08aa6488
README: move logo up, like on brand.systemd.io README
2019-11-29 12:57:22 +01:00
Lennart Poettering
dc2d00962b
README: use more appropriate logo format for README
2019-11-29 12:54:01 +01:00
Lennart Poettering
173c78739b
update TODO
2019-11-29 12:54:01 +01:00
Yu Watanabe
3db7d5d2bf
network: fix double free()
2019-11-28 19:50:45 +01:00
Yu Watanabe
e681a2ee4d
man: use literal tag at one more place
2019-11-28 19:50:12 +01:00
Lennart Poettering
0bca283127
man: document sd_event_source_set_floating()
...
Let's make sure we get back to 100% man page documentation coverage of
our sd-event APIs. We are bad enough at the others, let's get these ones
right at least.
2019-11-29 02:48:41 +09:00
Jan Tojnar
88eb051972
man: use mkswap@ instead of makeswap@
...
That is what is linked from systemd.swap(5) and also what the systemd.generator produces.
2019-11-28 15:46:21 +01:00
Lennart Poettering
806c6a5b97
journald: don't ask for the machine ID if we don't need it
2019-11-28 15:46:01 +01:00
Lennart Poettering
3aebd9d6dd
journalctl: pager_close() calls fflush(stdout) anyway as first thing
2019-11-28 15:15:24 +01:00
Lennart Poettering
c31469e2ee
journald: remove unused field
2019-11-28 15:14:58 +01:00
Lennart Poettering
2275b74741
journalctl: return EOPNOTSUPP if pcre is not enabled
2019-11-28 15:02:36 +01:00
Lennart Poettering
870a2d85d0
man: don't claim journalctl would still use signals
...
It's using the varlink interface these days.
2019-11-28 14:33:31 +01:00
Lennart Poettering
5a5bd9f7e0
man: add reference to journald man page from systemd.journal-fields(7)
...
We had none so far. Which is weird.
2019-11-28 14:33:01 +01:00
Lennart Poettering
d58b613bbb
man: apparently we lowercased STDOUT/STDERR everywhere else in docs, do so here too
2019-11-28 14:25:38 +01:00
Lennart Poettering
6831520b02
Merge pull request #14179 from poettering/help-fixlets
...
--help fixlets
2019-11-28 14:22:30 +01:00
Lennart Poettering
d18df32d82
man: drop reference to machined, add one for journald instead
...
We dropped documentation from sd_journal_open_container() long ago
(since the call is obsolete), hence drop the reference to machined. But
add one in for journald instead.
2019-11-28 14:22:12 +01:00
Christian Göttsche
80e7c84081
tmpfiles: create with correct MAC label on option C
...
Closes : #10855
2019-11-28 12:18:04 +01:00
Christian Göttsche
aeec5efab5
copy: add flag COPY_MAC_CREATE to create with correct label
...
Useful for MAC aware file creation like in systemd-tmpfiles.
2019-11-28 12:17:56 +01:00
Lennart Poettering
6f63c5b8b1
notify: add color to --help
...
We do that for most tools now, do so here now, too.
2019-11-28 11:41:24 +01:00
Lennart Poettering
37a92352d6
nspawn: highlight description string in --help text
...
We do so in most tools now, do so here, too.
2019-11-28 11:41:24 +01:00
Yu Watanabe
d2a56598d0
Merge pull request #14166 from keszybz/transient-unit-settings
...
Fix docs and some transient unit property passing
2019-11-28 17:23:30 +09:00
Lennart Poettering
5bb4503d3a
test-functions: make sure we use the right library path for binaries without RPATH
...
Meson appears to set the rpath only for some binaries it builds, but not
all. (The rules are not clear to me, but that's besides the point of
this commit).
Let's make sure if our test script operates on a binary that has no
rpath set we fall back preferably to the BUILD_DIR rather than directly
to the host.
This matters if a test uses a libsystemd symbol introduced in a version
newer than the one on the host. In that case "ldd" will not work on the
test binary if rpath is not set. With this fix that behaviour is
corrected, and "ldd" works correctly even in this case.
(Or in other words: before this fix on binaries lacking rpath we'd base
dependency info on the libraries of the host, not the buidl tree, if
they exist in both.)
2019-11-28 09:20:40 +01:00
Kevin Kuehler
6da498c28f
shared/ask-password-api: modify keyctl break value
...
We can break if KEYCTL_READ return value is equal to our buffer size.
From keyctl(2):
On a successful return, the return value is always the total size of
the payload data. To determine whether the buffer was of sufficient
size, check to see that the return value is less than or equal to the
value supplied in arg4.
2019-11-28 08:58:29 +01:00
Lennart Poettering
a434236acc
systemctl: fix indentation of cgroup tree
...
Follow-up for 0d588deae2
.
In that commit the output got moved a 2 chars to the right, hence make
sure to also shift the cgroup tree to the right, so that it gets
properly aligned under the cgroup path again.
2019-11-27 18:34:53 +01:00
Michal Sekletár
408c81f624
cryptsetup: reduce the chance that we will be OOM killed
...
cryptsetup introduced optional locking scheme that should serialize
unlocking keyslots which use memory hard key derivation
function (argon2). Using the serialization should prevent OOM situation
in early boot while unlocking encrypted volumes.
2019-11-27 18:34:36 +01:00