summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/log-generator.py
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-07-25 22:19:44 +0200
committerLennart Poettering <lennart@poettering.net>2018-07-26 11:01:29 +0200
commitedda44605f06a41fb86b7ab8128dcf99161d2344 (patch)
tree670e047476b33588a5c777268497293b9119fc3e /src/journal-remote/log-generator.py
parentsleep-config: eat up errors only after debug logging about them (diff)
downloadsystemd-edda44605f06a41fb86b7ab8128dcf99161d2344.tar.xz
systemd-edda44605f06a41fb86b7ab8128dcf99161d2344.zip
sleep: offer hibernation only if the kernel image still exists
This makes hibernation unavailable if the kernel image we are currently running was removed. This is supposed to be superficial protection against hibernating a system we can never return from because the kernel has been updated and the kernel we currently run is not available anymore. We look at a couple of places for the kernel, which should cover all distributions I know off. Should I have missed a path I am sure people will quickly notice and we can add more places to check. (or maybe convince those distros to stick their kernels at a standard place)
Diffstat (limited to 'src/journal-remote/log-generator.py')
0 files changed, 0 insertions, 0 deletions