[SOLVED] systemd suspend/hibernation

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] systemd suspend/hibernation

Postby hduff » Nov 16th, '25, 05:09

I recently did an upgrade and two fresh installations of Mageia 9 and began having unexplained, seemingly random black screens and unresponsive systems.

I'm assuming that at some update to the systemd software that controls sleep/hibernate, that behavior was enabled by default.

It seems that each sleep state can be disabled via an entry in /etc/systemd/sleep.conf.d/disable-sleep.conf. That directory and file did not exist on any of my machines, so I created them and entered the following in disable-sleep.conf:

Code: Select all
## https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Disable_sleep_Completely

[Sleep]

AllowSuspend=no

AllowHibernation=no

AllowHybridSleep=no

AllowSuspendThenHibernate=no


Problem solved for me. Since I'm not certain this is a bug, I have not reported it to Bugzilla.

I documented this in my blog at https://maximumhoyt.blogspot.com/2025/11/mageia-9-and-big-sleep.html
hduff
 
Posts: 24
Joined: May 30th, '13, 21:10

Re: [SOLVED] systemd suspend/hibernation

Postby morgano » Nov 16th, '25, 15:15

We need to investigate why it decides to sleep, or what it is.
Please report this on our bugzilla.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1533
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [SOLVED] systemd suspend/hibernation

Postby hduff » Nov 16th, '25, 21:07

Isn't Bugzilla reported by packages? I have no idea what package this stuff is in.

Is there a Bugzilla HOWTO with information on how to determine this?
hduff
 
Posts: 24
Joined: May 30th, '13, 21:10

Re: [SOLVED] systemd suspend/hibernation

Postby doktor5000 » Nov 16th, '25, 23:11

Hello, yes this is also explained in https://wiki.mageia.org/en/How_to_repor ... _a_New_Bug
where it shows how to find out the Source RPM - that would be systemd in your case.

But from your description that doesn't make much sense - systemd doesn't randomly decide to suspend or hibernate., and even less "frequently"
This sounds either like a hardware or a kernel issue, but you'd need to provide quite a bit more information about your hardware and some actual logs.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18156
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest