Bug 24466 - systemd autosuspends even in presence of active sessions
Summary: systemd autosuspends even in presence of active sessions
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Base system maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 11:38 CET by Chris Denice
Modified: 2019-03-05 12:05 CET (History)
1 user (show)

See Also:
Source RPM: systemd-241-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2019-03-05 11:38:02 CET
Description of problem:

In /etc/logind.conf, I have my server configured as:

IdleAction=suspend
IdleActionSec=10min

Such that, if users are disconnected, the server automatically suspend-to-ram.

It used to work fine, but with the new systemd, the system suspend even when users are connected by ssh and active:

For instance, while compiling something, after 10mn the system suspends. Remote sessions are there, loginctl returns them as

loginctl
SESSION  UID USER    SEAT TTY
    c12 1002 eatdirt      pts/1
    c13 1002 eatdirt      pts/2
     c7 1002 eatdirt      pts/0

3 sessions listed. But still, systemd puts the machine in suspend. I don't see any new options explaining this behaviour, so I suspect it is a bug.

Notice that the machine is running in runlevel 3.

Cheers,
Chris.
Chris Denice 2019-03-05 11:38:14 CET

Summary: systemd autosuspend even in presence of active sessions => systemd autosuspends even in presence of active sessions

Marja Van Waes 2019-03-05 12:05:06 CET

CC: (none) => marja11
Assignee: bugsquad => basesystem


Note You need to log in before you can comment on or make changes to this bug.