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 867945 - Setting idle_delay key has no effect
Summary: Setting idle_delay key has no effect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-screensaver
Version: 6.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 835616 960054
TreeView+ depends on / blocked
 
Reported: 2012-10-18 15:55 UTC by Jiri Koten
Modified: 2018-12-02 18:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-10 14:27:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Koten 2012-10-18 15:55:44 UTC
Description of problem:
The screensaver idle time can be changed from Screensaver Preferences but cannot be changed by setting corresponding gconf key idle_delay.

This is specifically problematic with System wide mandatory profile as a user can still change idle time on its own.

Version-Release number of selected component (if applicable):
gnome-screensaver-2.28.3-18.el6

How reproducible:
100%

Steps to Reproduce:
1. $ gconftool-2 --type int --set /apps/gnome-screensaver/idle_delay 1
2. open Screensaver Preferences
  
Actual results:
Idle time is not changed to value set in idle_delay

Expected results:
Settings idle_delay key takes effect

Comment 1 RHEL Program Management 2012-12-14 07:29:16 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 Chad Vaughn 2013-03-21 18:52:39 UTC
I agree with the original requester.  This inability to lock down the idle_delay setting is a major flaw.  We are required to lock this setting to meet government security requirements.  This is critical and must be fixed in the next release.

Comment 3 Chad Vaughn 2013-03-21 18:54:07 UTC
I can confirm that this still exists in the latest Redhat Enterprise 6.4 release.

Comment 4 Dave Muth 2013-04-13 17:40:00 UTC
The bug still exists. I agree that it's a big problem for U.S. federal government computers and fed contractors.

Comment 7 Mark Hale 2013-04-29 16:21:01 UTC
I had the same problem (w/RHEL 6.4)and it is a documentation issue. I finally downloaded the gnome-screensaver SRPM and examined the source code to resolve the issue:

[root@elocoslinsec src]# grep -i gnome_session_dir  gnome-screensaver-preferences.c
#define GNOME_SESSION_DIR   "/desktop/gnome/session"
#define KEY_ACTIVATE_DELAY  GNOME_SESSION_DIR "/idle_delay"
[root@elocoslinsec src]#

As you can see, the idle_delay variable is stored in /desktop/gnome/session, not /apps/gnome-screensaver. The correct command to restrict users to a 15 minute timeout before screen lock is:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int --set /desktop/gnome/session/idle_delay 15 

I have verified that this works. I believe all that needs to be done is to update the RHEL "Security Guide" with this information. Thanks.

Comment 8 Chad Vaughn 2013-05-01 13:55:32 UTC
Thanks Mark!  I confirm that the fix using /desktop/gnome/session as you listed above does lock the idle delay. Thanks for clarifying.

Comment 10 Ray Strode [halfline] 2013-05-10 14:27:40 UTC
sounds like this issue is resolved, so closing. Please reopen if there is further engineering attention required.


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