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 864988

Summary: gnome-screensaver-command --time does not work and returns an error
Product: Red Hat Enterprise Linux 7 Reporter: Martin Simon <msimon>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: mclasen, tpelka, vbenes
Target Milestone: beta   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 3.6.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:07:27 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:

Description Martin Simon 2012-10-10 15:06:59 UTC
Description of problem:
gnome-screensaver-command -t (or --time in long form) does not work and return an error and result 0 seconds.

Version-Release number of selected component (if applicable):
gnome-screensaver-3.6.0-1

How reproducible:
100%

Steps to Reproduce:
1. Execute command "gnome-screensaver-command -l ; sleep 2 ; gnome-screensaver-command -t"
2. 
3.
  
Actual results:
(gnome-screensaver-command:16370): GLib-CRITICAL **: the GVariant format string `(u)' has a type of `(u)' but the given value has a type of `(s)'

(gnome-screensaver-command:16370): GLib-CRITICAL **: g_variant_get: assertion `valid_format_string (format_string, TRUE, value)' failed
The screensaver has been active for 0 seconds.


Expected results:
The screensaver has been active for 2 seconds.

Additional info:
There is another bug that gnome-screensaver-command -a|-d doesn't do anything, maybe the reason is similar.

Comment 1 Matthias Clasen 2012-10-12 23:50:01 UTC
Filed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=686064

Comment 2 Vladimir Benes 2013-01-16 15:55:49 UTC
[vbenes@dhcp131-78 ~]$ gnome-screensaver-command -l ; sleep 2 ; gnome-screensaver-command -t
The screensaver has been active for 2 seconds.

-> VERIFIED

Comment 3 Ludek Smid 2014-06-13 11:07:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.