On 5 Jul 2025 at 12:55, Patrick Dupre via users wrote:
To: Tim <ignored_mailbox@xxxxxxxxxxxx>
Subject: Re: sleep/suspend
Date sent: Sat, 5 Jul 2025 12:55:11 +0200
Send reply to: Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
From: Patrick Dupre via users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Copies to: Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>,
Patrick Dupre <pdupre@xxxxxxx>
>
> >
> > On Fri, 2025-07-04 at 11:31 +0200, Patrick Dupre via users wrote:
> > > Jul 4 11:01:41 Sappho systemd-logind[1868]: Error during inhibitor-
> > > delayed operation (already returned success to client): Unit
> > > sleep.target is masked.
> >
> > I don't know if that line in your log (with sleep.target is masked) in
> > it is pertinent.
> How could I turn it unmask?
>
> I see other comments on the net about NVidia being a
> > problem in this area. Do you use it?
>
> No
> But it has been working fine in the past
> I had to turn of because I used the laptop as a server.
> sudo -u gdm dbus-run-session gsettings list-recursively org.gnome.settings-daemon.plugins.power | grep sleep
> sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
>
> After that I did not test.
> It is only now that I need to turn it to suspend.
>
What does your /etc/systemd/sleep.conf have in it?
I don't want any of them in my machine, so have it modified to
disable? After an upgrade, had machine shutting down after even
though had ftp/http/https and BOINC running. Seems they changed
the default to get a better power rating for Lenova??
This might be the file you need to modify.
/etc/systemd# cat sleep.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See systemd-sleep.conf(5) for details.
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=
#SuspendEstimationSec=60min
>
>
>
> > --
> >
> > uname -rsvp
> > Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
> > (yes, this is the output from uname for this PC when I posted)
> >
> > Boilerplate: All unexpected mail to my mailbox is automatically deleted.
> > I will only get to see the messages that are posted to the mailing list.
> >
> >
> >
> --
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@xxxxxxxx
mailto:msetzerii@xxxxxxxxx
mailto:msetzerii@xxxxxxx
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue