Zbigniew Jędrzejewski-Szmek
8cf85bb575
Merge pull request #15281 from keszybz/functional-test-rework
...
Post-merge tweaks to the functional tests
2020-04-12 19:31:53 +02:00
Zbigniew Jędrzejewski-Szmek
92cad3f82d
Merge pull request #15406 from DaanDeMeyer/sd-bus-set-exec-docs
...
Add sd_bus_set_exec docs
2020-04-12 18:38:49 +02:00
Daan De Meyer
3415b0cc8a
sd-bus: Add sd_bus_set_exec docs
2020-04-12 17:24:01 +02:00
Vito Caputo
ea7cbf5bdd
home: switch to BusLocator-oriented helpers
...
Remove some unnecessary verbosity, largely mechanical change with
no functional difference.
2020-04-12 17:24:00 +02:00
Ross Lagerwall
964df69bd5
hwdb: Add accel orientation quirk for Geoflex laptop
...
Add a quirk to fix the accelerometer orientation on the Geoflex laptop
so that the display is upright rather than upside-down.
2020-04-12 17:16:55 +02:00
Zbigniew Jędrzejewski-Szmek
a1a11d5610
Merge pull request #15365 from poettering/remount-fs-pstore-fix
...
pid1: automatically generate systemd-remount-fs.service deps, plus enable systemd-pstore from sysinit.target
2020-04-12 17:16:07 +02:00
Zbigniew Jędrzejewski-Szmek
b15b4376af
Merge pull request #15405 from DaanDeMeyer/sd-bus-can-send-docs
...
Add sd_bus_can_send docs
2020-04-12 17:05:05 +02:00
Zbigniew Jędrzejewski-Szmek
e5a12c4961
Merge pull request #15399 from DaanDeMeyer/sd-bus-property-docs
...
sd_bus_get/set_property docs
2020-04-12 17:02:55 +02:00
Daan De Meyer
59a77060e0
sd-bus: Use pointer syntax for sd_bus_set_exec argv parameter
2020-04-11 21:57:28 +02:00
Daan De Meyer
3258aa750e
sd-bus: Add sd_bus_can_send docs
2020-04-11 21:25:39 +02:00
Daan De Meyer
535f1d0492
sd-bus: Fix sd_bus_close.xml line wrapping
2020-04-11 21:09:20 +02:00
Daan De Meyer
eb74579d09
meson: Exclude more deprecated functions from check-api-docs
2020-04-11 21:08:34 +02:00
Daan De Meyer
4b7f8d78de
sd-bus: Add sd_bus_get/set_property docs
2020-04-11 19:10:54 +02:00
Lennart Poettering
5fe63895b9
docs: introduce documentation category for user/group stuff
...
We have so many different docs on various facets of user/group stuff,
let's add our own category for it.
2020-04-11 18:03:24 +02:00
Zbigniew Jędrzejewski-Szmek
bba97c98b8
Merge pull request #15376 from poettering/homed-btrfs-subvol-luks
...
homed: when doing luks homedir with btrfs inside, place subvol at top of fs
2020-04-11 16:26:01 +02:00
Zbigniew Jędrzejewski-Szmek
2d9123cebd
Merge pull request #15377 from poettering/userdb-no-shadow
...
don't try to access shadow from logind
2020-04-11 16:08:33 +02:00
Zbigniew Jędrzejewski-Szmek
edc8dd26e2
Merge pull request #15392 from keszybz/flag-helper
...
Flag setting helper and some other minor cleanups
2020-04-11 16:05:11 +02:00
Daan De Meyer
7f782005e5
sd-bus: sd_bus_message_append fixes
2020-04-10 21:31:29 +02:00
Lennart Poettering
b05e122036
docs: add some documentation about hooking up userdb/homed to desktop environments
...
Prompted by some inquires from the GNOME camp. let's document this here,
since other DEs might be interested too.
2020-04-10 18:54:58 +02:00
Zbigniew Jędrzejewski-Szmek
0da965037e
Add yet another tiny helper to manipulate flags
2020-04-10 16:40:48 +02:00
Zbigniew Jędrzejewski-Szmek
7d6342e401
man: fix garbled paragraph in systemd.network(3)
...
The following message was emitted:
"Element term in namespace encountered in para, but no template matches."
2020-04-10 16:40:48 +02:00
Zbigniew Jędrzejewski-Szmek
16c347b3b6
busctl: wrap long lines
2020-04-10 16:40:48 +02:00
Zbigniew Jędrzejewski-Szmek
8722b297e5
busctl: use the pager everywhere
...
There is no reason to assume that the user doesn't want the pager
even if they are looking at xml output or such.
2020-04-10 16:40:29 +02:00
Lennart Poettering
562ffaca26
man: extend documentation of the suspend= switch of pam_systemd_home
...
As suggested on #15343 .
Fixes : #15343
2020-04-10 16:15:23 +02:00
Lennart Poettering
5a3033321a
docs: add brief document how to convert home directories to homed
2020-04-10 15:57:29 +02:00
nerdopolis
fa2cf64a91
login: Fix incorrect reporting of CanMultiSession=no on non-seat0 seats
2020-04-10 14:22:27 +02:00
Vito Caputo
df91e319a9
bus: add sd_bus_message_new_method_call() helper
...
adds BusLocator variant called bus_message_new_method_call()
2020-04-10 11:30:05 +02:00
Vito Caputo
a028ef14c9
bus: s/BusAddress/BusLocator/
...
Mechanical rename in response to
https://github.com/systemd/systemd/pull/15331#issuecomment-611472240
2020-04-10 09:16:43 +02:00
Anita Zhang
764bffee88
Merge pull request #15379 from poettering/homed-man-ref-add
...
man: reference pam_systemd_home man page from systemd-homed man page
2020-04-09 15:27:12 -07:00
Anita Zhang
dc487c9801
Merge pull request #15361 from mrc0mmand/yet-another-TEST-47-tweak
...
test: wait a bit after stopping the test service
2020-04-09 14:18:37 -07:00
Lennart Poettering
c46db6c0a2
bootctl: fix assert issue
...
Follow-up for b46c3e4913
2020-04-09 11:22:40 -07:00
Lennart Poettering
10eed9848d
docs: fix typo now → not
2020-04-09 19:26:36 +02:00
Lennart Poettering
b27cb676bf
docs: add missing dash
2020-04-09 19:24:44 +02:00
Lennart Poettering
9b3c65ed36
Merge pull request #15352 from poettering/user-group-name-valdity-rework
...
user/group name validity rework
2020-04-09 18:49:22 +02:00
Lennart Poettering
611cb82612
Merge pull request #15318 from fbuihuu/inherit-umask-for-user-units
...
pid1: by default make user units inherit their umask from the user ma…
2020-04-09 17:15:55 +02:00
Lennart Poettering
f58921bde3
Merge pull request #15332 from keszybz/coredump-filter
...
CoredumpFilter=
2020-04-09 17:15:26 +02:00
Lennart Poettering
f4cfdf07c8
man: reference pam_systemd_home man page from systemd-homed man page
...
They are very closely related after all.
2020-04-09 17:11:23 +02:00
Lennart Poettering
b062ca616c
logind: avoid shadow lookups when doing userdb client side
...
Let's not trigger MACs needlessly.
Ideally everybody would turn on userdb, but if people insist in not
doing so, then let's not attempt to open shadow.
It's a bit ugly to implement this, since shadow information is more than
just passwords (but accound validity metadata), and thus userdb's own
"privieleged" scheme is orthogonal to this, but let's still do this for
the client side.
Fixes : #15105
2020-04-09 14:38:14 +02:00
Lennart Poettering
ed30170ea0
userdb: when doing client-side NSS look-ups optionally avoid shadow look-ups
2020-04-09 14:38:02 +02:00
Lennart Poettering
a1792d1ada
pam-systemd-home: drop redundant newline
2020-04-09 14:37:50 +02:00
Jian-Hong Pan
e58cd39f63
hwdb: Fix kbd brightness keys on Acer Predator PH 315-52
...
Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH
315-52 laptop. So, add the quirk to correct key mappings.
2020-04-09 14:33:12 +02:00
Franck Bui
5e37d1930b
pid1: by default make user units inherit their umask from the user manager
...
This patch changes the way user managers set the default umask for the units it
manages.
Indeed one can expect that if user manager's umask is redefined through PAM
(via /etc/login.defs or pam_umask), all its children including the units it
spawns have their umask set to the new value.
Hence make user units inherit their umask value from their parent instead of
the hard coded value 0022 but allow them to override this value via their unit
file.
Note that reexecuting managers with 'systemctl daemon-reexec' after changing
UMask= has no effect. To take effect managers need to be restarted with
'systemct restart' instead. This behavior was already present before this
patch.
Fixes #6077 .
2020-04-09 14:17:07 +02:00
Zbigniew Jędrzejewski-Szmek
b94fb74bae
manager: also log at debug level failure to read oom_score_adj
2020-04-09 14:08:48 +02:00
Zbigniew Jędrzejewski-Szmek
ad21e542b2
manager: add CoredumpFilter= setting
...
Fixes #6685 .
2020-04-09 14:08:48 +02:00
Lennart Poettering
4d1f2c621f
Merge pull request #15345 from keszybz/systemctl-show-spaces
...
Show Environment= entries with spaces in systemctl
2020-04-09 13:55:35 +02:00
Zbigniew Jędrzejewski-Szmek
b34612bd5a
Add parser and printer for coredump filter mask
2020-04-09 12:51:41 +02:00
Lennart Poettering
0be94a199e
homed: when creating home directory as btrfs inside luks volume, place subvol inside it
...
When managing a home directory as LUKS image we currently place a
directory at the top that contains the actual home directory (so that
the home directory of the user won't be cluttered by lost-found and
suchlike). On btrfs let's make that a subvol though. This is a good idea
so that possibly later on we can make use of this for automatic history
management.
Fixes : #15121
2020-04-09 12:13:11 +02:00
Lennart Poettering
82c4440ddd
import: use our new btrfs_subvol_make_fallback() at two places
2020-04-09 12:13:08 +02:00
Lennart Poettering
d78a95d751
btrfs-util: define helper that creates a btrfs subvol if we can, and a directory as fallback
2020-04-09 12:12:52 +02:00
Luca Boccassi
a1db42eb0b
man: add missing varname around keywords in systemd.unit.xml
2020-04-09 11:55:07 +02:00