Talk:Elogind

Suggestion about Suspend to hibernate with elogind
When laptop is suspended to ram, it uses very little power, so when the battery runes out user is forced to fully boot up the machine.

There are two ways to prevent this situation: Hibernate with hybrid-sleep, or use  command with the real-time wake timer hook to allow system to wake up and perform hibernate to disk with.

Solution is similar to Sabayon's wiki https://wiki.sabayon.org/index.php?title=Auto_hibernate_after_suspend, but it fully uses  command so   becomes obsolete.

First You have to create folder  for sleep hooks, and/or   for shutdown hooks.

Then, in  place script:

You need to add executable permission with:  and reboot machine.

Kernel configuration needs updating
I can't find "[*] Simplified Mandatory Access Control Kernel Support" on my kernel 4.13.5 configuration.

Maybe it could be worth also specifying the actual CONFIG_* -variables too? Then tell to enable them using provided script (inside scripts -directory inside the kernel source directory). After applying the changes then users would need to run "make oldconfig". --Zucca (talk) 17:58, 24 October 2017 (UTC)


 * Sure. Can you update the article? The kernel configuration option is CONFIG_SECURITY_SMACK . Cateee is a wonderful site. Kind regards, --Maffblaster (talk) 19:03, 26 October 2017 (UTC)


 * Likely addressed by [//wiki.gentoo.org/index.php?title=Elogind&diff=prev&oldid=705846 this edit]: "Enable different security models" must be enabled to make the option visible. The contents of the  template are correct at least for the 4.14-series, so marking as done. — GuillermoDH (talk) 18:53, 8 December 2018 (UTC)