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 1842697 - gsd-subman does not recognize localized subscription statuses
Summary: gsd-subman does not recognize localized subscription statuses
Keywords:
Status: CLOSED DUPLICATE of bug 1796916
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gnome-settings-daemon
Version: 8.2
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: Carlos Garnacho
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-01 21:21 UTC by Carlos Santos
Modified: 2024-03-25 16:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-08 11:37:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Carlos Santos 2020-06-01 21:21:27 UTC
Description of problem:

When the system language is set to a non-English value, e.g. "es_ES.UTF-8" the
user always gets a "Please register your system to receive software updates."
notification upon login.

Version-Release number of selected component (if applicable):

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

How reproducible:

Always

Steps to Reproduce:

1. Set the system language to "es_ES.UTF-8"

   # echo 'LANG="es_ES.UTF-8"' > /etc/locale.conf
   # systemctl reboot

2. Register the system

   # subscription-manager register --auto-attach 

3. Start a GNOME session as an ordinary user.

Actual results:

A "Please register your system to receive software updates." notification is
shown.

Expected results:

The notification should be shown only is the system is not registered.

Additional info:

gsd-subman debug output when the system language is set to en_US.UTF-8:

$ /usr/libexec/gsd-subman -v
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.123: Starting subscription manager
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: proxy_port=
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: port=443
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: insecure=0
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: no_proxy=
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: prefix=/subscription
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: proxy_user=
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_password=
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_scheme=http
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: ssl_verify_depth=3
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_hostname=
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: hostname=subscription.rhsm.redhat.com
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: server_timeout=180
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:59.818: Entitlement.GetStatus JSON: {"status": "Current", "reasons": {}, "valid": true}
(gsd-subman:3201): subman-plugin-DEBUG: 17:39:59.818: Entitlement.GetStatus: Current
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.294: Products.ListInstalledProducts JSON: [["Red Hat Enterprise Linux for x86_64", "479", "8.2", "x86_64", "subscribed", [], "08/13/2019", "01/01/2022"]]
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: Syspurpose.GetSyspurpose JSON: {"role": "Red Hat Enterprise Linux Server", "service_level_agreement": "Self-Support", "usage": "Development/Test"}
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: Syspurpose.GetSyspurpose: Unknown
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: transisition from subscription status 'unknown' to 'valid'
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.298: Registered client at path /org/gnome/SessionManager/Client27
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.304: lost name, so exiting
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.304: Stopping subscription manager
(gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.306: Stopping subscription manager

gsd-subman debug output when the system language is set to es_ES.UTF-8:

$ /usr/libexec/gsd-subman -v
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:07.998: Starting subscription manager
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_user=
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_password=
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: prefix=/subscription
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: insecure=0
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_port=
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_scheme=http
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: no_proxy=
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: port=443
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: ssl_verify_depth=3
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: hostname=subscription.rhsm.redhat.com
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: server_timeout=180
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_hostname=
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:09.702: Entitlement.GetStatus JSON: {"status": "Actual", "reasons": {}, "valid": true}
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:09.703: Entitlement.GetStatus: Actual

(gsd-subman:4756): subman-plugin-WARNING **: 18:09:09.703: Unknown subscription status: Actual
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.794: Products.ListInstalledProducts JSON: [["Red Hat Enterprise Linux for x86_64", "479", "8.2", "x86_64", "subscribed", [], "10/10/19", "10/10/20"]]
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.795: Syspurpose.GetSyspurpose JSON: {}
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.795: Syspurpose.GetSyspurpose: Unknown
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.808: Registered client at path /org/gnome/SessionManager/Client34
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.809: lost name, so exiting
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.810: Stopping subscription manager
(gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.811: Stopping subscription manager

Comment 8 Tomas Popela 2021-01-08 11:37:39 UTC

*** This bug has been marked as a duplicate of bug 1796916 ***


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