Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1904139

Summary: Automatic Logout Feature not working
Product: Red Hat Enterprise Linux 8 Reporter: yzheng <yzheng>
Component: gnome-settings-daemonAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Martin Krajnak <mkrajnak>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: ayadav, bberg, cgarnach, desktop-qa-list, jreznik, mboisver, mkrajnak, redhat, rstrode, takirby, tpelka, tpopela
Target Milestone: rcKeywords: FutureFeature, Triaged, ZStream
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-settings-daemon-3.32.0-15.el8 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1672998 Environment:
Last Closed: 2021-11-09 19:33:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1672998    
Bug Blocks:    
Deadline: 2021-08-09   

Comment 1 Martin Krajnak 2021-07-30 13:01:34 UTC
Hi Carlos, do we have time to fix this in 8.5 ? 

I can reproduce the same issue on 8.5.

gnome-settings-daemon-3.32.0-14.el8.x86_64

Steps to reproduce:
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type logout
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 30
$ Wait for 30 seconds

Actual results:
A notification is shown, saying that the user will be logged out, but nothing happens.

Comment 3 Benjamin Berg 2021-07-30 13:12:29 UTC
Upstream this was changed to simply suppress the notification. i.e. the feature is just completely disabled inside VMs.

Comment 5 Benjamin Berg 2021-07-30 13:21:37 UTC
Wait, I was looking at the wrong commit (related to "logout" being disabled in GDM).

This was fixed upstream by https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/c07ea84b54964ef95461047c53d358f4570e8808

Comment 6 Martin Krajnak 2021-08-11 07:40:47 UTC
gnome-settings-daemon-3.32.0-15.el8.x86_64

Comment 11 errata-xmlrpc 2021-11-09 19:33:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4381