Comment 10 for bug 2015126

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 2015126] Re: systemd doesn't successfully enforce RuntimeMaxSec for gnome session

On Mon, Apr 17, 2023 at 01:30:11PM -0000, Nick Rosbrook wrote:
> Odd. Does `systemctl show --propoerty=RuntimeMaxUSec session-2.scope`
> show the same thing, or something different?

For a current session, which is session-93.scope, I see in the file:

RuntimeMaxSec=1h 38min 56s

And from systemctl:

# systemctl show --property=RuntimeMaxUSec session-93.scope
RuntimeMaxUSec=1h 38min 56s
#

So these match.