elogind v246.9 Released
It has been a long while since I last could write a post like this, but now it is finally done and elogind v246.9 has been released.
I have already written in “Long Time No See!” about why my spare time was so extremely disrupted this year. And in the final weeks of 2020 my time is also extremely challanged by my day-job, so I am very happy that this release got out today.
Update from 2020-12-21: Unfortunately a small mistake crept into the release and caused elogind to prefer logging to kmsg again. Please use the elogind v246.9.1 Service Release instead, which prefers logging to syslog.
Changes and Additions
- Removed unused source files and headers.
- pam_elogind: Do not ask for ‘elogind-user-record’, nothing sets that up.
- suspend/hibernate: Read current config before acting. This way users can change their configurations and have them applied without the need to restart or SIGHUP elogind.
- Enable checking for BTRFS before calculating an offset to a swap_file before hibernating.
- Makefile: Allow parallel debug and release builds.
- cgroup controller detection has been enhanced to be more reliable.
- Makefile: Fully wrap meson/ninja to be compatible with the JetBrains CLion IDE.
- Support config files in .d directories: (#170, #172) Configuration loading as been enhanced to additionally search for configuration files (*.conf) in:
- /lib/elogind/logind.conf.d (if split-usr is set)
Additionally elogind now looks into the following paths for configuration files with [Sleep] configurations:
- /lib/elogind/sleep.conf.d (if split-usr is set)
Additional to the system shutdown skript directory, elogind will now also look into
/etc/elogind/system-shutdownfor shutdown hook skripts.
- Add functionality to try to lay present nvidia cards to sleep when suspending/hibernating (#140)
New logind.conf entry:
- Actually heed SuspendMode= settings in logind.conf
- Prefer syslog over kmsg, elogind is a daemon, not a kernel module.
- Make broadcasting of PowerOff/Suspend cancellation optional. (#175)
New logind.conf entryies:
- Fix two potential NULL pointer issues.
- Execute wakeup skripts in serial order. (#72)
- Fix creation of user runtime directories.
- Fix elogind double fork, so logging works as expected.
- Make privilege check on suspend/hibernate optional. (#167)
man logind.conf: Document sleep modes/states (#180)
(You might need to use
LC_ALL=Cto actually see this, as translations installed are for systemd logind.conf.)
A big thank you to all the people who helped me sorting things out, fixing bugs, committing pull requests and were especially patient this year.
Thank you all for making it possible for elogind v246.9 being released.
You all are awesome!