Systemd/src/userdb
Filipe Brandenburger 41d1f469cf log: introduce log_parse_environment_cli() and log_setup_cli()
Presently, CLI utilities such as systemctl will check whether they have a tty
attached or not to decide whether to parse /proc/cmdline or EFI variable
SystemdOptions looking for systemd.log_* entries.

But this check will be misleading if these tools are being launched by a
daemon, such as a monitoring daemon or automation service that runs in
background.

Make log handling of CLI tools uniform by never checking /proc/cmdline or EFI
variables to determine the logging level.

Furthermore, introduce a new log_setup_cli() shortcut to set up common options
used by most command-line utilities.
2020-06-24 16:49:26 +02:00
..
meson.build userdbd: add userdbctl tool as client for userdbd 2020-01-15 15:28:42 +01:00
userdbctl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
userdbd-manager.c homed,userdb: don't use sockaddr_un_set_path() on fixed addresses 2020-03-02 15:56:30 +01:00
userdbd-manager.h
userdbd.c
userwork.c Merge pull request #16112 from poettering/nss-systemd-block-fix 2020-06-24 08:39:44 +02:00