Systemd/src/shared
Zbigniew Jędrzejewski-Szmek 6d176522f5 Revert 5fdf2d51c2
This reverts 5fdf2d51c2, except for one improved
log message.

Fixes #10613.

Checking if resume= is configured is a good idea, but it turns out we cannot do
it reliably:
- the code only supported boot options with sd-boot, and it's not very widely
  used. This means that for most systemd we could only check the current
  commandline, not the next one.
- Various systems resume without, e.g. Debian has
  /etc/initramfs-tools/conf.d/resume in the initramfs.

Making those checks better would be possible with enough effort, but there'll
be always new systems that boot in a slightly different way and we would need
to keep adding new cases. Longer term, we want to rely on autodetecting the
resume partition, and then checks like this will not be necessary at all. It is
quite clear from the number of bug reports that the number of poeple impacted
by this is quite high now, so let's just drop this.
2018-11-21 15:04:22 +01:00
..
linux libbpf.h: add BPF_JMP_A macro 2018-10-09 09:46:36 -07:00
linux-3.13 Avoid strict DM interface version dependencies (#5519) 2017-03-02 19:11:37 +01:00
acl-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
acl-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
acpi-fpdt.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
acpi-fpdt.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
apparmor-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
apparmor-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ask-password-api.c Merge pull request #10594 from poettering/env-reload-fix 2018-11-07 12:49:13 +01:00
ask-password-api.h ask-password: check keyring in ask_password_tty and ask_password_agent 2018-10-31 18:26:58 +01:00
barrier.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
barrier.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
base-filesystem.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
base-filesystem.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bitmap.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
bitmap.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
blkid-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
boot-timestamps.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
boot-timestamps.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bootspec.c bootspec: introduce SYSTEMD_ESP_PATH for overriding where to look for the ESP (#10834) 2018-11-20 12:37:01 +09:00
bootspec.h bootspec: reduce number of functions we export 2018-10-08 21:40:44 +02:00
bpf-program.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
bpf-program.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
bus-unit-util.c bus-unit-util: use streq() instead of STR_IN_SET() 2018-10-18 13:46:45 +02:00
bus-unit-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
bus-util.c tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
bus-util.h bus-util: drop now-unused functions 2018-09-20 16:52:02 +02:00
calendarspec.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
calendarspec.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
cgroup-show.c fileio: automatically add NULL sentinel to parse_env_file() 2018-11-14 17:01:55 +01:00
cgroup-show.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
clean-ipc.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
clean-ipc.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
clock-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
clock-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
condition.c fileio: automatically add NULL sentinel to parse_env_file() 2018-11-14 17:01:55 +01:00
condition.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
conf-parser.c conf-parse: use strjoina() where appropriate 2018-11-17 08:47:27 +01:00
conf-parser.h core: remove JoinControllers= configuration setting 2018-11-16 14:54:13 +01:00
cpu-set-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
cpu-set-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
crypt-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
crypt-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
dev-setup.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dev-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dissect-image.c fileio: drop "newline" parameter for env file parsers 2018-11-14 17:01:54 +01:00
dissect-image.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dns-domain.c trivial: fix spelling in code comments 2018-09-30 21:32:33 +02:00
dns-domain.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
dropin.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
dropin.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
efivars.c fix build with -Defi=false 2018-11-16 21:51:47 +01:00
efivars.h efivars: let's add some validation of boot menu entry name syntax 2018-11-16 15:52:22 +01:00
enable-mempool.c mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
exec-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
exec-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
exit-status.c exit-status: introduce EXIT_EXCEPTION mapping to 255 2018-11-20 17:04:07 +01:00
exit-status.h exit-status: introduce EXIT_EXCEPTION mapping to 255 2018-11-20 17:04:07 +01:00
fdset.c do not try to allocate 0 bytes 2018-10-12 14:51:35 +02:00
fdset.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
fileio-label.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
fileio-label.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
firewall-util.c firewall-util: add an assert that we're not overwriting a buffer 2018-10-12 14:51:35 +02:00
firewall-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
format-table.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
format-table.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
fstab-util.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
fstab-util.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
generator.c log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
generator.h generators: introduce a common implementation for the log setup boilerplate 2018-11-20 10:57:50 +01:00
gpt.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
id128-print.c Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
id128-print.h systemd-id128: a new tool to print machine/boot/invocation/app-specific ids 2018-10-02 15:15:10 +02:00
ima-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ima-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
import-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
import-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
initreq.h tree-wide: use '#pragma once' for header guard 2018-08-30 06:10:43 +03:00
install-printf.c shared: add %g, %G specifiers for group / gid (#10368) 2018-10-13 17:26:48 +09:00
install-printf.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
install.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
install.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-importer.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
journal-importer.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
journal-util.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
journal-util.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
json-internal.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
json.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
json.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
libshared.sym tree-wide: tabs suck (#8527) 2018-03-23 15:21:35 +01:00
lockfile-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
lockfile-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
logs-show.c tree-wide: port over other candidates for namespace_fork() 2018-11-13 10:49:18 +01:00
logs-show.h logs-show: make highlight parameter const (#10311) 2018-10-09 16:43:47 +09:00
loop-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
loop-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-image.c fileio: drop "newline" parameter for env file parsers 2018-11-14 17:01:54 +01:00
machine-image.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-pool.c btrfs: log at debug log when we ignore errors 2018-09-24 19:47:42 +02:00
machine-pool.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
main-func.h Call mac_selinux_close() from main func macros, convert user-sessions and test-udev 2018-11-21 09:14:00 +01:00
meson.build Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
module-util.c shared/module-util: fix preexisting mixup with errno sign 2018-07-19 18:28:21 +02:00
module-util.h udev-builtin-kmod: use the generic module_load() function 2018-07-19 18:28:21 +02:00
nsflags.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
nsflags.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
os-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
os-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
output-mode.c journalctl: port JSON output mode to new JSON API 2018-10-11 17:25:27 +02:00
output-mode.h journalctl: port JSON output mode to new JSON API 2018-10-11 17:25:27 +02:00
pager.c Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
pager.h Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
path-lookup.c strv: wrap strv_new() in a macro so that NULL sentinel is implicit 2018-10-31 18:00:52 +01:00
path-lookup.h path-lookup: define explicit unit file directory for attached unit files 2018-10-08 18:49:45 +02:00
pretty-print.c Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
pretty-print.h Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
ptyfwd.c ptyfwd: when we can't copy the window size from caller, use $LINES and $COLUMNS 2018-10-09 10:28:42 +02:00
ptyfwd.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
reboot-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
reboot-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
resolve-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolve-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
rlimit-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
rlimit-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
seccomp-util.c seccomp: add some missing syscalls to filter sets 2018-11-16 16:10:57 +01:00
seccomp-util.h seccomp: reduce logging about failure to add syscall to seccomp 2018-09-24 17:21:09 +02:00
securebits-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
securebits-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
serialize.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
serialize.h core: rework serialization 2018-10-26 10:52:41 +02:00
sleep-config.c Revert 5fdf2d51c2 2018-11-21 15:04:22 +01:00
sleep-config.h shared/sleep-config: add switches to kill specific sleep modes 2018-10-08 18:21:00 +02:00
socket-protocol-list.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
socket-protocol-list.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
spawn-ask-password-agent.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-ask-password-agent.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-polkit-agent.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-polkit-agent.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
specifier.c shared: add %g, %G specifiers for group / gid (#10368) 2018-10-13 17:26:48 +09:00
specifier.h shared: add %g, %G specifiers for group / gid (#10368) 2018-10-13 17:26:48 +09:00
switch-root.c tree-wide: drop copyright lines for more authors 2018-06-22 16:39:45 +02:00
switch-root.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
sysctl-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
sysctl-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-tables.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
tests.c fileio: drop "newline" parameter for env file parsers 2018-11-14 17:01:54 +01:00
tests.h tests: add helper call have_namespaces() to test whether Linux namespaces are available 2018-10-24 19:40:24 +02:00
tomoyo-util.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
tomoyo-util.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
udev-util.c udev-util: read resolve_names from udev.conf 2018-11-16 09:21:58 +01:00
udev-util.h udev: also allow resolve_names= to be specified in udev.conf 2018-11-13 14:35:36 +01:00
uid-range.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
uid-range.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
utmp-wtmp.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
utmp-wtmp.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
verbs.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
verbs.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
vlan-util.c vlan-util: add assertions to parse_vlanid() 2018-11-04 00:31:46 +09:00
vlan-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
volatile-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
volatile-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
watchdog.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
watchdog.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
web-util.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
web-util.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
wireguard-netlink.h networkd: add support for wireguard interface type 2018-01-09 14:00:49 +01:00
xml.c Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00
xml.h Move various files that don't need to be in basic/ to shared/ 2018-11-20 07:27:37 +01:00